gnodet commented on issue #1381:
URL: https://github.com/apache/maven-release/issues/1381#issuecomment-3491611059

   > I agree JDOM doesn't do round tripping. Things like attribute order are 
not part of the infoset and should not be depended on by code. What I'm worried 
about is how reliable this new library is. I have found a lot of bugs in a lot 
of "better" XML libraries over the years. Most were deep design flaws that 
assumed XML was something other than it actually is. JDOM is one of a handful 
that I am confident can process most real world XML documents without making 
mistakes. (There are extreme cases no current library I know of can handle.)
   > 
   > What problem are we actually trying to solve here?
   
   Round tripping is what we're trying to solve. XML Parsers are not meant to 
do round tripping and fail short in a lof of use cases. A lot of information is 
lost by traditional parsers which aim for performances and definitely not round 
tripping.


-- 
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]

Reply via email to