I HATE org.w3c.dom.* in Java SE 5.0
Monday, August 7th, 2006STUPID STUPID STUPID! Someone — anyone please give me a reasonable explanation why NodeList is NOT a Collection. Better yet, why is NodeList even there? Shouldn’t Node.getChildNodes() return a List<Node> type instead of NodeList? Why wasn’t this API refactored to be 5.0 Generics-happy? This is retarded. I have code that looks like: NodeList autolist = [...]
