-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 8, 26
-
Component/s: xml
-
generic
A DESCRIPTION OF THE PROBLEM :
XMLReaderFactory.createXMLReader() is deprecated and namespace aware enabled by default, if replace to SAXParserFactory.newDefaultInstance().newSAXParser().getXMLReader() namespace aware was disabled, why?
According to the document
http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description
Feature by ID "http://xml.org/sax/features/namespaces" must be enabled by default but javadoc on "setNamespaceAware" in "javax.xml.parsers.SAXParserFactory" match:
"Specifies that the parser produced by this code will provide support for XML namespaces. By default the value of this is set to false."
FREQUENCY :
ALWAYS
XMLReaderFactory.createXMLReader() is deprecated and namespace aware enabled by default, if replace to SAXParserFactory.newDefaultInstance().newSAXParser().getXMLReader() namespace aware was disabled, why?
According to the document
http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description
Feature by ID "http://xml.org/sax/features/namespaces" must be enabled by default but javadoc on "setNamespaceAware" in "javax.xml.parsers.SAXParserFactory" match:
"Specifies that the parser produced by this code will provide support for XML namespaces. By default the value of this is set to false."
FREQUENCY :
ALWAYS