logo       

BUG in XMLElement >> printXMLOn:: msg#00082

lang.smalltalk.squeak.beginners

Subject: BUG in XMLElement >> printXMLOn:


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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise