Failed to read schema document

This should cover W3C XML Schema, Relax NG and DTD related problems.
Posts: 2

Failed to read schema document

Tue Nov 20, 2007 11:08 am

Using Eclipse, I get this error:
[Xerces] schema_reference.4: Failed to read schema document ''

on this line in a xml document:

Code: Select all


The console reports:
XMLSchema XML Error Scanner - start scanning file:/C:/MBWorkspace/eclipse/utilityBatch/pom.xml with schema(s):

When I use another XML editor in Eclipse (Faces Config Editor), no error is reported.

Any suggestions?

Posts: 4144

Tue Nov 20, 2007 11:47 am


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 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 requires a proxy server you have to set it in Window -> Preferences -> oXygen -> HTTP/FTP/Proxy Configuration.

Posts: 2

Tue Nov 20, 2007 12:07 pm

Thanks, it was the (missing) proxy setting.

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 0 guests