-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.2.0
-
1.2.0
-
sparc
-
solaris_8
tag info: xalan-j_2_2_d11, Xerces-J_2_0_0_beta3
There are 2 issues
1. According to latest SAX doc from http://www.saxproject.org/, when external-general-entities should be always true when validating. In the test case, I successfully set to false after I set validating to true.
2. This one I am not quite sure. From the original doc, http://www.megginson.com/SAX/Java/features.html, it has a access field specify that external-general-entities and external-parameter-entites are read-only when parsing. In the latest doc from saxproject.org, it doesn't have access field. So I am not sure whether I can set it at all (ie. when I try to setFeature(external-general-entities), it should throw SAXNotSupportedException)
See attachment to reproduce
There are 2 issues
1. According to latest SAX doc from http://www.saxproject.org/, when external-general-entities should be always true when validating. In the test case, I successfully set to false after I set validating to true.
2. This one I am not quite sure. From the original doc, http://www.megginson.com/SAX/Java/features.html, it has a access field specify that external-general-entities and external-parameter-entites are read-only when parsing. In the latest doc from saxproject.org, it doesn't have access field. So I am not sure whether I can set it at all (ie. when I try to setFeature(external-general-entities), it should throw SAXNotSupportedException)
See attachment to reproduce