DITA WebHelp Responsive related-links
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
DITA WebHelp Responsive related-links
Hi there!
I've grouped glossentry elements under glossgroup in files. When I generate WebHelp Responsive output I have got some errors of a kind:
But result is OK. What's wrong?
I've grouped glossentry elements under glossgroup in files. When I generate WebHelp Responsive output I have got some errors of a kind:
Code: Select all
Ambiguous rule match for /glossgroup/glossentry[1]/related-links[1]/link[1]
Ambiguous rule match for /glossentry/related-links[1]/link[1]
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: DITA WebHelp Responsive related-links
Hi Dr. ABacus,
We could not reproduce the warnings, using the latest version and build of oxygen XML Editor available from our website.
However, those seem to be just warnings from DITA OT.
If you could send some a sample DITA Map reduced to an as minimal form as possible that you could reproduce the warning with, we could act further and forward the issue to the DITA OT.
However, as they are just warnings, not errors, the users should not worry as long as the output is correct.
Regards,
Costin
We could not reproduce the warnings, using the latest version and build of oxygen XML Editor available from our website.
However, those seem to be just warnings from DITA OT.
If you could send some a sample DITA Map reduced to an as minimal form as possible that you could reproduce the warning with, we could act further and forward the issue to the DITA OT.
However, as they are just warnings, not errors, the users should not worry as long as the output is correct.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: DITA WebHelp Responsive related-links
OK. This is test map:
eny.dita:
And Transformation problems:
Code: Select all
<bookmap xml:lang="en-GB">
<booktitle>
<mainbooktitle>Dr. ABacus' TEST</mainbooktitle>
</booktitle>
<bookmeta/>
<frontmatter>
<booklists>
<toc/>
<tablelist/>
<figurelist/>
</booklists>
</frontmatter>
<part navtitle="TEST"/>
<backmatter>
<booklists>
<glossarylist>
<topicset href="glossary/eny.dita" id="eny">
<keydef href="glossary/eny.dita#yarm" keys="yarm"/>
<keydef href="glossary/eny.dita#yc" keys="yc"/>
<keydef href="glossary/eny.dita#yd" keys="yd"/>
</topicset>
</glossarylist>
<indexlist/>
</booklists>
</backmatter>
</bookmap>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossgroup PUBLIC "-//OASIS//DTD DITA Glossary Group//EN" "glossgroup.dtd">
<glossgroup id="eny">
<title>Y</title>
<glossentry id="yarm">
<glossterm>Y ARM</glossterm>
<glossdef>Lateral Arm</glossdef>
</glossentry>
<glossentry id="yc">
<glossterm>YC</glossterm>
<glossdef>Economy Class</glossdef>
<related-links>
<link href="rua.dita#aviaticket"/>
</related-links>
</glossentry>
<glossentry id="yd">
<glossterm>YD</glossterm>
<glossdef>Yaw Damper/<text xml:lang="ru">Демпфер рыскания</text></glossdef>
</glossentry>
</glossgroup>
Code: Select all
Ambiguous rule match for /glossgroup/glossentry[1]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[3]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[5]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[7]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[2]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[6]/related-links[1]/link[1]
Ambiguous rule match for /glossgroup/glossentry[8]/related-links[1]/link[1]
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: DITA WebHelp Responsive related-links
Hi,
Thank you for the samples!
I could not reproduce those warnings on our side based only on the samples you sent.
I used oXygen XML Editor v20 with the built-in DITA-OT 2.x and the predefined (unmodified) DITA Map WebHelp Responsive scenario.
However, after further investigation, it seems that the messages of this type are reported by an XSLT processor when encounters two or templates with same import precedence and priority. See the M. Kay answer from the next thread:
https://stackoverflow.com/questions/236 ... nt-in-xslt
Most probably you have a custom DITA-OT, or an XSLT customization that generates this.
So you have to identify these templates and set a priority for them if they are located in your customization.
Regards,
Costin
Thank you for the samples!
I could not reproduce those warnings on our side based only on the samples you sent.
I used oXygen XML Editor v20 with the built-in DITA-OT 2.x and the predefined (unmodified) DITA Map WebHelp Responsive scenario.
However, after further investigation, it seems that the messages of this type are reported by an XSLT processor when encounters two or templates with same import precedence and priority. See the M. Kay answer from the next thread:
https://stackoverflow.com/questions/236 ... nt-in-xslt
Most probably you have a custom DITA-OT, or an XSLT customization that generates this.
So you have to identify these templates and set a priority for them if they are located in your customization.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: DITA WebHelp Responsive related-links
Alas, I have this issue when I use unmodified WebHelp Responsive scenario...Most probably you have a custom DITA-OT, or an XSLT customization that generates this.
So you have to identify these templates and set a priority for them if they are located in your customization.
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: DITA WebHelp Responsive related-links
Hi,
You might be using a custom DITA-OT or other XSLT customization, not necessary a WebHelp Responsive scenario customization.
Could you please test using the following configuration:
- a clean installation of oXygen XML in a clean new installation directory;
- please use the built-in DITA-OT (Option > Preferences > DITA > Built-in DITA-OT...);
- run the default DITA Map WebHelp Responsive transformation scenario.
Regards,
Ionela
You might be using a custom DITA-OT or other XSLT customization, not necessary a WebHelp Responsive scenario customization.
Could you please test using the following configuration:
- a clean installation of oXygen XML in a clean new installation directory;
- please use the built-in DITA-OT (Option > Preferences > DITA > Built-in DITA-OT...);
- run the default DITA Map WebHelp Responsive transformation scenario.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: DITA WebHelp Responsive related-links
All this was done. The result is the same.You might be using a custom DITA-OT or other XSLT customization, not necessary a WebHelp Responsive scenario customization.
Could you please test using the following configuration:
- a clean installation of oXygen XML in a clean new installation directory;
- please use the built-in DITA-OT (Option > Preferences > DITA > Built-in DITA-OT...);
- run the default DITA Map WebHelp Responsive transformation scenario.
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service