github Azure/azure-sdk-for-java azure-xml_1.2.0

latest releases: azure-monitor-opentelemetry-autoconfigure_1.0.0-beta.2, azure-sdk-bom_1.2.31, core_1.0.0-beta.3...
3 days ago

1.2.0 (2025-01-27)

Features Added

  • Added APIs to XmlReader that may reduce QName, and other allocations, depending on the XML implementation.
    XmlElementConsumer and usage with XmlReader.processNextElement(XmlElementConsumer) allow for processing an element
    without using QName. XmlReader.elementNameMathes(String) and XmlReader.elementNameMatches(String, String) allow
    for checking the current element name without using QName. 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 updated XmlReader and XmlWriter to use that implementation by default
    if the XMLInputFactory or XMLOutputFactory newInstance returned the default JDK implementation.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.