Forum Navigation
XML firstChild issue
Posted: 02/18/09 04:03:15Hello everyone.
Today is actually my first day with Tango, after deciding that Phobos just wasn't cutting it. I am in the middle of remaking one of my projects and implementing some xml loading into it, but i've run into what seems to me as a bug. I'm not sure if I have the latest version of tango though (I used the package for ubuntu 8.10, installed today), as my tango.text.xml.Document file doesn't match that in the online documentation (I have firstChild instead of just child...)
But, here goes: When I have a NodeImpl?, say tNode. When I do tNode.firstChild(), I get a mystery node that is not defined in my xml file (i even removed all white space). Then if I do tNode = tNode.firstChild().nextSibling() I get the proper first child of my element.
Is this a known issue or do I just have an out dated version of tango installed? (If the later, how would I go about updating my current install?)
~Wolftousen