Update of dtdparse/XML/DTDParse
Modified Files:
DTD.pm
Log Message:
[#534538]: Fixed boolean expression while extracting enumerated
attlist values so a value of "0" does not prematurely terminate the
loop.
======================================================================
FILE: dtdparse/XML/DTDParse/DTD.pm
--- DTD.pm 17 Jun 2005 21:52:14 -0000 1.6
+++ DTD.pm 26 Jun 2005 22:39:04 -0000 1.7
@@ -1052,5 +1052,5 @@
($pre, $enum, $dtd) = $mc->match($values . $dtd);
($ntok, $rest) = $self->next_token($enum);
- while ($ntok) {
+ while ($ntok ne '') {
if ($ntok =~ /[,\|\(\)]/) {
# nop