Skip Menu |

This queue is for tickets about the XML-Validator-Schema CPAN distribution.

Report information
The Basics
Id: 86555
Status: open
Priority: 0/
Queue: XML-Validator-Schema

People
Owner: Nobody in particular
Requestors: scamatics [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: File Size bug
Date: Fri, 28 Jun 2013 16:20:19 -0400
To: bug-XML-Validator-Schema [...] rt.cpan.org
From: Jeff Serenka <scamatics [...] gmail.com>
I am attempting to validate a large XML. The script fails due to 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
On Fri Jun 28 16:20:40 2013, scamatics@gmail.com wrote: Show quoted text
> I am attempting to validate a large XML. The script fails due to 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
Subject: Re: [rt.cpan.org #86555] File Size bug
Date: Fri, 28 Jun 2013 17:23:29 -0400
To: bug-XML-Validator-Schema [...] rt.cpan.org
From: Jeff Serenka <scamatics [...] gmail.com>
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: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86555 > > > On Fri Jun 28 16:20:40 2013, scamatics@gmail.com wrote:
> > I am attempting to validate a large XML. The script fails due to 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 > >
Subject: Re: [rt.cpan.org #86555] File Size bug
Date: Fri, 28 Jun 2013 17:29:39 -0400
To: bug-XML-Validator-Schema [...] rt.cpan.org
From: Jeff Serenka <scamatics [...] gmail.com>
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: Show quoted text
> 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: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86555 > >> >> On Fri Jun 28 16:20:40 2013, scamatics@gmail.com wrote:
>> > I am attempting to validate a large XML. The script fails due to 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 >> >>
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: > >
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=86555 > > >> > >> On Fri Jun 28 16:20:40 2013, scamatics@gmail.com wrote:
> >> > I am attempting to validate a large XML. The script fails due to
> 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 > >> > >>