in reply to Re: Re: Abusing Regular Expressions
in thread Abusing Regular Expressions

If you squint and turn your head XML Schema's content models look a lot like primitive regular expressions.

Which, if I understand it correctly, is the approach taken by Relax NG.

A RELAX NG schema specifies a pattern for the structure and content of an XML document. A RELAX NG schema thus identifies a class of XML documents consisting of those documents that match the pattern. http://xml.coverpages.org/relax.html

(caveat: my knowledge of this is limited to light reading)

Check out:

  • Comment on Re: Re: Re: Abusing Regular Expressions

Replies are listed 'Best First'.
Re: Re: Re: Re: Abusing Regular Expressions
by samtregar (Abbot) on Sep 29, 2003 at 05:00 UTC
    Looks cool. Now if only there was a Perl implementation...

    Maybe once I'm done with XML::Validator::Schema. (hah!)

    -sam