[ttml2] Improve interoperability of non-negative-real and xs:decimal.

skynavga has just created a new issue for https://github.com/w3c/ttml2:

== Improve interoperability of non-negative-real and xs:decimal. ==
As presently defined in ยง10.3.27, `non-negative-real` includes `.0` and `0.0`, but does not include `0.` This creates an interoperability problem with the use of `xs:decimal` [1] in the schema for `tta:gain` and `tta:pan`. There is no reason we should exclude `0.`, so I propose we change the definition of `non-negative-real` to the following:

```
non-negative-real
  : <digit>* "." <digit>+
  | <digit>+ "."
```

[1] https://www.w3.org/TR/xmlschema-2/#decimal


Please view or discuss this issue at https://github.com/w3c/ttml2/issues/943 using your GitHub account

Received on Monday, 30 July 2018 05:33:09 UTC