1.2.0 (2025-01-27)
Features Added
- Added APIs to
XmlReader
that may reduceQName
, and other allocations, depending on the XML implementation.
XmlElementConsumer
and usage withXmlReader.processNextElement(XmlElementConsumer)
allow for processing an element
without usingQName
.XmlReader.elementNameMathes(String)
andXmlReader.elementNameMatches(String, String)
allow
for checking the current element name without usingQName
.XmlReader.getElementLocalName()
and
XmlReader.getElementNamespaceUri()
allow for inspecting the current element name and namespace without using
QName
. Depending on the implementation, using these methods may reduce allocations and improve performance.
Other Changes
- Shaded Aalto XML 1.3.3 into
azure-xml
and updatedXmlReader
andXmlWriter
to use that implementation by default
if theXMLInputFactory
orXMLOutputFactory
newInstance
returned the default JDK implementation.