mmisw / mmiorr

Unmaintained old MMI ORR system (v2) -- New development at https://github.com/mmisw/orr
2 stars 1 forks source link

ontology with hash fragment separator not handled appropriately #213

Closed mmisw closed 9 years ago

mmisw commented 9 years ago

From caru...@gmail.com on November 08, 2009 22:30:15

What steps will reproduce the problem? 1. register an ontology file that uses hash (#) as fragment separator. See attached file as the case the uncovered this issue.

  1. then, access the registered ontology What is the expected output? properly captured ontology and usual functionality What do you see instead? The access to the ontology in the portal, http://mmisw.org/orr/#http://mmisw.org/ont/ooi-ci/cdm , failed with something like: http://mmisw.org/ont/ooi-ci/cdm (version 20091105T154357) Error loading model: Unexpected failure: HTTP/1.1 404 http://mmisw.org/ont/ooi-ci/cdm but then I couldn't reproduce the same error. Instead I get truncated/wrong contents in the portal.

Most likely, this issue is related with a wrong namespace/fragement separator handling.

Contents of the attached file:

<?xml version="1.0"?> <rdf:RDF xmlns=" http://mmisw.org/ont/ooi-ci/cdm# " xmlns:rdf=" http://www.w3.org/1999/02/22-rdf-syntax-ns# " xmlns:xsd=" http://www.w3.org/2001/XMLSchema# " xmlns:rdfs=" http://www.w3.org/2000/01/rdf-schema# " xmlns:owl=" http://www.w3.org/2002/07/owl# " xml:base=" http://mmisw.org/ont/ooi-ci/cdm ">

Created with TopBraid Composer/owl:versionInfo sea_water_temperature latest data from MBARI Mooring M2 sea_water_salinity sea_water_electrical_conductivity Monterey Bay Aquarium Research Institute This is data from a mooring located in the Monterey Bay. The mooring has instruments, etc.. **Attachment:** [cdm.owl](http://code.google.com/p/mmisw/issues/detail?id=213) _Original issue: http://code.google.com/p/mmisw/issues/detail?id=213_
mmisw commented 9 years ago

From caru...@gmail.com on December 22, 2009 00:02:42

Fixed. MMI Portal 1.7.2.alpha (20091221232305)

Tested with the attached files under my dev environment (noaa-tide-current.owl provided by Stephanie). Also, cdm.owl (re)registered at ORR successfully: http://mmisw.org/orr/#http://mmisw.org/ont/ooi-ci/cdm

Status: Fixed

Attachment: noaa-tide-current.owl