Closed skynavga closed 5 years ago
This PR modifies the normative document syntax in only the following sense: by removing certain redundant lexical representations from (1) the @length
attribute of the data
and chunk
element types and (2) the @size
attribute of the isd:isd
element type. In particular, the following redundant lexical representations are excluded (for use by the above attributes) by this change:
-0
as a lexical alias for 0
+
as sign indicatorIn the editor's opinion, this change is of a zero or near-zero risk nature due to (1) the early state of industry roll-out of TTML2, particularly the features associated with these element types, and (2) the extremely unlikely possibility that any author has gone out of their way to use any of these redundant lexical representations when their canonical form (without any sign indicator) would suffice.
All other changes in this PR are of an editorial nature and have no conformance impact.
In general I prefer to make use of native XSD-defined types where possible, so in that sense changing from xsd:nonNegativeInteger
to xsd:string
seems like the wrong direction, but I'd like to discuss this to understand the motivation better. Adding an agenda label.
The Timed Text Working Group just discussed Eliminate inconsistent use of xsd:nonNegativeInteger (#983). w3c/ttml2#1135
.
@nigelmegitt in none of these cases is there an issue to file, since the value of the attribute only includes <non-negative-integer>
as a sub-component of its overall syntax, and its overall syntax requires use of xs:string
(or some more general type) due to the presence of other syntactic components; e.g., tts:zIndex
is typed as <integer>
which includes an optional sign component, tts:repeatCount
may have the value indefinite
, etc.
Closes #983.
In addition to eliminating the use of
xsd:nonNegativeInteger
, this PRxsd:positiveInteger
-0
,0
,+0
, etc.