(Apologies for previously posting this to the dev list rather than the user
list).

Is there a way to set the
"http://apache.org/xml/features/honour-all-schemaLocations"; feature on the
underlying parser used by an XMLGrammarLoader (or another way to achieve an
equivalent outcome)?

I'm using the XMLGrammarLoader for programmatic validation of XML schemas
but its failing to pick up cases where multiple import statements are
included and a later import statement has an incorrect path (but a former
import has already bound components to that namespace via a nested import -
with a correct path).

Or is there a better way to programmatically validate schemas (in the
absence of an instance document) in Xerces-J (and still assert the
honour-all-schemaLocations feature behaviour)?

Regards,
Nick.





--------------------------------------------------------------------
Important Notice: If you have received this email by mistake, please advise
the sender and delete the message and attachments immediately.  This email,
including attachments, may contain confidential, sensitive, legally privileged
and/or copyright information.  Any review, retransmission, dissemination
or other use of this information by persons or entities other than the
intended recipient is prohibited.  DIAC respects your privacy and has
obligations under the Privacy Act 1988.  The official departmental privacy
policy can be viewed on the department's website at www.immi.gov.au.  See:
http://www.immi.gov.au/functional/privacy.htm


---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to