Date: Friday May 17, 2002 @ 2:24
Author: kip
Update of /home/cvs/AxKit-XSP-Util
In directory ted:/tmp/cvs-serv20458
Modified Files:
Util.pm Changes
Log Message:
Fixes to reflect new XML::LibXML DOM interface
Index: Util.pm
===================================================================
RCS file: /home/cvs/AxKit-XSP-Util/Util.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -u -r1.13 -r1.14
--- Util.pm 2002/01/30 09:38:42 1.13
+++ Util.pm 2002/05/17 01:24:32 1.14
@@ -1,4 +1,4 @@
-# $Id: Util.pm,v 1.13 2002/01/30 09:38:42 matt Exp $
+# $Id: Util.pm,v 1.14 2002/05/17 01:24:32 kip Exp $
package AxKit::XSP::Util;
use strict;
@@ -13,7 +13,7 @@
@ISA = ('Apache::AxKit::Language::XSP');
$NS = 'http://apache.org/xsp/util/v1';
-$VERSION = "1.5";
+$VERSION = "1.5.2";
## Taglib subs
@@ -23,7 +23,7 @@
my $doc = XML::LibXML->new()->parse_file($filename);
if ($doc) {
my $root = $doc->getDocumentElement();
- $root = $document->importNode($root, 1);
+ $root = $document->importNode($root);
$parent->appendChild($root);
}
else {
@@ -45,7 +45,7 @@
my $doc = XML::LibXML->new()->parse_string($raw_xml);
if ($doc) {
my $root = $doc->getDocumentElement();
- $root = $document->importNode($root, 1);
+ $root = $document->importNode($root);
$parent->appendChild($root);
}
else {
@@ -60,7 +60,7 @@
my $doc = XML::LibXML->new()->parse_string( $frag );
if ($doc) {
my $root = $doc->getDocumentElement();
- $root = $document->importNode($root, 1);
+ $root = $document->importNode($root);
$parent->appendChild($root);
}
else {
Index: Changes
===================================================================
RCS file: /home/cvs/AxKit-XSP-Util/Changes,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -u -r1.3 -r1.4
--- Changes 2002/01/30 09:38:42 1.3
+++ Changes 2002/05/17 01:24:32 1.4
@@ -1,5 +1,8 @@
Revision history for Perl extension AxKit::XSP::Util.
+1.5.2
+ - Fixes to reflect new XML::LibXML DOM interface.
+
1.5
- Updated to use XML::LibXML for AxKit 1.5
- Changed Time::Object for Time::Piece
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]