[XML-SIG] Re: Issues with Unicode type

Daniel Veillard veillard@redhat.com
Thu, 26 Sep 2002 08:48:40 -0400


On Thu, Sep 26, 2002 at 02:32:49PM +0200, Eric van der Vlist wrote:
> Yes, but when it comes to implement the W3C XML Schema "pattern" facet
> which is basically regular expressions embedded in schemas, this seems
> to require rewriting a full regular expressions engine. What I meant by
> "not natively conform" is that it *seems* not feasable with the builtin
> re module in its current state.

  Hum, I think you would need a rewrite anyway for full conformance, 
the XML Schemas regexp have more complext constructs than standard regexps
the quantifiers may be more rich (not 100% sure I didn't checked fully)
and all the character classes/group/category/blocks are not part of
"normal" regexps (well I never saw any such description in regexps help
or man before, so I doubt it appeared magically in python).

  For whose wondering about this see 
     http://www.w3.org/TR/xmlschema-2/#regexs

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/