File: Changes

package info (click to toggle)
libxml-grove-perl 0.46alpha-13.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 312 kB
  • sloc: perl: 1,057; makefile: 2
file content (71 lines) | stat: -rw-r--r-- 2,452 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Revision history for Perl extension XML::Grove.

Backwards incompatible changes are marked with a `*'.

Changes in Version 1.0

Version 1.0 is virtually a complete rewrite.  The summary below
presents the changes as a bullet list, but you should probably reread
the POD docs because they have been updated and should be much clearer
than before (let me know if you don't think so!).


 * XML::Grove REQUIRES Perl 5.005

 * The class structure of XML::Grove changes somewhat.

   * XML::Grove::Document now contains the document information where
     XML::Grove itself used to hold that information.

   * The class XML::Grove is now the common superclass of all classes
     in the XML::Grove module, and XML::Grove isa Data::Grove (in
     libxml-perl).

   * Internal class XML::Grove::_Common is gone.

     If you had created extensions to XML::Grove and added methods to
     XML::Grove::_Common, you should move them to XML::Grove.

 * You now access grove properties directly, i.e.

       $element_name = $element->{Name};

   instead of using methods to access the properties.

 * XML::Grove objects all now appear to have Parent references.

   * This is done using tied hashes and arrays, see Data::Grove::Tied
     if you see any wierd problems.  Use

         $real_object = $node->{Raw};

     to get the real object behind the tied hash.

 * No More XML::Grove::Iter!!

 * all scalars are now XML::Grove::Characters objects, if you store a
   scalar value into element content it will be converted to an
   XML::Grove::Characters object.

 * visit_grove is now visit_document.

 * visit_scalar is now visit_characters.  The object you receive is an
   XML::Grove::Characters object and $characters->{Data} gives you the
   text.

 * XML::Grove::Visitor is now Data::Grove::Visitor in libxml-perl

 * Visitor now checks the visitor object for methods it supports and
   silently ignores undefined methods.  If the visited object has a
   `Contents' property, Visitor will call `children_accept' or
   `children_accept_name' if there is no defined method.

 * All properties are mixed case, see XML::Grove(3) and the
   grove builder and parser man pages for attribute names.

 * FIXME check all places where Iter, visit_scalar, and delegate occur.

 * XML::Parser::Grove is replaced by by using XML::Parser::PerlSAX (in
   libxml-perl) and XML::Grove::Builder.  See XML::Grove::Builder for usage.

 * added more tests and a `t' directory