users@glassfish.java.net

Re: sjsxp - reading multiple 'docs' through the same socket? possible?

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Aug 2007 14:53:16 PDT

Hi,

 SJSXP does not support this, documents must be bona fide XML. However, Woodstox, now also part of Glassfish includes support for fragments. See Bhakti's blog on how to enable Woodstox,

http://weblogs.java.net/blog/bhaktimehta/archive/2007/06/woodstox_in_gla_1.html

 and this javadoc on how to enable fragments,

http://woodstox.codehaus.org/3.2.1/javadoc/com/ctc/wstx/api/WstxInputProperties.html#PARSING_MODE_FRAGMENT

 Hope this helps.
[Message sent by forum member 'spericas' (spericas)]

http://forums.java.net/jive/thread.jspa?messageID=230894