Details
-
Type:
Bug
-
Status:
In Progress
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 4.1
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
Under your chair you will find:
git://github.com/bimargulies/get-element-text-test-case-ARQ.git
(clone and build with mvn install)
Then you want:
git://github.com/bimargulies/get-element-text-test-case-BOOM.git
(clone this, run mvn install, and expect to see the backtrace below).
This is thought to be invalid because reading the entire URL input stream into a byte array, and then putting the woodstox stream on top of that, works perfectly fine.
Unexpected EOF; was expecting a close tag for element <uri>
[INFO] at [row,col
[INFO] at com.hp.hpl.jena.sparql.resultset.XMLInputStAX$ResultSetStAX.staxError(XMLInputStAX.java:513)
[INFO] at com.hp.hpl.jena.sparql.resultset.XMLInputStAX$ResultSetStAX.hasNext(XMLInputStAX.java:223)
[INFO] at boom.Boom.main(Boom.java:28)
[INFO] Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <uri>
[INFO] at [row,col {unknown-source}
]: [70,55]
[INFO] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:676)
[INFO] at com.ctc.wstx.sr.BasicStreamReader.throwUnexpectedEOF(BasicStreamReader.java:5439)
[INFO] at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2673)
[INFO] at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1050)
[INFO] at com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.java:687)
[INFO] at com.hp.hpl.jena.sparql.resultset.XMLInputStAX$ResultSetStAX.getOneSolution(XMLInputStAX.java:483)
[INFO] at com.hp.hpl.jena.sparql.resultset.XMLInputStAX$ResultSetStAX.hasNext(XMLInputStAX.java:219)
[INFO] ... 1 more
Ok, I can see the failure, which is a good first step.
Now it would be good to actually figure out what kind of input there is... it seems like this occurs with sizable data?