Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace declaration table missing (CLI) #708

Open
idomingu opened this issue Jun 6, 2024 · 2 comments
Open

Namespace declaration table missing (CLI) #708

idomingu opened this issue Jun 6, 2024 · 2 comments
Labels
bug pressing Will fix issue in next release
Milestone

Comments

@idomingu
Copy link

idomingu commented Jun 6, 2024

Describe the bug
Namespace declaration table is missing from section 1 (Introduction).

To Reproduce
Testing with the following sample ontology:

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

@base <http://example.org#> .

<https://example.org#> rdf:type owl:Ontology ;
    dc:creator "Nacho" ;
    dc:title "Awesome ontology" ;
    owl:versionInfo "1.0.0" .

###  http://xmlns.com/foaf/0.1/Person
foaf:Person rdf:type owl:Class ;
            rdfs:label "Person" .

Documentation generated running the following command:
java -jar widoco.jar -ontFile ontology/ontology.ttl -outFolder $dir -webVowl -uniteSections -oops -rewriteAll -getOntologyMetadata

Expected behavior
Table should be rendered at the end of section 1 (Introduction).

Screenshots

image

Environment:

  • Widoco release 1.4.24
  • Browser Safari, Firefox

Many thanks!

@dgarijo
Copy link
Owner

dgarijo commented Jun 6, 2024

can you pls try without the -uniteSections flag?

@dgarijo
Copy link
Owner

dgarijo commented Jun 6, 2024

I gave it a try. How curious, when running from the GUI it works well, when running from the CLI it generates an empty table of contents. I will have to have a look, since no error is produced.

@dgarijo dgarijo added the bug label Jun 6, 2024
@dgarijo dgarijo changed the title Namespace declaration table missing Namespace declaration table missing (CLI) Jun 6, 2024
@dgarijo dgarijo added this to the v1.4.xx milestone Jun 6, 2024
@dgarijo dgarijo added the pressing Will fix issue in next release label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pressing Will fix issue in next release
Projects
None yet
Development

No branches or pull requests

2 participants