So you are trying to figure out why Digester won't parse the XML correctly.
You need the debugger!
Just apply the following run-time switches:
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.digester.Digester=debug
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.digester.Digester.sax=info
where the levels (e.g. debug / info) at the end at the line are the levels you require.
(Note: the
-
D
is actually -D.
The console will spit out exactly what Digester is doing and it's all a whole lot easier to figure out.
Enjoy!
No comments:
Post a Comment