Hello.
 
My problem is that I was using the documentbuildfactory from sun, and i got an StackoverFlow ina recursivit trough the XML tree.
then I use Xerces, to get the Document object and iterate over the tree, but the same exception is raised by the DomParser
This is my code.
 
 
File xmlfile= new File("ruta/archivo.xml");
DOMParser parserdom =  new DOMParser();
      parserdom.setFeature("http://apache.org/xml/features/validation/balance-syntax-trees", true);
      parserdom.parse(xmlfile.getAbsolutePath());
 
Nut it throws un SAXUnrecognizedException , i think that the setFeature is not recognized, but I don't know how to do to set the Feature of balance-syntax-trees and pass the StackoverFlow exception.
 
thank you very much
 
Axel Osorio
Mexico City

Reply via email to