Re: [xml] Perl LibXML
- From: Christian Glahn <christian glahn uibk ac at>
- To: dhogan <dhogan linuxcomm net>
- Cc: perl-xml listserv ActiveState com, xml gnome org
- Subject: Re: [xml] Perl LibXML
- Date: Sun, 17 Jun 2001 18:36:27 +0200
On Sun, Jun 17, 2001 at 01:51:08AM -0700, dhogan wrote:
Does the perl LibXML parser create a standard perl DOM object. So as
that I might rebless the object
into another class such as XML::DOM and use the methods that it
provides.
the answer has to be yes and no. :(
first, we try to implement a more or less DOM L2 compiliant
interface to the libxml2 library. - something similar as
gdome2, but more perl specific.
XML::LibXML bases on libxml2, so most of the work we do, is
wrapping in errorhandling :)
since the DOM implementation we work with relies on the datastructure
we get from libxml2, it is not compatible with plain perl
implementations. therefore if you rebless the reference you get
from the XML::LibXML parser, you will end up segfaulting.
sadly enough this is also true for other perl xml parsers.
christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]