[Newbies] BUG in XMLElement >> printXMLOn:

Thomas Fischer th.-fischer at web.de
Wed Nov 14 15:51:23 UTC 2007


Hi list,
when I do:

Transcript show: (XMLDOMParser parseDocumentFrom: (
	ReadStream on: '<xml>T1<E1/><!--C-->T2<E2/></xml>'
))

I get: '
<xml>T1T2
<E1></E1>
<E2></E2></xml>'

The order of child nodes is wrong: T1,T2,E1,E2 instead of T1,E1,T2,E2.

I don't understand, why a XMLElement has TWO collections: contents elements
instead of ONE collection for childNodes. 

salute
Thomas
-- 
View this message in context: http://www.nabble.com/BUG-in-XMLElement-%3E%3E-printXMLOn%3A-tf4806032.html#a13749449
Sent from the Squeak - Beginners mailing list archive at Nabble.com.



More information about the Beginners mailing list