: The problem occured with a Node.ATTRIBUTE_NODE. It would get the text : from the body (returning "" in this case). I moved the : Node.ATTRIBUTE_NODE case so it is treated the same as TEXT_NODE and it : works for resin and the tests pass.
Hmmm... yeah, this seems to be a mistake in the DOM-Level-3-Core description of what getText is suppose to do ... it says that for ATTRIBUTE_NODE you should concat all of the children -- but how would an ATTRIBUTE ever have children? I'll try to test this out soon. -Hoss