You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Arun Yadav <Ar...@Sun.COM> on 2001/12/06 16:24:38 UTC
Sax feature should throw SAXNotSupportedException.
Hi
According to latest SAX doc from
http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html, when
external-general-entities and external-parameter-entities should be always true
when validation feature is true.
<snip>
If the application attempts to set a feature state or property value that
reader cannot support at that time or attempts to modify a feature or property
when it is read only, reader throws a SAXNotSupportedException.
</snip>
Right now, we can set feature
http://xml.org/sax/features/external-general-entities to true even if we have
http://xml.org/sax/features/validation to false. It should throw the
SAXNotSupportedException as per SAX specification.
what's ur view/opinion ?
Thanks
Arun
Sun Microsystem, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org