[vlc-devel] [vlc-commits] demux: ttml: probe without creating xmlreader

Jean-Baptiste Kempf jb at videolan.org
Wed Oct 7 23:34:28 CEST 2015

On 07 Oct, Devin Heitmueller wrote :
> > 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

That's my point, I believe we should test the presence in the first 30
characters or so.

With my kindest regards,

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list