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

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

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -