Skip to content

v12.2.2

Choose a tag to compare

@phax phax released this 26 Apr 19:30
· 61 commits to master since this release
  • Added new setting XMLWriterSettings.setUseExistingNamespaceDeclarations(boolean) to preserve existing xmlns: attributes from the DOM as-is during serialization instead of filtering and rebuilding them via the namespace stack. This is important for documents like XSLT where namespace prefixes are referenced inside attribute values (e.g. xs:boolean, u:gln) and would otherwise be silently dropped. Default is false (backwards compatible). Supported by both XMLWriter (W3C DOM) and MicroWriter (Micro DOM).
  • Added new IMicroReaderSettings accepting boolean bSaveNamespaceDeclarations to preserve xmlns: attributes as regular attributes on IMicroElement during SAX parsing. Use in combination with XMLWriterSettings.setUseExistingNamespaceDeclarations(true) for round-trip fidelity of namespace declarations.
  • Added new method MicroSAXHandler.setSaveNamespaceDeclarations(boolean) to control whether namespace declarations are stored as attributes during SAX parsing.
  • Removed OSGI bundling

Full Changelog: ph-commons-parent-pom-12.2.1...ph-commons-parent-pom-12.2.2