@Override public String resolveIRI(String uriStr, long line, long col) { return prologue.getResolver().resolveToString(uriStr) ; }
@Override protected String resolveQuotedIRI(String iriStr, int line, int column) { iriStr = stripQuotes(iriStr); iriStr = unescapeIRI(iriStr); try { // Used to be errors (pre Jena 2.12.0) // .resolve(iriStr) IRIResolver resolver = getPrologue().getResolver(); IRI iri = resolver.resolve(iriStr) ; // IRI iri = resolver.resolveSilent(iriStr) ; // if ( true ) // CheckerIRI.iriViolations(iri, profile.getErrorHandler(), line, column) ; // iriStr = iri.toString() ; } catch (JenaURIException ex) { throw new RiotParseException(ex.getMessage(), line, column) ; } // IRI unwise characters are allowed sometimes but these are really, really // unwise (inserted by \ u escaping to by pass syntax). if ( iriStr.contains("<") || iriStr.contains(">") ) throw new RiotParseException("Illegal character '<' or '>' in IRI: '"+iriStr+"'", line, column); return getPrologue().getResolver().resolveToString(iriStr); } //