Subject: | XML::SAX::PurePerl $VERSION misleading |
Date: | Mon, 30 Jul 2007 15:58:00 -0400 |
To: | bug-XML-SAX [...] rt.cpan.org |
From: | Chapman Flack <jflack [...] math.purdue.edu> |
The current XML::SAX::PurePerl (PurePerl.pm 1.20 2006/04/23)
has the same $VERSION = 0.90 as PurePerl.pm 1.15 2002/02/05,
but the behavior changed. The older version had:
sub cdata_attrib {
# TODO implement this!
return 0;
}
and the newer version has:
sub cdata_attrib {
# TODO implement this!
return 1;
}
The newer one is at least the correct required behavior for a
parser that doesn't actually validate attribute types. The old
one was wrong. Having $VERSION the same is misleading for anyone
trying to figure out why an application doesn't work when deployed
onto a user's machine that has the "older version 0.90" installed.
Chapman Flack
mathematics
Purdue