[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSV fails on negative regexp (eg mimetype of MPEG7)

From: Heiko Studt <studt@fmi.uni-passau.de>
Date: Sat, 15 Sep 2007 01:40:49 +0200 (CEST)
To: ht@inf.ed.ac.uk (Henry S. Thompson)
Cc: xmlschema-dev@w3.org
Message-Id: <20070914234049.AEB5BE713E@tom.rz.uni-passau.de>
Re: XSV fails on negative regexp (eg mimetype of MPEG7)

At 13.09.2007 Henry S. Thompson wrote:

> Well, I admit it's pretty obscure, but the project page [1] does say,
> in the list of implemented features "pattern (partially)".  The truth
> is that XSV uses Python's native regexps if it thinks that will give
> the right answer, 

On the website it says in "Recent Changes":
| Partial support for pattern facet (basically everything except named
| classes other than \d \s \w \D \S \W)

> otherwise just falls back to saying "yes".  Python

Mmmh, I don't get your meaning with "yes".
In strict validation I get the failure the text doesn't match the
pattern. I get the same failure if the pattern can't be compiled at all.
I didn't research wether the MPEG7-pattern can be compiled in Python.

> I'm afraid I can't comment on whether your two regexps are
> equivalent. . .

After two nights of sleep, I know they are not. :-(
I didn't see both two different meanings of "-" in completness.


Thank you for responding,

-- 
MFG
Heiko Studt <studt@fmi.uni-passau.de>
Received on Friday, 14 September 2007 23:42:55 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.