Affects Version/s: 2.6.0
Fix Version/s: None
Environment:RedHat Linux, kernel 2.4.20-18.9, xerces-c_2_6_0-redhat_80-gcc_32
According to the documentation (SAX2 Programming Guide and Xerces-C++ Documentation), the setFeature() method of SAX2XMLReader is supposed to handle changes of the feature "http://apache.org/xml/features/validation/use-cachedGrammarInParse" as a no-op. Instead of doing so, it throws an exception, even if the feature is set to its current (valid) value.
In my eyes, setFeature() should throw a SAXNotSupportedException only if the user tries to set the feature to a value different from its current value, and do nothing otherwise.
If the implemented behavior is intended, the documentation should be updated accordingly.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 39562 ]||Default workflow, editable Closed status [ 12574437 ]|
|Workflow||Default workflow, editable Closed status [ 12574437 ]||jira [ 12597335 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|1h 41m||1||cargilld||21/Jan/05 02:37|