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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -