ISSUE-150: TTML XSD vallidation and extension problem

foreign-namespace

TTML XSD vallidation and extension problem

State:
CLOSED
Product:
TTML 1.0
Raised by:
Philippe Le Hégaret
Opened on:
2012-01-30
Description:
TTML allows any foreign namespace attribute on the elements, such as
http://www.w3.org/TR/ttaf1-dfxp/#document-structure-vocabulary-tt

However, the schema is constructed to reject all such attributes.

For example, the following XML would be rejected, even though it is clearly permitted by the Recommendation:
<p cff:forcedDisplayMode=”true”>translated from Klingon</p>

As a result, those working on derived schemas from TTML that add attributes to the existing elements are forced to do unusual things in their schemas to work around this and/or create schemas from scratch. And such instance documents cannot be validated against TTML since they are (wrongly) rejected.

The obvious way to correct this would be to add anyAttribute=”##other” to the element definitions, however, this would then enable false validations of non-default TT namespace elements (e.g. ttm: ), which is undesirable.

Related Actions Items:
No related actions
Related emails:
  1. Re: TTML XSD vallidation and extension problem (ISSUE-150) (from glenn@skynav.com on 2012-02-10)
  2. Re: TTML XSD vallidation and extension problem (ISSUE-150) (from plh@w3.org on 2012-02-09)
  3. [minutes] 20120209 Timed Text Working Group (from plh@w3.org on 2012-02-09)
  4. ISSUE-150 (foreign-namespace): TTML XSD vallidation and extension problem [DFXP 1.0] (from sysbot+tracker@w3.org on 2012-01-30)

Related notes:

Raised on 2012-01-30 at
http://lists.w3.org/Archives/Public/public-tt/2012Jan/0013.html

Philippe Le Hégaret, 30 Jan 2012, 14:50:21

Display change log ATOM feed


Sean Hayes <sean.hayes@microsoft.com>, Chair, Philippe Le Hégaret <plh@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.299 2013-01-31 15:59:14 brett Exp $