Nicolas Cellier uploaded a new version of XML-Parser to project The Trunk:
http://source.squeak.org/trunk/XML-Parser-nice.4.mcz==================== Summary ====================
Name: XML-Parser-nice.4
Author: nice
Time: 20 October 2009, 12:44:20 pm
UUID: bf2759d9-768f-8744-942b-4a9d85d111f5
Ancestors: XML-Parser-mir.3
use #fasterKeys
=============== Diff against XML-Parser-mir.3 ===============
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 fasterKeys sort do: [:key |
- attributeList keys asSortedCollection do: [:key |
self attribute: key value: (attributeList at: key)]!
Item was changed:
Object subclass: #XMLTokenizer
instanceVariableNames: 'stream nestedStreams entities externalEntities parameterEntities parsingMarkup markedPosition peekChar validating nameBuffer attributeBuffer'
+ classVariableNames: 'CharEscapes DigitTable LiteralChars NameDelimiters SeparatorTable'
- classVariableNames: 'NameDelimiters SeparatorTable CharEscapes DigitTable LiteralChars'
poolDictionaries: ''
category: 'XML-Parser'!
!XMLTokenizer commentStamp: '<historical>' prior: 0!
XMLTokenizer
[hidden email]
breaks the stream of characters into a stream of XMLnodes (aka token stream)
token stream is used by XMLparser to generate XMLdocument tree!