{"action":"closed","issue":{"url":"https://api.github.com/repos/graybeal/ont/issues/316","labels_url":"https://api.github.com/repos/graybeal/ont/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/graybeal/ont/issues/316/comments","events_url":"https://api.github.com/repos/graybeal/ont/issues/316/events","html_url":"https://github.com/graybeal/ont/issues/316","id":54942344,"number":316,"title":"ontology with hash fragment separator not handled appropriately","user":{"login":"graybeal","id":1266896,"avatar_url":"https://avatars.githubusercontent.com/u/1266896?v=3","gravatar_id":"","url":"https://api.github.com/users/graybeal","html_url":"https://github.com/graybeal","followers_url":"https://api.github.com/users/graybeal/followers","following_url":"https://api.github.com/users/graybeal/following{/other_user}","gists_url":"https://api.github.com/users/graybeal/gists{/gist_id}","starred_url":"https://api.github.com/users/graybeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graybeal/subscriptions","organizations_url":"https://api.github.com/users/graybeal/orgs","repos_url":"https://api.github.com/users/graybeal/repos","events_url":"https://api.github.com/users/graybeal/events{/privacy}","received_events_url":"https://api.github.com/users/graybeal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graybeal/ont/labels/1+star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/graybeal/ont/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/portal","name":"portal","color":"FFFFFF"},{"url":"https://api.github.com/repos/graybeal/ont/labels/Priority-Critical","name":"Priority-Critical","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-20T21:27:42Z","updated_at":"2015-01-20T21:27:49Z","closed_at":"2015-01-20T21:27:49Z","body":"_From [caru...@gmail.com](https://code.google.com/u/113886747689301365533/) on November 08, 2009 22:30:15_\n\nWhat steps will reproduce the problem? 1. register an ontology file that uses hash (#) as fragment separator. See\r\nattached file as the case the uncovered this issue.\r\n2. 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\r\nsomething like: http://mmisw.org/ont/ooi-ci/cdm (version 20091105T154357)\r\nError 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\r\ncontents in the portal. \r\n\r\nMost likely, this issue is related with a wrong namespace/fragement\r\nseparator handling.\r\n\r\n\r\nContents of the attached file:\r\n\r\n\\<?xml version=\"1.0\"?>\r\n\\<rdf:RDF\r\n    xmlns=\" http://mmisw.org/ont/ooi-ci/cdm# \"\r\n    xmlns:rdf=\" http://www.w3.org/1999/02/22-rdf-syntax-ns# \"\r\n    xmlns:xsd=\" http://www.w3.org/2001/XMLSchema# \"\r\n    xmlns:rdfs=\" http://www.w3.org/2000/01/rdf-schema# \"\r\n    xmlns:owl=\" http://www.w3.org/2002/07/owl# \"\r\n  xml:base=\" http://mmisw.org/ont/ooi-ci/cdm \">\r\n  \\<owl:Ontology rdf:about=\"\">\r\n    \\<owl:versionInfo rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>Created with TopBraid Composer</owl:versionInfo>\r\n  \\</owl:Ontology>\r\n  \\<owl:Class rdf:ID=\"Dataset\"/>\r\n  \\<rdf:Property rdf:ID=\"abstract\"/>\r\n  \\<rdf:Property rdf:ID=\"organization\"/>\r\n  \\<rdf:Property rdf:ID=\"variable\"/>\r\n  \\<rdf:Property rdf:ID=\"title\"/>\r\n  \\<Dataset rdf:ID=\"Dataset_1\">\r\n    \\<variable rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>sea_water_temperature</variable>\r\n    \\<title rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>latest data from MBARI Mooring M2 \\</title>\r\n    \\<variable rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>sea_water_salinity</variable>\r\n    \\<variable rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>sea_water_electrical_conductivity</variable>\r\n    \\<organization rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>Monterey Bay Aquarium Research Institute</organization>\r\n    \\<abstract rdf:datatype=\" http://www.w3.org/2001/XMLSchema#string \"\r\n    \\>This is data from a mooring located in the Monterey Bay. The mooring\r\nhas instruments, etc..</abstract>\r\n  \\</Dataset>\r\n\\</rdf:RDF>\r\n\r\n\\<!-- Created with TopBraid Composer -->\n\n**Attachment:** [cdm.owl](http://code.google.com/p/mmisw/issues/detail?id=213)\n\n_Original issue: http://code.google.com/p/mmisw/issues/detail?id=213_"}}