in reply to Re^3: Vertical Tab (\x0b) in XML::LibXML
in thread Vertical Tab (\x0b) in XML::LibXML
So if you make two passes through libxml you get valid xml?No. I make one pass and use something (libxml in this case) to parse the result. If a result was produced, I'd expect the second tool to accept it.
Sanitizing input seems reasonable, but for such a complex data format, something like
would be handy.$text = 'XML::LibXML::Text'->removeInvalidChars($str, $version)
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom