title: Jena SDB IRI validation
body: <p>I have got several strange IRIs that I want to insert into Jena SDB, but I got some error messages:</p>
  
  <ol>
  <li><a href="http://example.org/text/1234#offset_2311_2317_10-12%" rel="nofollow">http://example.org/text/1234#offset_2311_2317_10-12%</a><br>
  the error message is:<br>
  Code: 30/ILLEGAL_PERCENT_ENCODING in FRAGMENT: The host component a percent occurred without two following hexadecimal digits.</li>
  <li><a href="http://example.org/text/5678#offset_365_370_NDZ#2" rel="nofollow">http://example.org/text/5678#offset_365_370_NDZ#2</a><br>
  the error message is:<br>
  Code: 0/ILLEGAL_CHARACTER in FRAGMENT: The character violates the grammar rules for URIs/IRIs.</li>
  <li><a href="http://example.org/text/7890#offset_8872_8878__" rel="nofollow">http://example.org/text/7890#offset_8872_8878__</a>"Fren<br>
  the error message is:<br>
  Code: 4/UNWISE_CHARACTER in FRAGMENT: The character matches no grammar rules of URIs/IRIs. These characters are permitted in RDF URI References, XML system identifiers, and XML Schema anyURIs.    </li>
  </ol>
  
  <p>The string 10-12%, NDZ#2 and _"Fren are extracted from plain text document and I have to attach it directly at the back of the IRIs. So my question is: are they valid IRIs? If not, considering I need to attach plain text at the back of IRIs, how can I convert them to valid IRIs?</p>