java - How to tell Digester to stop parsing XML? -
i use apache digester parse big xml file. need gracefully stop parsing xml when particular tag value found. in case it's kind of metadata @ beginning of xml.
the solution i've found far create rule throws exception. feel rather hack proper solution.
can tell digester stop processing , skip rest of xml?
you looking way short-circuit normal processing when terminating condition encountered. exception, catch in driver, way go.
Comments
Post a Comment