ontopia / ontopia

The open source tools for building, maintaining and deploying Topic Maps-based applications.
https://ontopia.net
Apache License 2.0
54 stars 12 forks source link

RDFToTopicMapConverter throws MalformedURLException for double byte character #366

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If "RDF URI reference" in "rdf:about" attribute includes double byte character, 
RDFToTopicMapConverter throws MalformedURLException for the double byte 
character.

Would you support double byte character in RDF URI reference?

The error message is the following:

Exception in thread "main" net.ontopia.utils.OntopiaRuntimeException: 
java.net.MalformedURLException: Illegal character in fragment: 'タ' at 
position 41 of: 'http://www.infocom.co.jp/dsp/sample#MAIN-タイトル読み

The problem part of the RDF is the following:

  <rdf:Description rdf:about="http://www.infocom.co.jp/dsp/sample#MAIN-タイトル読み">

I attach the RDF file and the our test program.

Best regards

Motomu Naito

Original issue reported on code.google.com by motomu.n...@gmail.com on 1 Mar 2011 at 3:30

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by motomu.n...@gmail.com on 1 Mar 2011 at 3:34

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by lar...@gmail.com on 18 Aug 2011 at 7:03