DOTX060W is fired when using correct glossary entry reference
See original GitHub issueExpected Behavior
No warning should be fired, because the DITA code should be correct.
bookmap.ditamap
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap>
<booktitle>
<mainbooktitle>test</mainbooktitle>
</booktitle>
<chapter href="chapter.dita"/>
<backmatter>
<mapref href="glossary.ditamap"/>
</backmatter>
</bookmap>
glossary.ditamap
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Glossary</title>
<glossref keys="GLS_Test" href="GLS_Test.dita"/>
</map>
GLS_Test.dita
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="GLS_Test">
<glossterm>Test</glossterm>
<glossdef>This is just a test.</glossdef>
<glossBody>
<glossSurfaceForm>Test (T)</glossSurfaceForm>
<glossAlt>
<glossAcronym>T</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
chapter.dita
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="chapter">
<title>test</title>
<body>
<p><abbreviated-form keyref="GLS_Test"/></p>
</body>
</topic>
Actual Behavior
Warning is fired
Possible Solution
Debug/refactor glossary processing
Steps to Reproduce
- Download and extract ZIP archive.
- Call
dita --input bookmap.ditamap --format pdf2 -v
.
Copy of the error message, log file or stack trace
transform.topic2fo.main:
...
[xslt] file:/C:/Users/eike/Desktop/abbreviation-test/chapter.dita:6:49: [DOTX060W][WARN]: Key 'GLS_Test' was used in an abbreviated-form element, but the key is not associated with a glossary entry. Abbreviated-form should ONLY be used to reference to a glossary entry.
Environment
- DITA-OT version: 2.5.3
- Operating system and version: Windows 7
- How did you run DITA-OT? dita cmd
- Transformation type: pdf2
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Glossary of Common Site Terms - ClinicalTrials.gov
Whether the clinical study ended according to the protocol or was terminated does not affect this date. For clinical studies with more than...
Read more >Glossary of Legal Terms | United States Courts
A term used to describe evidence that may be considered by a jury or judge in civil and criminal cases. Adversary proceeding. A...
Read more >Glossary : U.S. Bureau of Labor Statistics
Note: This term is used to describe a policy that pays additional benefits to the beneficiary in these cases. (The National Compensation Survey...
Read more >Glossary of Legal Terminology - English to Spanish
Dismissed from the Record Queda borrado/tachado del acta/de las actas. District Attorney Fiscal, fiscal de distrito, fiscal público. Page 12. Disorderly Conduct ......
Read more >Part 2 - Definitions of Words and Terms | Acquisition.GOV
(2) Provides cross-references to other definitions in the FAR of the same ... Acquisition means the acquiring by contract with appropriated ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into this issue yesterday with OT version 3.3.3.
This issue still persists in version 3.7.1. I changed the code in file dita-ot-3.7.1/plugins/org.dita.pdf2/xsl/fo/abbrev-domain.xsl as suggested by simtind above and it fixed the problem. Please can you fix this in the next release.