| 1 |
Revision history for Perl extension XML::SAX::ExpatXS |
| 2 |
===================================================== |
| 3 |
|
| 4 |
1.33 Oct 26, 2012 |
| 5 |
- LICENSE field added to ExpatXS.pm |
| 6 |
- [rt.cpan.org #69253] t/f08noexpand.t is missing in distro () |
| 7 |
|
| 8 |
1.32 Apr 12, 2011 |
| 9 |
- NoExpand option test added |
| 10 |
- type warnings fixed (gcc 4.4) |
| 11 |
|
| 12 |
1.31 July 3, 2007 |
| 13 |
- Security fix: namespace separator in XML_ParserCreate_MM |
| 14 |
changed from '}' to -1, related to SF.net bug 1742315 |
| 15 |
[suggested by Bjoern Hoehrmann] |
| 16 |
|
| 17 |
1.30 July 2, 2007 |
| 18 |
- speed optimizations - main callback functions (start_element, |
| 19 |
end_element, characters, comment) resolved in advance using |
| 20 |
XML::SAX::ExpatXS::Preload module |
| 21 |
- feature 'http://xmlns.perl.org/sax/recstring' controls whether |
| 22 |
a recognized string is available as {RecognizedString} among |
| 23 |
{ParseOptions} (not by default as this is rather expensive). |
| 24 |
- added {ExpatVersion} property |
| 25 |
|
| 26 |
1.20 April 7, 2006 |
| 27 |
- speed optimizations - data structures reused: start_element() |
| 28 |
hash reused by end_element() call when free, characters() hash |
| 29 |
recycled when free |
| 30 |
- better error message when parse_uri fails |
| 31 |
|
| 32 |
1.10 November 10, 2005 |
| 33 |
- fixed start_entity() called for an external DTD subset if |
| 34 |
parameter entity parsing is in effect (ParseParamEnt option |
| 35 |
setting XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE in Expat) |
| 36 |
[using patches by Axel Eckenberger] |
| 37 |
- resolve_entity() can return source with {String} now |
| 38 |
- feature 'http://xml.org/sax/features/external-general-entities' |
| 39 |
controls processing of external general entities |
| 40 |
- feature 'http://xml.org/sax/features/external-parameter-entities' |
| 41 |
controls processing of external parameter entities (the same as |
| 42 |
ParseParamEnt option) |
| 43 |
- skipped_entity() implemented |
| 44 |
[based on patch and tests by Axel Eckenberger] |
| 45 |
- fixed segfault for unparsed entities without PublicId |
| 46 |
[using patches by Axel Eckenberger] |
| 47 |
- fixed leaks in entity callbacks |
| 48 |
|
| 49 |
1.09 October 14, 2005 |
| 50 |
- {Source}{Encoding} is used (with higher priority |
| 51 |
than encoding specified in the XML declaration) |
| 52 |
- fixed segfaults for undefined {Source} properties |
| 53 |
- Expat localization improved in Makefile.PL |
| 54 |
- localized setting of $/ in _get_external_entity |
| 55 |
|
| 56 |
1.08 April 22, 2005 |
| 57 |
- feature 'http://xmlns.perl.org/sax/xmlns-uris' |
| 58 |
puts xmlns:* attributes into |
| 59 |
the 'http://www.w3.org/2000/xmlns/' namespace |
| 60 |
and xmlns attributes into no namespace. |
| 61 |
The 'http://xml.org/sax/features/xmlns-uris' |
| 62 |
applies only if the new one is off. |
| 63 |
The default behavior is the same as for other |
| 64 |
Perl SAX parsers now. |
| 65 |
- fixed repeated parsing with Perl 5.6 |
| 66 |
|
| 67 |
1.07 March 16, 2005 |
| 68 |
- feature 'http://xml.org/sax/features/xmlns-uris' |
| 69 |
puts xmlns and xmlns:* attributes into no or |
| 70 |
the 'http://www.w3.org/2000/xmlns/' namespace. |
| 71 |
Default is no namespace (feature not set) which |
| 72 |
is a behavior different from previous versions! |
| 73 |
- feature 'http://xmlns.perl.org/sax/version-2.1' |
| 74 |
is set (and can't be turned off) |
| 75 |
- minor fix in memory management |
| 76 |
[reported by Rob Bloodgood] |
| 77 |
|
| 78 |
1.06 March 7, 2005 |
| 79 |
- more changes in memory management; |
| 80 |
parse_* run in loops without leaks |
| 81 |
[reported by Rob Bloodgood] |
| 82 |
|
| 83 |
1.05 February 18, 2005 |
| 84 |
- fixed segfault after deleting a key of Features |
| 85 |
[patch by Pavel Hlavnicka] |
| 86 |
|
| 87 |
1.04 December 15, 2004 |
| 88 |
- fixed the bug of SystemId/PublicId of external DTD |
| 89 |
subset provided instead of identifiers of the current |
| 90 |
entity in Locator and Exception |
| 91 |
[reported by Bjoern Hoehrmann] |
| 92 |
- recognized string made available |
| 93 |
as $p->{ParseOptions}{RecognizedString} |
| 94 |
- ParserOptions renamed to ParseOptions to match |
| 95 |
XML::SAX::Base |
| 96 |
- minor fixes for make test |
| 97 |
- test suite extended |
| 98 |
|
| 99 |
1.03 November 23, 2004 |
| 100 |
- minor fixes for make test |
| 101 |
|
| 102 |
1.02 November 22, 2004 |
| 103 |
- document locator redesigned to fit |
| 104 |
Perl SAX 2.1 specs |
| 105 |
- feature 'http://xmlns.perl.org/sax/locator' can turn |
| 106 |
the document locator off |
| 107 |
- test suite extended |
| 108 |
|
| 109 |
1.01 September 24, 2004 |
| 110 |
- memory management check completed, |
| 111 |
no more leaks detected |
| 112 |
|
| 113 |
1.00 July 16, 2004 |
| 114 |
- relevant memory leaks fixed |
| 115 |
- some more XS code cleanup |
| 116 |
|
| 117 |
0.99 June 7, 2004 |
| 118 |
- element_decl (Name, Model) completed |
| 119 |
- attribute_decl (eName, aName, Type, Mode, Value) completed |
| 120 |
- ns declaration attributes are treated as common attributes |
| 121 |
when the 'http://xmlns.perl.org/sax/ns-attributes' feature |
| 122 |
is set to 1 (default) |
| 123 |
- fixed the bug of "0" translated into "" |
| 124 |
[patch by Sam Tregar] |
| 125 |
- fixed a reference counting bug in startElement |
| 126 |
[reported by Sam Tregar] |
| 127 |
- test suite extended |
| 128 |
|
| 129 |
0.98 April 9, 2004 |
| 130 |
- added support for more encodings. In addition to |
| 131 |
built-in Expat encodings (UTF-8, UTF-16, ISO-8859-1, |
| 132 |
US-ASCII) we now support ISO-8859-2,3,4,5,7,8,9, |
| 133 |
WIN-1250,1252, BIG5, EUC-KR, EUC-JP and Shift JIS. |
| 134 |
(adapted from XML::Parser) |
| 135 |
- cleaning the code to satisfy gcc2 and ANSI C |
| 136 |
[suggested by Sergey Skvortsov] |
| 137 |
- minor bug fixes (locator, test suite) |
| 138 |
|
| 139 |
0.97 March 29, 2004 |
| 140 |
- external parsed entities parsed |
| 141 |
- external_entity_decl (Name, PublicId, SystemId) called |
| 142 |
for external entity declarations |
| 143 |
- internal_entity_decl (Name, Value) called for external |
| 144 |
entity declarations |
| 145 |
- start_entity (Name), end_entity (Name) called for |
| 146 |
external entity references |
| 147 |
- resolve_entity callback implemented |
| 148 |
- get_feature(), set_feature(), get_features() API functions |
| 149 |
implemented |
| 150 |
- feature 'http://xmlns.perl.org/sax/join-character-data' controls |
| 151 |
character data fragmentation, 0/1 (1 being default) |
| 152 |
- performance optimizations |
| 153 |
- fixed the xmlns="" segmentation fault |
| 154 |
- test suite extended |
| 155 |
|
| 156 |
0.96 February 19, 2004 |
| 157 |
- exceptions (Message, Exception, LineNumber, |
| 158 |
ColumnNumber, PublicId, SystemId) sent to ErrorHandler |
| 159 |
- document locator (LineNumber, ColumnNumber, PublicId, |
| 160 |
SystemId, Encoding, XMLVersion) implemented (updated on |
| 161 |
start_element, end_element, characters, start_prefix_mapping, |
| 162 |
end_prefix_mapping, processing-instruction) |
| 163 |
- test suite extended |
| 164 |
|
| 165 |
0.95 February 5, 2004 |
| 166 |
- renamed to XML::SAX::ExpatXS |
| 167 |
- completed parsing of xml declarations |
| 168 |
- completed start_dtd, end_dtd |
| 169 |
- fixed a bug of Attributes hash keys |
| 170 |
- fixed an "Attempt to free unreferenced scalar during |
| 171 |
global destruction" bug when parsing repeatedly |
| 172 |
- test suite extended |
| 173 |
|
| 174 |
0.90_01 May 13, 2002 |
| 175 |
- initial release by Matt Sergeant |
| 176 |
(a working parser). |