On Wednesday 10 May 2006 18:59, Matthew van Eerde wrote:
> PurePerl reads buffered input. If a CDATA end
> sequence "]]>" is split between two read
buffers, it's
> missed.
>
> I attach a patch.
>
> The same issue likely effects comment end sequences
> --> and possibly other areas, but this patch is
> limited to fixing the CDATA issue.
>
Very nice. Just a few comments:
1. You should probably file a bug for the patch in the
module's Request
Tracker:
http://rt.cpan.org/Public/Dist/Display.html?Nam
e=XML-SAX-PurePerl
That way, it won't be forgotten or lost in confusion.
2. It would be a good idea to supply a regression test
script that will fail
on the bug before the patch, and succeed after the patch is
applied.
I should note that the maintainer of this module is very
busy, and has many
open bugs in his modules. It might be a good idea to suggest
him to make you
a co-maintainer of this module.
Regards,
Shlomi Fish
------------------------------------------------------------
---------
Shlomi Fish shlomif iglu.org.il
Homepage: http://www.shlomifish.org/
95% of the programmers consider 95% of the code they did not
write, in the
bottom 5%.
_______________________________________________
Perl-XML mailing list
Perl-XML listserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
|