NetBeans - XML Parser problem ??


I have a problem with the next code segment:

   TXMLObjectIterator iterator = response.getXMLObjectIterator(); 
    while (iterator.hasNext()) { 
          TXMLObject xmlObject =; 
   	  Element doc = (Element) xmlObject.getElement(); 
          String value = doc.toString(); 
          results.add( value ); // results is an ArrayList 

It works in Eclipse, but doesn’t work in NetBeans 5.0
I did some experiments with classpath, xerces version, etc. but without results.

I think it’s due some XML Parser problem with NetBeans…
Some hint? some idea?