[vlc-devel] [vlc-commits] demux: ttml: probe without creating xmlreader
Devin Heitmueller
dheitmueller at kernellabs.com
Wed Oct 7 21:45:03 CEST 2015
> The XML tag if present cannot have preceding whitespace.
One other point probably worth making: while having whitespace before
the XML declaration technically makes the document "not well-formed",
it's not uncommon to see such documents in the wild (particularly when
the XML is generated by a script). That said, I don't know how
strictly you want to treat this - the XML spec says that any document
that doesn't pass the well-formedness test in *any* way should be
rejected and not even attempt to parsed.
Devin
--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
More information about the vlc-devel
mailing list