Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-29 13:10:13 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-29 13:13:56 -0500
commit00ce03ab252b7288505a1ce12875fbb69d86a62d (patch)
tree4d5adb22c6daab0393110a55a3a6dc371aa1dbc1
parent854f87a60d70a7294089a89ef284dc34fc6a938b (diff)
downloadtame-00ce03ab252b7288505a1ce12875fbb69d86a62d.tar.gz
tame-00ce03ab252b7288505a1ce12875fbb69d86a62d.tar.bz2
tame-00ce03ab252b7288505a1ce12875fbb69d86a62d.zip
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.
-rw-r--r--src/current/calc.xsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/current/calc.xsd b/src/current/calc.xsd
index ac1b49f..d728379 100644
--- a/src/current/calc.xsd
+++ b/src/current/calc.xsd
@@ -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>