cannot encode (char) in contentXML

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • cannot encode (char) in contentXML
  • Stack trace

    • com.hp.hpl.jena.shared.CannotEncodeCharacterException: cannot encode (char) in contentXML at com.hp.hpl.jena.rdf.model.impl.Util.substituteEntitiesInElementContent( at com.hp.hpl.jena.xmloutput.impl.Basic.writeLiteral( at com.hp.hpl.jena.xmloutput.impl.Basic.writePredicate( at com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements( at com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements( at com.hp.hpl.jena.xmloutput.impl.Basic.writeBody( at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody( at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write( at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.saveModel(Unknown Source) at Source) at Source) at edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(Unknown Source) at Source) at MiningExtract.BuildHealthProvider.IntegrateOntology( at MiningExtract.BuildHealthProvider.main(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.