Debian Codegraph @

Changes

raw
1 Change History:
2
3 0.13 (tjmather) 9/11/2002
4 - make parse return 1 (Steven Allen)
5 - sub setModel: Generation of regexp goes wrong if an element has more than
6 62 members and any of these has cardinality other than 1:
7 Parentheses are required around each re token, because the tokens are
8 encoded as character pairs if there's 62 or more of them. (B Mills)
9
10 0.12 (tjmather) 4/22/2002
11 - Fixed bug with DTD alternation rules (Steven Allen)
12
13 0.11 (tjmather) 4/8/2002
14 - Corrected the token abbreviation sub (Philippe Verdret)
15 - Added error 170, Element can't be empty (Philippe Verdret)
16 - Added strict and warnings pragmas (Philippe Verdret)
17 - Added two new tests, t/empty_elt.t and t/high_elt_number.t
18 (Philippe Verdret)
19
20 0.10 (tjmather) 9/2/2001
21 - Fixed bug where checker didn't raise an error where a element
22 that should have only contained sub-elements contained a text
23 element (Michel Rodriguez)
24 - Moved XML::DOM::ValParser into correct directory
25
26 libxml-enno-1.04 (tjmather) 3/20/2001
27
28 - Fixed bug in XML::Checker::Parser with the setting
29 @InterceptedHandlers (William Horka)
30 - Fixed errors in test case t/chk_batch.t. Most had to do with change
31 from "well-formed" to "well-formed (invalid token)" in error message.
32 Also, the tests in chk_batch.t for the xml file attr3 did not return any
33 errors any more, since XML::Parser >= 2.28 doesn't seem to call the entity
34 handler more than once if a entity is repeated.
35 - Updated t/chk_batch.t to be independent of the order of the error
36 messages generated. This is because the order of the error messages
37 seems to be dependent on the version of perl used (e.g. 5.005 vs. 5.6.0).
38
39 libxml-enno-1.03 (enno) unreleased
40
41 - Fixed errors in test case t/chk_batch.t for Windows. Most were related
42 to differences in newlines.
43
44 0.09 in libxml-enno-1.01 (enno) 2/17/2000
45
46 - error 103 (undefined attribute) was not detected in all cases.
47 (Thanks to Mark Hewis <[email protected]>)
48 - error 103 - The error context used to contain the hash key 'Elem',
49 but since all other errors use 'Element', this was changed to 'Element'
50 as well.
51 - The parsefile() method of XML::Checker::Parser now supports URLs.
52 It uses LWP to download the remote file. See XML::Checker::Parser documentation
53 for more info.
54 - Fixed attlist_decl() handler to use 'ElementName' instead of 'EntityName'.
55
56 0.08 in libxml-enno-1.00 (enno) 10/26/1999
57
58 - XML::Checker moved to libxml-enno distribution.
59 - XML::Checker now implements the PerlSAX Handler interface.
60 - Fixed XML::Checker::Parser to use XML::Parser::Expat::specified_attr to
61 determine which attributes were specified (and which were defaulted by expat.)
62 (I was using original_string before and parsing the string myself to
63 figure out which attributes were specified, but there was a bug in my code
64 which would generate bogus error-159's.)
65 (Thanks to Jim Anderson <[email protected]>)
66 - External DTDs with relative file paths (and without the 'file://' prefix)
67 are now located using SGML_SEARCH_PATH.
68 See XML::Checker::Parser pod for details.
69 (Thanks to Stephane Bortzmeyer <[email protected]>)
70 - XML::Checker::DOM is now obsolete. I moved the functionality to XML::DOM.
71 - The error descriptions in the XML::Checker manual page now have links to
72 the appropriate sections and Validity Constraints in the XML spec.
73
74 0.07 (enno) 9/10/1999
75 - Fixed checking of NOTATION tokens in an ATTLIST. It would allow only valid
76 XML Name ($ReName) values instead of NmTokens ($ReNmToken)
77 (Thanks to Laurent Caprani <[email protected]>)
78 - Added error 115: "ELEMENT [$name] already defined"
79 (Thanks to Laurent Caprani <[email protected]>)
80 - Added 'Element' to the error context of error 124
81 - Fixed checking of #REQUIRED attributes (error 159.)
82 I had to add another handler to XML::Checker, called 'EndAttr', to support
83 checking of #REQUIRED attributes.
84 It should be called after all attributes are passed with Attr().
85 If the user forgets to call this method, missing #REQUIRED attributes (i.e.
86 error 159) will not be generated.
87 XML::Checker::Parser and XML::DOM::ValParser have been updated accordingly,
88 so users of these classes don't need to make any code changes. Only people
89 using XML::Checker directly have to add a call to EndAttr().
90 (Thanks to Jim Anderson <[email protected]>)
91 - Default attribute values were stored in ARule as $arule->{$attr}->{Default}.
92 This could wipe out other ARule fields (like Elem, Checker and Required) if
93 your XML file contained attributes with those names. Now they are stored as
94 $arule->{Default}->{$attr}.
95
96 0.06 (enno) 8/10/1999
97 - Added option to detect insignificant whitespace.
98 See the section 'INSIGNIFICANT WHITESPACE' in the XML::Checker maual page
99 and the SkipInsignifWS option in XML::Checker::Parser.
100 - Added Comment handler to XML::Checker for completeness. It currently
101 doesn't do anything.
102 - Added t/filterInsignifWS.pl script that filters insignificant whitespace
103 using XML::DOM::ValParser (see script for USAGE)
104
105 0.05 (enno) 8/2/1999
106 - Fixed the regular expressions for XML tokens to include Unicode values > 127
107
108 0.04 (enno) 6/29/1999
109 - Fixed splitting of Enumeration tokens in ATTLIST.
110 It used to split the tokens with /\s+/, instead of /\s*\|\s*/ and it would
111 produce error 134.
112 (Thanks to Philippe Verdret <[email protected]>)
113 - When parsing the external DTD in XML::Checker::Parser, the XML::Parser now
114 copies the ErrorContext from the XML::Checker::Parser.
115 (Thanks to Philippe Verdret <[email protected]>)
116 - When parsing the external DTD in XML::Checker::Parser, it now prefixes the
117 System ID with 'file:' because HTTP::Request is used to retrieve the external
118 DTD and it expects 'file:' prefixes for file URLs.
119 (Thanks to Stephane Bortzmeyer <[email protected]>)
120 - It no longer generates error 156: unexpected root Element [doc], expected []
121 when no DTD is available and it doesn't know what the root element is.
122 - Cleaned up some warnings when running with perl -w.
123 (Thanks to Beau Simensen <[email protected]>)
124 - Added CAVEATS section to XML::Checker::Parser POD regarding external DTDs.
125
126 0.03 (enno) 6/23/1999
127 - Fixed message 154 to print out better Buf and RE parameters.
128 - Fixed the RE (regular expression) that is used to check valid element names.
129 (Thanks to Matt Sergeant <[email protected]>)
130 - Added code that reads external DTDs using LWP.
131 This can be disabled by setting the XML::Checker property SkipExternalDTD.
132 (Thanks to Matt Sergeant <[email protected]> for writing the code!)
133
134 0.02 (enno) 5/28/1999
135 - Updated the regular expressions for the following tokens: Name, NmToken,
136 AttValue. For now, I copied some of them from XML::DOM, but they should probably
137 be in a separate module. (Thanks to John Posner <[email protected]>)
138 - XML::DOM::EntityReference::expat_iter was using getName instead of getEntityName
139 - fixed bugs in XML::Checker::EntityRef
140 - XML::DOM::Notation::expat_iter was calling the Entity handler
141 - implemented the XML::Checker::Entity method to check for duplicate ENTITY
142 definitions and added error 114 - ENTITY [$entity] already defined
143 - modified the test scripts to pass (KeepCDATA => 1, NoExpand => 1) to XML::Parser
144
145 0.01 (enno) 5/27/1999
146 - First release.