Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: ht@---.--.--.-- (----- -. --------)
To: Heiko Studt <studt@---.----------.-->
Date: 9/13/2007 12:21:00 PM
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Heiko Studt writes:

> XSV seems to fail on xsd-allowed 'negated' regular expressions in
> patterns. This breaks the support of
> MPEG7:mimetype. (urn:mpeg:mpeg7:schema:2004) Allthough XSV documents
> lacks functionality in some parts of RegExp, this lack is not
> documented on its project page.

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, otherwise just falls back to saying "yes".  Python
regexps don't support subtraction, so the presence of that in your
pattern provokes the fallback.

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

ht

[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html
=2D -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@i...
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged sp=
am]
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFG6Q71kjnJixAXWBoRAntLAJ9d9dbFN0Rh6tW2kEfwtFeY5c6YxQCeODUp
HWiY7Qkur6cSMDNfjI0GOf0=
=TA2R
=2D----END PGP SIGNATURE-----

From Navpreet.SINGH@T... Fri Sep 14 14:34:45 2007
Received: from wiggum.w3.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent