Aditional Validation arror in Oxygen 23.1 - Referenced topic ID "000741" not found.
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 51
- Joined: Mon Oct 01, 2012 3:05 pm
Aditional Validation arror in Oxygen 23.1 - Referenced topic ID "000741" not found.
Hello,
I get an additional validation error in Eclipse Oxygen for a conref reference.
The conref is on the <hazardstatement> to a file that is laying right next to this document.
The error is: Referenced topic ID "000741" not found.
Any Ideas where this validation error is comming from and why I do not get in an Oxygen 22?
BEst Regards
Stefan
This is my document content:
I get an additional validation error in Eclipse Oxygen for a conref reference.
The conref is on the <hazardstatement> to a file that is laying right next to this document.
The error is: Referenced topic ID "000741" not found.
Any Ideas where this validation error is comming from and why I do not get in an Oxygen 22?
BEst Regards
Stefan
This is my document content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd" [
]><?xml-stylesheet type="text/css" href="dita.css"?>
<task xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
domains="(topic task) (topic abbrev-d) a(props deliveryTarget) (topic equation-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic markup-d) (topic mathml-d) (topic pr-d) (topic relmgmt-d) (topic sw-d) (topic svg-d) (topic ui-d) (topic ut-d) (topic markup-d xml-d) (topic task strictTaskbody-c) "
id="X000164" xml:lang="de-DE" class="- topic/topic task/task " ditaarch:DITAArchVersion="1.3">
<?graphic_path C:\Users\stefan.noebauer\.TechPubStudio\kgu021285-02\TechPubStudio\graphics/?>
<?language de-DE?>
<?versionNumber A.2?>
<?lifecyclestate Working?>
<?topicTypeName DITA Task?>
<?xmlNumber X000164?>
<?tag?>
<?className DitaTaskTopic?>
<?privileges DKOW?>
<title class="- topic/title ">SNO Task</title>
<taskbody>
<context id="context_ev5_1h5_kqb">
<hazardstatement
class="+ topic/note hazard-d/hazardstatement " conref="000741.xml#000741"
xml:lang="de-DE">
<messagepanel id="messagepanel_xsj_vk5_kqb">
<typeofhazard/>
<howtoavoid/>
</messagepanel>
</hazardstatement>hjhjh0</context>
</taskbody>
</task>
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Senior Solution Architect
KGU-Consulting GmbH
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Aditional Validation arror in Oxygen 23.1 - Referenced topic ID "000741" not found.
Hi Stefan,
I'm not sure, Oxygen seems to complain the ID "000741" is not a topic ID defined in the "000741.xml" XML document.
Can you maybe put together a small DITA project with both source XML document and target XML document and email it to us (support@oxygenxml.com).
Regards,
Radu
I'm not sure, Oxygen seems to complain the ID "000741" is not a topic ID defined in the "000741.xml" XML document.
Can you maybe put together a small DITA project with both source XML document and target XML document and email it to us (support@oxygenxml.com).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 51
- Joined: Mon Oct 01, 2012 3:05 pm
Re: Aditional Validation arror in Oxygen 23.1 - Referenced topic ID "000741" not found.
This is the hazardStatement document 000741.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hazardstatement PUBLIC "-//OASIS//DTD DITA Topic//EN"
"topic.dtd">
<hazardstatement class="+ topic/note hazard-d/hazardstatement "
id="000741" type="attention" xml:lang="de-DE"><?graphic_path C:\Users\steffen.vogel\.TechPubStudio\kgu021285-02\TechPubStudio\graphics/?><?topicTypeName DITA Hazardstatement?><?className Fragment?><?lifecyclestate Working?><?xmlNumber 000741?><?language de-DE?><?privileges DKOW?><?tag ?><?title MyHazard?>
<messagepanel class="+ topic/ul hazard-d/messagepanel " id="messagepanel_s34_wzk_vpb">
<typeofhazard class="+ topic/li hazard-d/typeofhazard ">Blabla</typeofhazard>
<howtoavoid class="+ topic/li hazard-d/howtoavoid ">Blabla</howtoavoid>
</messagepanel>
</hazardstatement>
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Senior Solution Architect
KGU-Consulting GmbH
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Aditional Validation arror in Oxygen 23.1 - Referenced topic ID "000741" not found.
Hi Stefan,
According to the DITA 1.3 specification the conref value should have the pattern:
https://www.oxygenxml.com/dita/1.3/spec ... ssing.html
But <hazardstatement> is not a DITA topic, meaning that it's class attribute does not contain the "topic/topic" pattern.
So in my opinion what you are doing, having a hazardstatement element in a separate file and attempting to conref to it is not correct according to the DITA standard, it may work when published as the publishing engine may not impose the standard.
From what I remember we added some extra validation checks in recent versions of Oxygen to better obey the standard.
Regards,
Radu
According to the DITA 1.3 specification the conref value should have the pattern:
https://www.oxygenxml.com/dita/1.3/spec ... ssing.html
Code: Select all
filename.dita#topicId/elementId
So in my opinion what you are doing, having a hazardstatement element in a separate file and attempting to conref to it is not correct according to the DITA standard, it may work when published as the publishing engine may not impose the standard.
From what I remember we added some extra validation checks in recent versions of Oxygen to better obey the standard.
Regards,
Radu
Radu Coravu
<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