[relaxng-user] Latest proposal for smart regexes in RELAX NG

jcowan at reutershealth.com jcowan at reutershealth.com
Thu May 6 13:49:20 ICT 2004


David Tolpin scripsit:

> No. This is so always. Because the locale only matters when documents
> are read or written. When documents are processed (validated) or
> matched against Unicode regular expressions, the encoding is always
> Unicode.

In XML Schema regexes, yes; not in all tools using regexes today.

> That's what I am saying; exactly for the same matter there is no
> string-regex-ish formulation for XML, there shouldn't be xml-regex-ish
> formulation for strings.

Regular expressions aren't strings: they have nesting.

> Is XML syntax for XML is a hangover from the past that ought to
> be discarded in favour of the compact syntax?

No.  And I'd like to see a compact syntax for my rx: proposal, but based on
its spirit, not a return to Posix (including WXS) style.

-- 
John Cowan  www.reutershealth.com  www.ccil.org/~cowan  jcowan at reutershealth.com
The Penguin shall hunt and devour all that is crufty, gnarly and
bogacious; all code which wriggles like spaghetti, or is infested with
blighting creatures, or is bound by grave and perilous Licences shall it
capture.  And in capturing shall it replicate, and in replicating shall
it document, and in documentation shall it bring freedom, serenity and
most cool froodiness to the earth and all who code therein.  --Gospel of Tux


More information about the relaxng-user mailing list