[squeak-dev] The Trunk: XML-Parser-nice.5.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 20 23:04:25 UTC 2009


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)]!




More information about the Squeak-dev mailing list