XML::Validator::Schema 1.02 is on CPAN now. This is a big release, adding support for composing sequence and choice groups as well as a mostly complete simpleType system.
This release also includes a solution to the problem I worried about on PerlMonks. Despite failing to find code that did anything similar I think I managed to muddle through. Regexes are truely strange and wonderful creatures... Check out the madness!
Coming up in 1.03: caching for schema parse trees! I've got a version in CVS now that speeds up the test suite by around 3x.
-sam
PS: Did you know that Storable fails to properly serialize Regexp objects produced by qr//? And not only that, it does so silently! I didn't, but after a frusterating attempt at using Storable to cache my Regexp-containing parse trees, I do now.
Did you know that Storable fails to properly serialize Regexp objects produced by qr//?
Has this been reported?
Unreported bugs just don't exist, and aren't going to get fixed.
Sadly I can't guarantee that reported bugs are going to get fixed (or even understood) but I can assure you that unreported bugs get preferential treatment in the "being ingored forever" stakes.
Re:unreported bugs are unloved bugs
samtregar on 2003-10-02T14:29:42
Done. Thanks for the reminder. I'm usually pretty good about that sort of thing...-sam
Re:use Regexp::Copy
samtregar on 2003-10-02T14:22:55
I did look at that, but it's 5.008 only. I'm using 5.6.1 in an application where I need XML::Validator::Schema.-sam
Re:use Regexp::Copy
james on 2003-10-02T16:45:47
Hmm, it should be only 5.8.0 only because of our $VERSION in Regexp::Storable. I'll do a release shortly to fix that.
--james.
Re:use Regexp::Copy
samtregar on 2003-10-02T17:51:19
our() is supported in 5.6.x... If you change it require 5.6.0 I'll be happy to give it a try.-sam