xref, conref validation issue
Post here questions and problems related to editing and publishing DITA content.
xref, conref validation issue
Hello,
I have some topics that include conrefs to topics with xrefs that include key references to target topics. When I validate with Oxygen's validation in DITA Map Manager, the following errors occur:
Topic "<filename>" is referenced in the DITA map as "resource-only". Any cross reference to it will result in a broken link.
However, these topics are not referenced as resource-only. The only resource-only references are in maps that defines keys. So, why do these errors occur?
The attached xref_key_issue.zip illustrates the issue. Here are details:
The attached doctypes.zip includes the DTDs used for validation
I have some topics that include conrefs to topics with xrefs that include key references to target topics. When I validate with Oxygen's validation in DITA Map Manager, the following errors occur:
Topic "<filename>" is referenced in the DITA map as "resource-only". Any cross reference to it will result in a broken link.
However, these topics are not referenced as resource-only. The only resource-only references are in maps that defines keys. So, why do these errors occur?
- xref_key_issue.zip
- (5.59 KiB) Downloaded 18 times
- The bookmap in the AC_F5-DE sub-directory is used to validate
- The bookmap references the AC_F5-DE/parameters/m_InterlockBraking-ApplicationSetup.dita and AC_F5-DE/parameters/m_FineTuning-Response-SpeedMode.dita topics, but not as resource-only
- The bookmap also references a submap in the general-fos/parameters sub-directory, menus_keys.ditamap, that defines the fine_tuning_menu-speed-mode key.
- The key points to the m_FineTuning-Response-SpeedMode.dita topic in general-fos/parameters
- The key is referenced in the xref in general-fos/parameters/m_InterlockBraking-ApplicationSetup.dita
The attached doctypes.zip includes the DTDs used for validation
- doctypes.zip
- (27.25 KiB) Downloaded 19 times
-
- Posts: 78
- Joined: Wed Jun 22, 2016 2:48 pm
Re: xref, conref validation issue
Post by adrian_sorop »
Hi,
The fine_tuning_menu-speed-mode keydef does not specify the processing-role attribute, so the default (resource-only) is used
https://docs.oasis-open.org/dita/dita/v ... eydef.html
Setting the processing-role with other value than resource-only should fix the issue.
Regards,
Adrian S.
The fine_tuning_menu-speed-mode keydef does not specify the processing-role attribute, so the default (resource-only) is used
https://docs.oasis-open.org/dita/dita/v ... eydef.html
Setting the processing-role with other value than resource-only should fix the issue.
Regards,
Adrian S.
Adrian Sorop
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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