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

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 UTC