Problems importing external namespace schema components
Posted: Tue Sep 13, 2005 9:39 pm
When importing "http://www.w3.org/2001/xml.xsd" into my schema, as shown in the following snippit:
<xs:schema targetNamespace="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" xml:lang="en">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
I get the following error:
W schema_reference.4: Failed to read schema document 'http://www.w3.org/2001/xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Am I missing something? Do I have some preference set incorrectly? I get the same error when trying to validate an xml file against my schema.
Please help me out!
Thanks in advance,
Ed
<xs:schema targetNamespace="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified" xml:lang="en">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
I get the following error:
W schema_reference.4: Failed to read schema document 'http://www.w3.org/2001/xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Am I missing something? Do I have some preference set incorrectly? I get the same error when trying to validate an xml file against my schema.
Please help me out!
Thanks in advance,
Ed