Support `CharacterEscapes` using Stax (Woodstox/Aalto) functionality
See original GitHub issueCurrently CharacterEscapes
system does not work for XML module, mostly because module has no direct control over output escaping. However, Stax2 extension that Woodstox (and Aalto I think?) implements does have similar functionality, using properties:
- P_TEXT_ESCAPER (for cdata)
- P_ATTR_VALUE_ESCAPER (for attribute values)
so it would be great to use that functionality to support needs for customized escapes, if at all possible. It is hard to say for sure whether that would work, but it should be easy enough to check.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Configuring Woodstox XML parser: basic Stax properties
It implements both main incremental parsing APIs — Stax AND SAX — and offers full XML feature support, conformance, similar to Apache Xerces...
Read more >Bountysource
Support `CharacterEscapes` using Stax (Woodstox/Aalto) functionality. ... Help and Information. Frequently Asked Questions · Bugs and Feature Requests ...
Read more >Escaping Quotes Using Jacksondataformatxml - ADocLib
Best Java code snippets using com.fasterxml.jackson.dataformat.csv. ... limited by time Support CharacterEscapes using Stax Woodstox/Aalto functionality.
Read more >Using StAX - Streaming API for XML
See Java Language Changes for a summary of updated language features in Java SE 9 and ... In general, StAX programmers create XML...
Read more >Jackson Work in Progress - FasterXML/jackson-future-ideas ...
Rewrite Property introspection (esp. to help with Creator properties) ... Support CharacterEscapes using Stax (Woodstox/Aalto) functionality ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is ridiculous,
'
and"
should have been escaped automatically by default. Workaround is to implement EscapingWriterFactory:https://stackoverflow.com/questions/56799368/escaping-quotes-using-jackson-dataformat-xml
Excellent! Thank you for sharing this.