I think this is more likely a limit inside the Perl regular-expression engine. XML::Validator::Schema uses Perl regular expressions to check document structure. I haven't actually worked with the module in a long time so I'm unlikely to work on this bug any time soon, but if you come up with a patch I'd be happy to release it.
Sam
On Fri Jun 28 17:29:53 2013, scamatics@gmail.com wrote:
Show quoted text> Here is an example, inside of tag1 I have 40,000 tag2's once I get to
> 32768
> the perl script fails. Im on my phone right now when I get home
> tonight I
> can be more descriptive
>
> <tag1>
> <tag2>
> </tag2>
> </tag1>
> On Jun 28, 2013 5:23 PM, "Jeff Serenka" <scamatics@gmail.com> wrote:
>
> > Whatever variable type is used to iterate the xml elements is being
> maxed
> > out. I didnt read the pm im just assuming your using a short var and
> not
> > long var so once I hit that 32767 it bombs out.
> > On Jun 28, 2013 4:30 PM, "SAMTREGAR via RT" <
> > bug-XML-Validator-Schema@rt.cpan.org> wrote:
> >
> 2 byte
> >> > short being used as the iterator so once i get to 32768 it fails
> since
> >> the
> >> > max size for 2 byte short is 32767. Hence im unable to complete
> the
> >> > validation of the XML
> >>
> >> What "2 byte short" are you talking about? Or was that just a
> guess
> >> about why it's not working?
> >>
> >> Sam
> >>
> >>