[Bug 205] How to handle continous stream of XML

[email protected] Sat, 28 Aug 2004 15:50:53 -0500 (EST)
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=205

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|NEW                         |ASSIGNED



------- Additional Comments From [email protected]  2004-08-28 15:50 -------
your approach will nto work as you are sending complete XML documents multiple
times and XML parser can only parse one document - any XML content after first
document will lead to error sucha as:

[ 20:35:21.675 Thread-0: stream_parsing.StreamServer.java:45 main 7] EXCEPTION:
org.xmlpull.v1.XmlPullParserException: could not parse: :::::9:13:The processing
instruction target matching "[xX][mM][lL]" is not allowed. caused by:
:::::9:13:The processing instruction target matching "[xX][mM][lL]" is not
allowed. exception: org.xmlpull.v1.XmlPullParserException: could not parse:
:::::9:13:The processing instruction target matching "[xX][mM][lL]" is not
allowed. caused by: :::::9:13:The processing instruction target matching
"[xX][mM][lL]" is not allowed.
	at org.xmlpull.v1.xni2xmlpull1.X2Iterator.nextImpl(X2Iterator.java:726)
	at org.xmlpull.v1.xni2xmlpull1.X2Iterator.nextState(X2Iterator.java:734)
	at org.xmlpull.v1.xni2xmlpull1.X2Parser.nextImpl(X2Parser.java:1036)
	at org.xmlpull.v1.xni2xmlpull1.X2Parser.next(X2Parser.java:902)
	at stream_parsing.StreamServer.main(StreamServer.java:35)
	at stream_parsing.Run$1.run(Run.java:9)
	at java.lang.Thread.run(Thread.java:534)

because secnd document starts with <?xml ... which si illegal anywhere but as
the first thing in input




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/2U_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xmlpull-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/