W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Path in schema include element

From: <murali.char@axa-sunlife.co.uk>
Date: Tue, 29 Jan 2002 07:32:18 -0500 (EST)
To: xmlschema-dev@w3.org
Message-ID: <80256B50.0043160D.00@>

I am using xerces 1.4.4 for java to validate xml docs against a schema. My code
and xml and schemas lie in different directories.
Say the code lies in c:\dev and the xml is in c:\xml and schemas in
c:\myschemas. The schema  a.xsd includes another schema - b.xsd that resides in
the same directory but Xerces throws an warning:

[Warning] :0:0: File "file:///c:/dev/b.xsd" not found.

I have tried registering an entity resolver but the parser invokes it to resolve
the parent file a.xsd only.

Does anyone have any suggestions to resolve this?.

Thanks in advance

The contents and any attachments of this electronic mail message are
confidential and intended only for the named addressees. 

Dissemination, forwarding, publication or other use of the message 
or attachments by any unauthorised person is strictly prohibited.
Unless stated to the contrary, any opinions expressed in this message
are personal and may not be attributed to AXA Sun Life or any member
of the AXA Group of Companies.

Internet e-mails are not necessarily secure. AXA Group does not accept
responsibility for changes made to this message after it was sent.
Received on Tuesday, 29 January 2002 18:25:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC