tame: rater.xsd: templateName: Permit multiple leading/trailing underscores

This is needed by TAMER's template desugaring.  The XSD is superceded by
`nir::parse`, but can't go away until TAMER fully supplants the XSLT-based
compiler.

...and after all this time, I still never got rid of the duplicate XSD.  Or
even recall which one is the duplicate.

DEV-13708
main
Mike Gerwitz 2023-04-12 14:54:00 -04:00
parent 2325eb1b2f
commit 5dd77e7b41
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="_[a-zA-Z0-9@\{\}-]+_|@[a-z][a-zA-Z0-9]*@" />
<xs:pattern value="_+[a-zA-Z0-9@\{\}-]+_+|@[a-z][a-zA-Z0-9]*@" />
</xs:restriction>
</xs:simpleType>

View File

@ -148,7 +148,7 @@
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="_[a-zA-Z0-9@\{\}-]+_|@[a-z][a-zA-Z0-9]*@" />
<xs:pattern value="_+[a-zA-Z0-9@\{\}-]+_+|@[a-z][a-zA-Z0-9]*@" />
</xs:restriction>
</xs:simpleType>