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

Re: XML schema error for tts:extent usage (ISSUE-149)

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 30 Jan 2012 09:40:06 -0500
To: Michael A Dolan <mdolan@newtbt.com>
Cc: public-tt@w3.org, Glenn Adams <glenn@xfsi.com>
Message-ID: <1327934406.17620.32.camel@chacal>
On Wed, 2012-01-25 at 14:02 -0800, Michael A Dolan wrote:
> I believe there is an error in the TTML XML schema regarding the use
> of tts:extent.
> TTML 1.0 says in the definition of extent that it is permitted on both
> <region> and <tt> elements:
> http://www.w3.org/TR/ttaf1-dfxp/#style-attribute-extent 
> However, the schema both forbids it on <tt>, and allows it on <body>:
> http://www.w3.org/TR/ttaf1-dfxp/#dfxp-schema-xsd 
> Since the prose takes precedence, I believe the schema should be
> corrected and brought into conformance.

Hi Michael,

thank you for forwarding this to the list.

Indeed, section 8.2.7 does list tts:extent applying to the tt element
[1], and appendix B is clear that the body of the specification takes
precedence over the schema [2].

Yet, B.1.2.6 [3] and B.2.2.5 [4] don't allow extent on the tt element.

The attributeGroup tt.attlist should read as follows:

  <xs:attributeGroup name="tt.attlist">
    <xs:attributeGroup ref="tt:Core.required.attrib.class"/>
    <xs:attributeGroup ref="ttp:Parameter.attrib.class"/>
    <xs:attribute ref="tts:extent"/>
And TTAF.tt.attlist should read

TTAF.tt.attlist &=

Hopefully, that should fix it.

Unless someone objects within a week, I'll publish an erratum  for
B.1.2.6 and B.2.2.5 at

Thank you,


[1] http://www.w3.org/TR/ttaf1-dfxp/#style-attribute-extent
[2] http://www.w3.org/TR/ttaf1-dfxp/#schemas
[3] http://www.w3.org/TR/ttaf1-dfxp/#rnc-dfxp-document-module
[4] http://www.w3.org/TR/ttaf1-dfxp/#xsd-dfxp-document-module
Received on Monday, 30 January 2012 14:40:14 UTC

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