I Started working on Stax Parser for past three months. I used to see data or text in the stax events while debugging. This used to help me a lot while working on my task. But from past 2days,there is weird behavior. When i debugged the project, i can only see events like this...[Stax Event #1], [Stax Event #4], [Stax Event #1], [Stax Event #4]
This is giving me hard time debugging. I am woodStox stax and java 1.6.
These are dependencies i am using
<dependency>
<groupId>javax.xml</groupId>
<artifactId>jsr173</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
<version>4.0.6</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.stream</groupId>
<artifactId>sjsxp</artifactId>
<version>1.0.2</version>
</dependency>
Do i need to change my settings to get back to normal behavior.
What code do you use to print output statements? Stax API always allows you to access any data events have; but it may not work by simply doing
event.toString()
.