*/ Why when I call loadGrammar() and there is an problem with the schema
file there is no explicit error (or warning) propagated out?

For example, although a GC_ExistingGrammar exception was being thrown in
GrammarResolver it dissappears. It is only possible to check that the return
value is non-null.


*/ I'm adding a abstract complexType with the 1st call to
DOMBuilder::loadGrammar() under a base namespace. In a second call to
loadGrammar(), I add a derived complexType in a different namespace. The
<xsd:extension> refers to the base namespace.

Then when I parse my XML document which contains the an element of the
derived type (using xsi:type), in the SchemaValidator sourcecode its is
apparent that my "derived" type has no base .

Is this the correct behaviour? NOTE: I'm not using <xsd:include> or
<xsd:import> in the second schema, because I thought I would need to add an
entity resolver. Is there a better way to achieve what I'm trying to do?


Thanks for your help


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

Reply via email to