Christian,

Christian Geuer-Pollmann wrote:
> What I need from the parser (I had to search quite long for Xerces1 to find
> sufficient settings) is that it does validation as much as possible ;-))
> This means that if my DTD only defines one Attribute but I have many
> different Elements and Attributes in the XML instance, well, he validates
> that Attribute and is silent on all the other things that can't be
> validated.

If I understand you correctly -- you need a non-validating XML Parser?
If yes, you need to turn on / off same features that you used to set in
Xerces1:

[1] http://apache.org/xml/features/nonvalidating/load-external-dtd  -
set to false 
Note: I believe there is a bug and this feature does not always work
properly. I will investigate.

[2] http://xml.org/sax/features/validation - set to false

Do you need anything else? What kind of features you used to set in
Xerces1?

Thanks,
-- 
Elena Litani / IBM Toronto

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

Reply via email to