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]


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

TTML allows any foreign namespace attribute on the elements, such as

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 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:05 UTC