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. [minutes] Timed Text 20130725 (from plh@w3.org on 2013-07-25)
  2. TTML Agenda for 25/07/13 (from Sean.Hayes@microsoft.com on 2013-07-25)
  3. Re: ISSUE-257: Interpretation of percentage tts:fontSize on root (tt) element (from tai@irt.de on 2013-07-22)
  4. RE: ISSUE-257: Interpretation of percentage tts:fontSize on root (tt) element (from mdolan@newtbt.com on 2013-07-22)
  5. Re: ISSUE-257: Interpretation of percentage tts:fontSize on root (tt) element (from tai@irt.de on 2013-07-22)
  6. Re: ISSUE-257: Interpretation of percentage tts:fontSize on root (tt) element (from glenn@skynav.com on 2013-07-16)
  7. Re: TTML XSD vallidation and extension problem (ISSUE-150) (from glenn@skynav.com on 2012-02-10)
  8. Re: TTML XSD vallidation and extension problem (ISSUE-150) (from plh@w3.org on 2012-02-09)
  9. [minutes] 20120209 Timed Text Working Group (from plh@w3.org on 2012-02-09)
  10. 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

Changelog:

Created issue 'TTML XSD vallidation and extension problem' nickname foreign-namespace owned by Philippe Le Hégaret on product DFXP 1.0, 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.

' non-public

Philippe Le Hégaret, 30 Jan 2012, 14:48:09

Status changed to 'closed'

Philippe Le Hégaret, 9 Feb 2012, 21:38:02


David Singer <singer@apple.com>, Nigel Megitt <nigel.megitt@bbc.co.uk>, Chairs, Thierry Michel <tmichel@w3.org>, Philippe Le Hégaret <plh@w3.org>, Staff Contacts
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.325 2014-09-10 21:42:02 ted Exp $