[vlc-devel] [vlc-commits] demux: ttml: probe without creating xmlreader
Francois Cartegnie
fcvlcdev at free.fr
Fri Oct 9 20:33:44 CEST 2015
Le 07/10/2015 21:45, Devin Heitmueller a écrit :
>> 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.
Ok, maybe we can use our libxml on incomplete documents (peek).
The previously reverted code was broken.
Francois
More information about the vlc-devel
mailing list