woodstox
woodstox copied to clipboard
The gold standard Stax XML API implementation. Now at Github.
Results
42
woodstox issues
Sort by
recently updated
recently updated
newest added
Project Loom Virtual Thread users want us to remove synchronized blocks. Woodstox has a few. https://github.com/search?q=repo%3AFasterXML%2Fwoodstox%20synchronized&type=code
Example: ```java var factory = XMLOutputFactory.newInstance(); factory.setProperty(WstxOutputProperties.P_OUTPUT_INVALID_CHAR_HANDLER, new ReplacingHandler('�')); try (var output = Files.newOutputStream(Paths.get("/tmp/test.xml"))) { XMLStreamWriter writer = factory.createXMLStreamWriter(output); writer.writeStartDocument(); writer.writeStartElement("Test"); writer.writeCData("Text content\u001A..."); writer.writeEndElement(); writer.writeEndDocument(); writer.close(); } ``` In this...