You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2002/06/04 09:52:18 UTC
cvs commit: xml-axkit/lib/Apache/AxKit/Language LibXSLT.pm
matts 2002/06/04 00:52:18
Modified: lib/Apache/AxKit/Language LibXSLT.pm
Log:
Make sure expand_entities is on, or XSLT breaks
Revision Changes Path
1.13 +2 -1 xml-axkit/lib/Apache/AxKit/Language/LibXSLT.pm
Index: LibXSLT.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/LibXSLT.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- LibXSLT.pm 29 May 2002 13:06:35 -0000 1.12
+++ LibXSLT.pm 4 Jun 2002 07:52:17 -0000 1.13
@@ -1,4 +1,4 @@
-# $Id: LibXSLT.pm,v 1.12 2002/05/29 13:06:35 matts Exp $
+# $Id: LibXSLT.pm,v 1.13 2002/06/04 07:52:17 matts Exp $
package Apache::AxKit::Language::LibXSLT;
@@ -47,6 +47,7 @@
}
my $parser = XML::LibXML->new();
+ $parser->expand_entities(1);
local $XML::LibXML::match_cb = \&match_uri;
local $XML::LibXML::open_cb = \&open_content_uri;
local $XML::LibXML::read_cb = \&read_uri;