-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML 1.1 for sparql-results is incompatible with Jena clients #405
Comments
@jimkont: So, Jena (or its parser engine) does not support results in XML 1.1 format ? Is there a simple test case for recreating this behaviour ? |
This is probably a bug in the xml parsing library Jena that is using (Xerces).
Unless this is important, I suggest you revert this commit back until a fix is made in Jena. |
@jimkont: OK, i have been able to recreate and reported to development to look into ... |
@jimkont: The commit has been reverted: http://sourceforge.net/p/virtuoso/virtuoso-opensource/ci/f1cf34ad3dec2bf1db53a29c311d1b2a2662b994 The dbpedia binary will soon be updated with this update ... |
Noticed that already! Thanks a lot @HughWilliams |
So I, who have been waiting for this fix since last September, have to wait longer because of other buggy software? Surely the right way to do this was to get the Xerxes software fixed. |
Has anybody filed a bug report with the Xerces project? (Or alternatively, could someone share the appropriate issue tracker here?) |
On further examination, it appears that it may not be a current Xerces bug. A comment in b7bf790 indicates that the problem is with "the standard OpenJDK XML parser" which is apparently based on Xerces 2.7. There are workarounds given at https://issues.apache.org/jira/browse/JENA-942. So, what should be done? Something is pulling in an old buggy XML parser. This appears to be either Jena or OpenJDK. I'm finding it astonishing that progress is being blocked today because there is still software that does not correctly handle XML 1.1, which came out in 2006. I think that the best way forward is to produce a method for not using the offending software and then tell people who are using it to use the new method Software that can't handle XML 1.1 should be put in the ash can. |
The following commit introduced problems with Jena clients (probably due to a xerces library bug).
b7bf790
The problems were reported by users of http://dbpedia.org but it will affect all VOS instanced updated to latest develop branch
An example using Jena that shows the problem is
and produces this stack trace
The text was updated successfully, but these errors were encountered: