Steve,
Is this RDF/XML, N-triples or Turtle data?
It is easiest to reconstruct if you have a small example program to run
on various versions or small example data to feed into "riot".
This area may have changed a bit and its hard to remember all the details.
Andy
On 27/06/2023 15:19, Steve Vestal wrote:
I am getting an org.apache.jena.riot.RiotException: Bad character in IRI
(space): <http://galois.com/cameo/CubeSat[space]...>, but I can't figure
out how to get the line and column.
The above is the complete getMessage() string. Looking at a stack dump,
the ErrorHandling Factory code
/** report an error */
@Override
public void error(String message, long line, long col) {
logError(message, line, col) ;
throw new RiotException(fmtMessage(message, line, col)) ;
}
makes it look like the line and column number should be displayed. IIRC
that used to be the case, but it is not here.
How do I get those two piece of information to report to users? I can't
find a way to configure the org.apache.jena.riot.SysRIOT.fmtMessage method.
I am using Jena 4.5.0.