I have a org.apache.jena.riot.RiotException: Bad character in IRI (space)
exception when reading an OWL/RDL model in Jena.
I know that it's because I have a space in an IRI declaration in an XML namespace declaration (which is not allowed), but as I am using Jena in an open Source tool I developed to create the graph corresponding to an ontology, I would like to know the number of the line in the (XML) model where the error occur. Is it possible in Jena when catching this exception?