Failed to read schema document
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 2
- Joined: Tue Nov 20, 2007 11:02 am
Failed to read schema document
Using Eclipse, I get this error:
The console reports:
Any suggestions?
Chris.
on this line in a xml document:[Xerces] schema_reference.4: Failed to read schema document 'http://maven.apache.org/maven-v4_0_0.xsd'
Code: Select all
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
When I use another XML editor in Eclipse (Faces Config Editor), no error is reported.XMLSchema XML Error Scanner - start scanning file:/C:/MBWorkspace/eclipse/utilityBatch/pom.xml with schema(s): http://maven.apache.org/maven-v4_0_0.xsd
Any suggestions?
Chris.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I think no error is reported in the XML editor of the other plugin because you did not validate the opened file file:/C:/MBWorkspace/eclipse/utilityBatch/pom.xml in that plugin or because the connection to http://maven.apache.org/maven-v4_0_0.xsd for the validation operation requires a proxy server which is set correctly for that plugin but is not set correctly in the oXygen plugin. The oXygen plugin reports the error when the XML file is validated either when you run the Validate Document action or when the Validate as you type feature validates the file when you open the file or modify it. The Validate as you type feature is enabled in Window -> Preferences -> oXygen -> Editor -> Document Checking. If connecting to http://maven.apache.org/maven-v4_0_0.xsd requires a proxy server you have to set it in Window -> Preferences -> oXygen -> HTTP/FTP/Proxy Configuration.
Regards,
Sorin
I think no error is reported in the XML editor of the other plugin because you did not validate the opened file file:/C:/MBWorkspace/eclipse/utilityBatch/pom.xml in that plugin or because the connection to http://maven.apache.org/maven-v4_0_0.xsd for the validation operation requires a proxy server which is set correctly for that plugin but is not set correctly in the oXygen plugin. The oXygen plugin reports the error when the XML file is validated either when you run the Validate Document action or when the Validate as you type feature validates the file when you open the file or modify it. The Validate as you type feature is enabled in Window -> Preferences -> oXygen -> Editor -> Document Checking. If connecting to http://maven.apache.org/maven-v4_0_0.xsd requires a proxy server you have to set it in Window -> Preferences -> oXygen -> HTTP/FTP/Proxy Configuration.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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