Hi everybody!

I think, problem code is

```

if($buf eq chr hex $xhtmlbegin[$j + 1]) {
            $doread = 1;
            $j = $j + 1;
        } else {
            if($j == 0) {
                $doread = 1;
            } else {
                #this line is very suspicious
                $j = $next[$j];
            }
        }

```

$next[$j] may be undefined and after that you cannot safely compare $j wint
numeric value 0.

If you provide real xml data, we can reproduce error more accurately.

пн, 6 июля 2015 г. в 11:20, Kent Fredric <kentfred...@gmail.com>:

> On 6 July 2015 at 19:43, Nagy Tamas (TVI-GmbH) <tamas.n...@tvi-gmbh.de>
> wrote:
> >
> > Yes, I can produce an XML file.
>
>
> I mean, can you paste-bin or attach an XML file which is minimal in
> size, yet, still causes this problem to occur, so that we may also
> attempt to see what is happening using said file.
>
> I presently have no such file.
>
> --
> Kent
>
> KENTNL - https://metacpan.org/author/KENTNL
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to