Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/rater
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-01-31 16:00:20 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-04 10:22:46 -0500
commit11109d43612d924f80f74d0a4a847c7a102c6606 (patch)
treee772dd04bef3b5b7ee94cca2a91d8bac94a09508 /rater
parent36a3e348b6013798a85e30b443d3842c3849dbb7 (diff)
downloadtame-11109d43612d924f80f74d0a4a847c7a102c6606.tar.gz
tame-11109d43612d924f80f74d0a4a847c7a102c6606.tar.bz2
tame-11109d43612d924f80f74d0a4a847c7a102c6606.zip
core: Add _where-*_ query predicate templates
These provide a more pleasent abstraction than having to reference CMP_OP_* constants. * core/test/core/vector/interpolate.xml: {t:when=>t:where-eq}. * core/test/core/vector/table.xml: Likewise, but using the other variants where appropriate given the value of `@op'. * core/vector/interpolate.xml: Likewise. * core/vector/table.xml (_when_, _where_): Rename former to latter and provide deprecation warning. (_when-lt_, _when-lte_, _when-gt_, _when-gte_): Add abstractions. * src/current/rater.xsd: Permit template variable as tenplate name.
Diffstat (limited to 'rater')
-rw-r--r--rater/rater.xsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/rater/rater.xsd b/rater/rater.xsd
index cbc7473..f2ad50f 100644
--- a/rater/rater.xsd
+++ b/rater/rater.xsd
@@ -150,7 +150,7 @@
</xs:annotation>
<xs:restriction base="xs:string">
- <xs:pattern value="_[a-zA-Z0-9@\{\}-]+_" />
+ <xs:pattern value="_[a-zA-Z0-9@\{\}-]+_|@[a-z][a-zA-Z0-9]*@" />
</xs:restriction>
</xs:simpleType>