stevedlawrence opened a new pull request, #1646: URL: https://github.com/apache/daffodil/pull/1646
The stringAsXml implementation currently converts both `<foo/>` and `<foo></foo>` XML strings to `<foo/>`. Although stringAsXml does not guarantee the resulting XML will be always be the same, we do try to keep keep the result as close to the original where reasonable. By casting the existing XMLReader/Writer classes to XMLStreamReader2 and XMLStreamWriter2, we can used additional APIs to detect empty elements and write them as empty, with all other elements written with full endings. DAFFODIL-3074 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
