"GUPTA,SUMIT (HP-NewJersey,ex2)" wrote:
> 
> Hi, I am trying to dynamically validate an xml document against either a
> referenced schema or a dtd, 

Read documentation for features:
http://xml.apache.org/xerces2-j/features.html.

To validate against one or the other you must turn on both features: 
http://xml.org/sax/features/validation
http://apache.org/xml/features/validation/schema


-- 
Elena Litani / IBM Toronto

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

Reply via email to