Skip to content

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

@oktie

Description

@oktie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions