> found : java.lang.Object
> required: javax.xml.stream.events.XMLEvent
> XMLEvent e = r.next();
next() returns an Object which you must cast to XMLEvent, ie:
XMLEvent e = (XMLEvent) r.next();
[Message sent by forum member 'wfay' (wfay)]
http://forums.java.net/jive/thread.jspa?messageID=213465