Problems importing external namespace schema components
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 2
- Joined: Tue Sep 13, 2005 9:17 pm
Problems importing external namespace schema components
Post by Ed Abrahamson »
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
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Ed,
The schema works ok for me. Probably you do not have a direct internet connection and oXygen cannot access the remote schema file. You can try to open the http://www.w3.org/2001/xml.xsd in the editor to see if that is working. In any case, you can set up an XML catalog to resolve the schema to a local copy. Also you can use the Options->Prefereces to / Proxy Configuration to specify your proxy settings to access the internet from oXygen.
Best Regards,
George
The schema works ok for me. Probably you do not have a direct internet connection and oXygen cannot access the remote schema file. You can try to open the http://www.w3.org/2001/xml.xsd in the editor to see if that is working. In any case, you can set up an XML catalog to resolve the schema to a local copy. Also you can use the Options->Prefereces to / Proxy Configuration to specify your proxy settings to access the internet from oXygen.
Best Regards,
George
-
- Posts: 2
- Joined: Tue Sep 13, 2005 9:17 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service