This email includes the patch that I forgot last time.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
From dfcb80ac25a77a5f58def33759c17cf4ca9d7131 Mon Sep 17 00:00:00 2001
From: "brian m. carlson" <sand...@crustytoothpaste.net>
Date: Sat, 23 Feb 2013 18:35:55 +0000
Subject: [PATCH] Call DTD functions when parsing.

---
 lib/XML/LibXML/SAX/Parser.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/XML/LibXML/SAX/Parser.pm b/lib/XML/LibXML/SAX/Parser.pm
index 8adb488..4c7b0c0 100644
--- a/lib/XML/LibXML/SAX/Parser.pm
+++ b/lib/XML/LibXML/SAX/Parser.pm
@@ -139,8 +139,8 @@ sub process_node {
         # i may want to handle this one day, dunno yet
     }
     elsif ($node_type == XML_DTD_NODE ) {
-        # ignore!
-        # i will support DTDs, but had no time yet.
+        $self->start_dtd( { Name => $node->getName, PublicId => $node->publicId, SystemId => $node->systemId } );
+        $self->end_dtd({});
     }
     else {
         # warn("unsupported node type: $node_type");
-- 
1.8.0

Attachment: signature.asc
Description: Digital signature

Reply via email to