v12.2.2
·
61 commits
to master
since this release
- Added new setting
XMLWriterSettings.setUseExistingNamespaceDeclarations(boolean)to preserve existingxmlns: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 isfalse(backwards compatible). Supported by bothXMLWriter(W3C DOM) andMicroWriter(Micro DOM). - Added new
IMicroReaderSettingsacceptingboolean bSaveNamespaceDeclarationsto preservexmlns:attributes as regular attributes onIMicroElementduring SAX parsing. Use in combination withXMLWriterSettings.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