From acae35e2b972c65b6b698f3559049fc064b93fcd Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 20 Jun 2007 17:25:21 +0000 Subject: Checkpoint svn path=/scripts/PLAN; revision=678 --- scripts/PLAN | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'scripts/PLAN') diff --git a/scripts/PLAN b/scripts/PLAN index 13f9de93..ad9a60e0 100644 --- a/scripts/PLAN +++ b/scripts/PLAN @@ -27,3 +27,17 @@ Rough plan for initial prototype RE. 3) Whack (2) into something that does this over minimal HTTP. 4) [to be continued...] + + + +More fun with RelaxNG: + +The current schema is not very tight. See RelaxNG reference for how +to tighten it up if we think that'd be useful. RelaxNG supports +regexps, among other things: + + xsd:decimal {pattern = "1|1\.5"} + +RelaxNG (and XML Schema) regular expressions ("patterns") are +implicitly anchored, you need to prefix (and suffix?) with ".*" if you +want to match only part of the field. -- cgit v1.2.3