Skip Menu |

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

Report information
The Basics
Id: 28564
Status: resolved
Priority: 0/
Queue: XML-SAX

People
Owner: Nobody in particular
Requestors: jflack [...] math.purdue.edu
Cc:
AdminCc:

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



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
Sorry for the failure to update the version in previous releases of XML::SAX. The recent 0.96 release includes a test to confirm that the version number for the PurePerl parser is in sync with the distribution version.