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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
