Page 1 of 1
Documentum CMS specific attributes causing DITA validation error
Posted: Wed Oct 10, 2012 6:14 pm
by eloralon
Hello,
I have just configured Documentum 6.7 with oXygen 14 and I am able to browse and check out DITA documents from the repository.
But the only problem I have now is the following error regarding the dtd. When I check out dita documents they get CMS specific attributes, which cause oXygen to complain regarding document validation as shown below:
Scenario name: DITA
Schema: C:\Program Files\Oxygen XML Editor 14\frameworks\dita\DITA-OT\dtd\technicalContent\dtd\topic.dtd
Document type: DITA
Engine name: Xerces
Severity: error
Description: Attribute "dctm:obj_id" must be declared for element type "topic".
What would be the best way to address the above error?
Thank you.
Re: Documentum CMS specific attributes causing DITA validation error
Posted: Wed Oct 17, 2012 3:13 pm
by Radu
Hi,
Sorry for the delay.
From what I see you have three options:
1) Contact Documentum and see if there is a way to avoid automatically generating these extra attributes in the XML content on the server side.
2) Create a DITA DTD specialization which accepts the extra attribute and then integrate this specialization in the DITA OT bundled with Oxygen:
http://www.oxygenxml.com/doc/ug-oxygen/ ... ation.html
3) We have some Java API which would allow you to add a filter to ignore certain errors. So if you have Java skills I could give you more details about this approach.
Regards,
Radu
Re: Documentum CMS specific attributes causing DITA validation error
Posted: Wed Oct 17, 2012 3:42 pm
by eloralon
Thanks for your Radu,
I think the second suggestion is the best for me for now. Could you please provide a little more details as to the steps to take?
I will really appreciate your help on this.
Re: Documentum CMS specific attributes causing DITA validation error
Posted: Wed Oct 17, 2012 4:26 pm
by eloralon
Hello again Radu,
I thought it might important to send the below snippet for easy reference. oXygen highlights the following namespace as unknown:
Code: Select all
xmlns:dctm="http://www.documentum.com"
<topic xmlns:dctm="http://www.documentum.com" audience="old_doc" id="2190154" ditaarch:DITAArchVersion="1.0" domains="(topic ui-d) (topic hi-d) (topic pr-d) (topic sw-d) (topic ut-d)" class="- topic/topic " dctm:obj_status="Default" dctm:obj_id="178654309431" dctm:version_label="CURRENT" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
<title id="10089765" class="- topic/title "> Test content</title>
<body xmlns:dctm="http://www.documentum.com" class="- topic/body ">
The above code shows the additional attributes I was referring to in my previous mail.
Hopefully this can help in solving my issues.
Thanks
Re: Documentum CMS specific attributes causing DITA validation error
Posted: Wed Oct 17, 2012 4:52 pm
by eloralon
Sorry Radu,
I saw all the links you provided in your reply. I will first go through them and come back with questions if necessary.
Thanks.