The Trunk: XML-Parser-nice.5.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: XML-Parser-nice.5.mcz

commits-2
Nicolas Cellier uploaded a new version of XML-Parser to project The Trunk:
http://source.squeak.org/trunk/XML-Parser-nice.5.mcz

==================== Summary ====================

Name: XML-Parser-nice.5
Author: nice
Time: 21 October 2009, 1:03:59 am
UUID: 925d0cc5-9247-4391-a8f0-eafeb6ff7fcd
Ancestors: XML-Parser-nice.4

Use #keys rather than #fasterKeys
Note that pattern (x keys asArray sort) could as well be written (x keys sort) now that keys returns an Array...
This #asArray is here solely for cross-dialect/fork compatibility.

=============== Diff against XML-Parser-nice.4 ===============

Item was changed:
  ----- Method: XMLWriter>>startElement:attributeList: (in category 'writing xml') -----
  startElement: elementName attributeList: attributeList
  self canonical
  ifFalse: [self stream cr].
  self startTag: elementName.
+ attributeList keys asArray sort do: [:key |
- attributeList fasterKeys sort do: [:key |
  self attribute: key value: (attributeList at: key)]!