I'm working on reading XML which adheres to a particular schema (call
it main.xsd). In this schema there are wildcard elements, and the
expectation is that instance documents reference some other schema to
use these elements. The following is a line from main.xsd:
<xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"
processContents="skip"/>
Since main.xsd indicates that it is okay to skip the contents of this
field, I don't want Xerces to automatically attempt to load the
grammar for this wildcard's schema. The user of my app may not have
an active connection to the internet, and I don't want the validation
to fail as a result. I ship main.xsd with my application, and I want
Xerces to validate only against that schema, and not any others which
the instance document happens to list.
Is there a way to do this? I'd really appreciate any insight here.
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]