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