Subject: | case typos in XML::LibXML::SAX::Builder |
the start_dtd method of XML::LibXML::SAX::Builder uses SystemID and
PublicID, while the SAX events generated use SystemId and PublicId.I
attached a patch to fix it.
Subject: | saxbuilder.diff |
--- /usr/lib/perl5/XML/LibXML/SAX/Builder.pm 2008-01-29 22:01:49.000000000 +0100
+++ Builder.pm 2008-07-28 19:03:17.000000000 +0200
@@ -36,8 +36,8 @@
sub start_dtd {
my ($self, $dtd) = @_;
if (defined $dtd->{Name} and
- (defined $dtd->{SystemID} or defined $dtd->{PublicID})) {
- $self->{DOM}->createExternalSubset($dtd->{Name},$dtd->{PublicID},$dtd->{SystemID});
+ (defined $dtd->{SystemId} or defined $dtd->{PublicId})) {
+ $self->{DOM}->createExternalSubset($dtd->{Name},$dtd->{PublicId},$dtd->{SystemId});
}
}