I have found that the xmldsig-core-schema.xsd file that I was using in my application has a header that caused HTTP request to w3.org during marshaller instantiation, I removed this header and now I'm wondering if it can have any effect in the validation of XML documents. I'm familiar with the use of DOCTYPES on HTML or XML documents, but what is the purpose of it on an XSD file?
The xsd is available at: http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
The snippet in question is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
<!-- Schema for XML Signatures ...
-->
<schema...