Hi all,

A while ago we decided to defer the loading of schema grammars, until such
grammar is actually referenced by the instance document. This seemed to be
a good idea, but bug 10433 made me think more.

In the example attached to that bug (option 1), schema document B imports
A; the instance document has an xsi:schemaLocation for B; and the root
element is from namespace A. This is a perfectly valid document, but Xerces
reports an error saying "can't find declaration for the root element".

The reason is that we defer the loading of B, hence grammar A is not loaded
either.

Is there a solution to this while still deferring the loading of schema
grammars? Or do we have to abandon this idea?

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]


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

Reply via email to