Hi,
I'm happy to announce immediate and simultaneous releases of
XML::LibXML 1.62 and XML::LibXSLT 1.62. It may take some
time to get on the
CPAN mirrors.
The most highlighting feature is the new pull-parser
interface
called XML::LibXML::Reader, which is about as memory
efficient as
SAX, but much easier to use and hopefully also faster on a
real
task (I didn't benchmark, though). The initial patch, which
I
then further improved and extended, was created by Heiko
Klein to
which I'd like thank for it. Also DOM compliance of
XML::LibXML
has been improved in some aspects.
LibXSLT has two new methods for obtaining output of the
transformation: output_as_bytes which always returns the
result
as a byte string in the encoding specified in the
stylesheet, and
output_as_chars, which always converts the result to a UTF-8
character string.
Full change logs follow:
XML::LibXML 1.62
- interface to libxml2's pull-parser XML::LibXML::Reader
(initiated by Heiko Klein)
- make error messages intended to the user report the
line of the
application call rather than that of the internal XS
call
- XML::LibXML::Attr->serializeContent added
(convenience function)
- fix getAttributeNode etc. w.r.t. #FIXED attributes (as
well as some
cases with old buggy libxml2 versions)
- warn if runtime libxml2 is older than the one used at
the compile time
- if compiled against libxml2 >= 2.6.27, new
parse_html_* implementation is
used
allowing encoding and other options to be passed to the
parser
- DOM-compliant nodeNames: #comment, #text, #cdata,
#document,
#document-fragment
- toString on empty text node returns empty string, not
undef
- cloneNode copies attributes on an element as required
by the DOM spec
XML::LibXSLT 1.62
- security callback interface contributed by Shane
Corgatelli
- check libxslt version
- added XML::LibXML-like API to retrieve libxslt
version
- added output_as_bytes() and output_as_chars()
- added regression tests for output_as_* to 11utf8.t
- output_as_string documentation fixed to match reality
- make 06entities.t to pass with older libxml2/libxslt
- POD uses items instead of headings
- fixed media_type and output_encoding for imported
stylesheets
[rt.cpan.org #23440]
libxml2 versions:
The recommended version of libxml2 is 2.6.27 (and probably
2.6.28
when it's out, because some XPath-related corner-case bugs
will
be fixed there, too). XML::LibXML is supposed to run and
pass
tests for 2.6.16 and later except for 20 and 25 which are on
a
black-list.
CPAN info:
----------------------
XML-LibXML-1.62.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PA/PAJAS/XML-LibXML-1.62.tar.gz
size: 230708 bytes
md5: 3aee3d539baac6fbb06e77b869e8a3b4
----------------------
XML-LibXSLT-1.62.tar.gz
has entered CPAN as
file: $CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-1.62.tar.gz
size: 39537 bytes
md5: aed0af386cda3f6117aceacef7cb98d9
-- Petr
_______________________________________________
Perl-XML mailing list
Perl-XML listserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
|