I have noticed the recover flag...
I don't think the recover option is meant to fix/ignore arbitrary garbage input. The docs say (emphasis added):
"The recover mode helps to recover documents that are almost well-formed very efficiently. That is for example a document that forgets to close the document tag (or any other tag inside the document). The recover mode of XML::LibXML has problems restoring documents that are more like well balanced chunks."
In reply to Re: repairing a broken xml using LibXML
by almut
in thread repairing a broken xml using LibXML
by deadpickle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |