Let's say there were errors in an XML message:
Well-Formed
<Person><Name>Attila</Name><ID>001</ID><Age>45</Age></Person>
Not Well-Formed
<Pxxxon><Name>Attila</9327><ID>001</ID><Age>45</Age></Person>
Are there any Java libraries or code to format the non-well formed XML message to:
<Pxxxon>
<Name>Attila</9327>
<ID>001</ID>
<Age>45</Age>
</Person>
I understand that current Java libraries only format valid XML messages to this prettified format.