Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Heiko Studt <studt@---.----------.-->
To: ht@---.--.--.-- (----- -. --------)
Date: 9/15/2007 3:41:00 AM
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@f...>





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