Re: Latest proposal for smart regexes in RELAX NG
[email protected] Thu, 6 May 2004 13:49:20 -0400
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] 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