Skip to content
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

"&#26" is an invalid XML character error #4

Open
oktie opened this issue Oct 13, 2015 · 0 comments
Open

"&#26" is an invalid XML character error #4

oktie opened this issue Oct 13, 2015 · 0 comments

Comments

@oktie
Copy link
Owner

oktie commented Oct 13, 2015

Copied from Google Code: https://code.google.com/p/linkedct/issues/detail?id=3

Reported by amrapali.j.zaveri, Jun 2, 2011

When I use SILK [1] to create links between LinkedCT and (Bio2RDFs) PubMed [2] for diseases, and it gives me an error, which says: "Exception in thread "main" org.xml.sax.SAXParseException: Character reference "&#26" is an invalid XML character."

This seems to be because there are control sequences inside the output, as follows:

http://data.linkedct.org/resource/condition/17763
Transfusional Iron Overload in �-thalassemia Major

For example, here is one triple:
http://data.linkedct.org/resource/condition/17763 http://data.linkedct.org/resource/linkedct/condition_name "Transfusional Iron Overload in �-thalassemia Major"
which contains the "&#26" character, which is gives the error as the java sax parser fails on trying to parse them and thus SILK fails.

[1] http://www.assembla.com/wiki/show/silk/Link_Specification_Language
[2] http://ckan.net/package/bio2rdf-pubmed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant