| From | Sent On | Attachments |
|---|---|---|
| Daniel Prager | Sep 26, 2002 7:48 pm | |
| Michael Fitzgerald | Sep 27, 2002 10:34 am | |
| Michael Fitzgerald | Sep 27, 2002 5:02 pm | |
| Michael Fitzgerald | Sep 28, 2002 11:31 pm | |
| Daniel Prager | Sep 29, 2002 6:41 pm | |
| Eddie Robertsson | Sep 29, 2002 7:16 pm | |
| Daniel Prager | Sep 29, 2002 8:37 pm | |
| Rick Jelliffe | Sep 29, 2002 9:11 pm | |
| Daniel Prager | Sep 29, 2002 9:41 pm | |
| Rick Jelliffe | Sep 30, 2002 2:04 am | |
| Yonekura Koji | Sep 30, 2002 3:28 am | |
| Robert Koberg | Oct 7, 2002 11:05 am | |
| didier demany | Oct 8, 2002 1:35 am | |
| Robert Koberg | Oct 8, 2002 1:45 am | |
| Robert Koberg | Oct 8, 2002 1:48 am | |
| Kohsuke KAWAGUCHI | Oct 8, 2002 6:32 am | |
| Robert Koberg | Oct 9, 2002 11:50 am | |
| MURATA Makoto (FAMILY Given) | Oct 9, 2002 5:26 pm | |
| Eddie Robertsson | Oct 14, 2002 4:24 pm | |
| Robert Koberg | Dec 3, 2002 6:52 am | |
| Michael Fitzgerald | Dec 3, 2002 8:43 am | |
| James Clark | Dec 3, 2002 8:57 pm | |
| Robert Koberg | Dec 4, 2002 3:09 am |
| Subject: | Re: [relax-ng-comment] Mixing patterns and (empty) tags | |
|---|---|---|
| From: | Rick Jelliffe (ric...@topologi.com) | |
| Date: | Sep 30, 2002 2:04:08 am | |
| List: | org.oasis-open.lists.relax-ng-comment | |
If someone has a Schematron implementation using the EXSLT extensions, then the regexp:match() function will be available.
For usage, see http://www.exslt.org/regexp/index.html
It should only take the addition of
xmlns:regexp="http://exslt.org/regular-expressions" extension-element-prefixes="regexp"
to the output XSLT template for Schematron, for anyone using an XSLT which provides the EXSLT extensions. I will add this to the open source templates.
What is the latest news on RELAX NG adding regular expression support of text?
Cheers Rick Jelliffe
----- Original Message ----- From: "Daniel Prager" <dani...@deakin.edu.au> To: "Rick Jelliffe" <ric...@topologi.com>; "relax-ng" <rela...@lists.oasis-open.org> Sent: Monday, September 30, 2002 2:39 PM Subject: Re: [relax-ng-comment] Mixing patterns and (empty) tags
Hi Rick
Thanks for your reply.
If you build in the idea that you may have a RELAX + Schematron combination from the beginning, you may find you can get the best of both worlds: a pair of nice relatively simple schemas.
Fair comment. In my case, however, co-occurrence constraints seem to enter in at a lower level of improtance, hence I've started (some time ago now!) with the grammar-based approaches.
However, I'd certainly have a good look at Schematron if it helped to resolve the current impasse. But from Eddie's suggestion it appears that it doesn't actually help owing to the absence of the ability to test against regular expressions. Is that correct?
The mythical RNG schema
<element name="example"> <interleave> <data type="token"> <param name="pattern">[a-zA-Z0-9]+</param> </data> <element name="a"> <empty/> </element> <element name="b"> <empty/> </element> <element name="c"> <empty/> </element> </interleave> </element>
would validate my original example (now corrected!)
<example> The quick <a/> brown fox <b/> <a/> jumped <c/> over the lazy dog 5 times <c/> </example>
but would reject
<example> An <a/> example <b/> <a/> containing characters such as *&^%$#. <c/> </example>
Can Schematron (possibly + RELAX NG) do better in this case?
Cheers
Daniel
---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl>





