users@glassfish.java.net

Re: JSP/JSF and XML

From: <glassfish_at_javadesktop.org>
Date: Fri, 20 Apr 2007 12:50:52 PDT

> 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