Commits

Anonymous committed 162bd6f

Modified Files:
lib/XML/LibXML/SAX/Parser.pm
fixed the else if typo (again?)

Comments (0)

Files changed (1)

lib/XML/LibXML/SAX/Parser.pm

 use vars qw($VERSION @ISA);
 
 use XML::LibXML;
+use XML::LibXML::Common qw(:libxml);
 use XML::SAX::Base;
 use XML::SAX::DocumentLocator;
 
         # ignore!
         # i may want to handle this one day, dunno yet
     }
-    else if ($node->type == XML_DTD_NODE ) {
+    elsif ($node->type == XML_DTD_NODE ) {
         # ignore!
         # i will support DTDs, but had no time yet.
     }