1
$Id: /xmltwig/trunk/Changes 33 2008-04-30T08:03:41.004487Z mrodrigu $
5
# minor maintenance release
6
added: XML::Twig::Elt new method now acccepts literal content, eg
7
my $e= XML::Twig::Elt->new( '<div><p>foo</p><p>bar</p></div>');
8
fixed: merge had some problems dealing with embedded comments
14
# minor maintenance release
15
improved: docs for parse, see RT #78877
16
https://rt.cpan.org/Ticket/Display.html?id=78877
17
fixed: xml_pp -i now preserves the permissions of the
18
original file, see RT #81165
19
https://rt.cpan.org/Ticket/Display.html?id=81165
20
reported by Alberto Simoes
21
fixed: RT #80503 Newlines in attribute values
22
https://rt.cpan.org/Ticket/Display.html?id=80503
23
reported (and explained) by Ambrus Zsban: \r, \n
24
and \n explicitely set in attribute values should
25
be escaped (with &#x<nb>;) when output
29
# minor maintenance release
30
fixed: bug, elements created with XML::Twig::Elt->parse were
31
garbage collected too early,
32
see http://stackoverflow.com/questions/13263193/xmltwig-changes-erased
37
# minor maintenance release
38
fixed: META.json generation
42
# minor maintenance release
43
added: support for alternations ('|') at the top level of handler
44
triggers and navigation
45
you can now have twig_handlers => { 't1|t2' => \&handler }
46
and $elt->children( 't1|t2')
47
added: the discard_all_spaces option that discards more aggressively
48
non-significant white spaces
49
see RT #71164 https://rt.cpan.org/Ticket/Display.html?id=71164
50
fixed: used $[ instead of $] in 3 tests,
51
see RT#72765 https://rt.cpan.org/Ticket/Display.html?id=72765
52
reported by Kevin Ryde
53
fixed: did not use Text::Wrap with indented_c
54
see RT #71375 https://rt.cpan.org/Ticket/Display.html?id=71375
55
reported and patch provided by Martin Str�mberg
56
fixed: doc change for XML::Twig::Elt flush, see RT #72279
57
https://rt.cpan.org/Ticket/Display.html?id=72279
58
fixed: replaced HTML::TreeBuilder::as_XML with am XML::Twig specific
59
version, to avoid bugs in the original version and improve
60
stability of the output
65
# minor maintenance release
66
fixed: xml_pp -i would blank all files after the first one
67
thanks to dvercande for spotting this
68
added: findvalues method (XML::Twig and XML::Twig::Elt)
69
same as findvalue except that it returns an array of value
70
added: the output_html_doctype option to XML::Twig::new, that
71
outputs the DOCTYPE declaration for HTML docs converted
72
by HTML::TreeBuilder (fixing it if necessary)
73
see RT #71009: https://rt.cpan.org/Ticket/Display.html?id=71009
74
fixed: t/test_autoencoding_conversion.t failed with $PERL_UNICODE
75
set to SA* (which prevents autoconversion)
76
reported by Martin J Evans, RT #71084
77
https://rt.cpan.org/Ticket/Display.html?id=71084
6
81
# minor maintenance release
7
82
fixed: RT 65865: _ should be allowed at the start on an XML name
8
83
https://rt.cpan.org/Ticket/Display.html?id=65865
9
84
reported by Steve Prokopowich
10
removed: making att and class lvalues created problems: in certain
11
context they made regular calls to the method create empty
12
� attributes. I could find no satisfactory fix,they were either
13
incompletes, or to complex for often used methods. So att and
14
class are back to being regular, non l-value methods.
15
latt and lclass are the l-value versions.
16
added: documented the -html option for xml_grep, that allows processing
18
added: the -Tidy option to xml_grep, that uses HTML::Tidy to convert