src/current/calc.xsd (nameType): Permit numeric literals (bugfix)

* src/current/calc.xsd (nameType): Permit numeric literals.

These have already been permitted, but the XSD disallowed.
They worked in templates.
master
Mike Gerwitz 2018-01-29 13:10:13 -05:00
parent 854f87a60d
commit 00ce03ab25
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
<!-- we need to allow '@' since that's used in macros -->
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z_@{-][a-zA-Z0-9_@{}-]*" />
<xs:pattern value="#[0-9]+|[a-zA-Z_@{-][a-zA-Z0-9_@{}-]*" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>