Edwin Goei wrote:
> > Currently if validation feature is set to true and document has no
> > grammar, the parser reports validation error.
> 
> Yes that is true.  However, if the doc only has an XSD grammar, then no
> validation error is reported which does not conform to the XML REC.

Are you talking about JAXP implementation? 
If you try Xerces samples, the behavior of the parser is correct: if
document does not have DTD grammar and validation feature is set to true
we report errors (by default schema validation is set to false).

--
Elena Litani / IBM Toronto

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

Reply via email to