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

Assemblies: daps fails to detect undefined entities in tasks, references, concepts or glues #732

Open
taroth21 opened this issue Jun 11, 2024 · 0 comments

Comments

@taroth21
Copy link
Contributor

Problem description

If I misspell an entity in the assembly file (*.asm), daps will detect the undefined entity and return an error message:

✔ /local/git/GH/doc-modular [taroth/test_entity L|✚ 2] 
17:19 $ daps -d DC-minimal-vm validate
/local/git/GH/doc-modular/articles/sle-minimal-vm.asm.xml:54: parser error : Entity 'taroth' not defined
              Complete revision incorporation feedback and learnings by &taroth;
                                                                               ^
Fatal error:
/local/git/GH/doc-modular/build/.assembly/minimal-vm.xml:
    CRITICAL: Entity 'taroth' not defined (line 16 column 81)
                                                                               ^
Fatal error:
/local/git/GH/doc-modular/build/.assembly/minimal-vm.xml:
    CRITICAL: Entity 'taroth' not defined (line 16 column 81)

However, if an entity is misspelled in a reference, concepts, task or glue topic, daps does not detect the undeclared entity and will (erroneously) report: Document is valid.

Expected behavior

daps should detect missing entity declarations anywhere within snippets used for the assembly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant