[Bug 13995] Don't check Content-Type for <track>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13995

--- Comment #20 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2011-09-27 07:07:32 UTC ---
(In reply to comment #19)
> > > What's the signature for TTML?
> > 
> > It's XML, we all know that sniffing it is not a good idea.
> 
> I'm at a loss as to how to make this work then. Could you elaborate on how you
> want this to work?

So, the XML Media Type registration [1] reckons you can use the string "<?xml"
to identify it as a XML document.

Further, the TTML spec [2] indicates in detail how to identify a TTML document
(probably a simple approximation is to see if it contains some form of
"http://www.w3.org/ns/ttml" in a namespace declaration).

In any case - I'd leave these sniffing details to the browser that wants to
implement support for TTML or just point to [2].

[1] http://tools.ietf.org/html/rfc3023
[2] http://www.w3.org/TR/ttaf1-dfxp/#doctypes

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 27 September 2011 07:07:41 UTC