Skip to content

bug: navigation dies when using # (hash uris) #324

@rmfranken

Description

@rmfranken

Hi there,

still using this tool but I ran into an issue which I think should be addressed as it limits the use of your tool for many ontologies.

If a vocabulary uses # URIs (https://w3c.github.io/dpv/2.1/dpv/#StorageLocation), Skohub should either:

  • Generate proper id anchors in the corresponding HTML file (so Processing.html#Consult scrolls to the Consult section), OR

  • Provide an option to rewrite hash URIs into standalone pages (e.g., Consult.html).

Actual behavior:

  • No anchors are created, so navigating to #Consult results in no response on the page.

I see this is semi-expected behavior from your docs: "However, slash URIs are better supported than hash URIs."

I would love proper support for property hash uri's so I don't have to create semantically unneeded concepts to sit in between skohub and the hash-uri's!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions