W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Sep 2011 07:07:35 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R8RlP-0003R1-Gq@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:04 UTC