DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4459>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4459

Schema validator cannot find included schema documents

           Summary: Schema validator cannot find included schema documents
           Product: Xerces-J
           Version: 1.4.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


[xmlvalidate] [Warning] :0:0: File "file:C:/Resin/resin-
2.0.2/webapps/yatranet/xml/cognizer/cognizer.xsd" not found.

This warning was reported by xerces (running under ant). Xerces parser
did not find cognizer.xsd, because "cognizer.xsd" was included
using a relative URL in another schea document. Xerces resolved this to
the wrong location (shon above). The actual location of this file is:

file:C:/Resin/resin-2.0.2/webapps/yatranet/xml/xsd/cognizer/cognizer.xsd"

The graph below shows the URI references between my XML document and
my two schema documents:

xml/cognizer/airRuleset.xml --> ../../xsd/cognizer/ruleset.xsd --> cognizer.xsd

Xerces did resolve the first URI reference ok, but it tried to resolve the 
second URI relative to airRuleset.xml. It should be resolved relative to 
ruleset.xsd instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to