W3C home > Mailing lists > Public > public-tt@w3.org > January 2012

ISSUE-150 (foreign-namespace): TTML XSD vallidation and extension problem [DFXP 1.0]

From: Timed Text Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 30 Jan 2012 14:48:09 +0000
To: public-tt@w3.org
Message-Id: <E1RrsWf-0007JY-QT@tibor.w3.org>

ISSUE-150 (foreign-namespace): TTML XSD vallidation and extension problem [DFXP 1.0]

http://www.w3.org/AudioVideo/TT/tracker/issues/150

Raised by: Philippe Le Hégaret
On product: DFXP 1.0

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.
Received on Monday, 30 January 2012 14:48:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 January 2012 14:48:11 GMT