Page 1 of 1

DOTJ013E ERROR

Posted: Wed Aug 05, 2015 2:35 pm
by nagang
Hello,

I have created a <glossary> topic as below

Code: Select all

<glossentry id="glossentry_eh3_lg3_xs">
<glossterm>Application Programming Interface (API)</glossterm>
<glossdef></glossdef>
<glossBody>
<glossSurfaceForm>Application Programming Interface (API)</glossSurfaceForm>
<glossAlt>
<glossAcronym>API</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
And included it in the bookmap as below:

Code: Select all


 <backmatter>
<booklists>
<glossarylist>
<topicref keys="API" href="g_sample.dita"></topicref>
</glossarylist>
</booklists>
</backmatter>
And I have used this term in <abbreviated-form> in a topic as

Code: Select all

 <p>ABBR: <abbreviated-form keyref="API"></abbreviated-form> TERM: <term keyref="API"></term>The paragraph is the main tag for entering text. It can contain various inline tags. </p>
When I generate PDF output I am getting the below error

Code: Select all

The XML parser reported the following error:  [gen-list] g_sample.dita Line 3:Attribute "keyref" is required and must be specified for element type "abbreviated-form".
Could you please help me out fix this issue?

Thanks,
Navaneetha

Re: DOTJ013E ERROR

Posted: Thu Aug 06, 2015 1:21 pm
by Radu
Hi Navaneetha,

I created a sample bookmap, a topic and a glossentry with the sample content you indicated and published it to PDF using Oxygen 17.0 which comes with DITA Open Toolkit 1.8.5. I could not reproduce the error you encountered, the PDF properly contained the abbreviated form content.

Are you using a custom DITA OT installation?

Regards,
Radu

Re: DOTJ013E ERROR

Posted: Thu Aug 06, 2015 1:41 pm
by nagang
Hi Radu,

Thanks for your quick reply

We are using customized DITA OT installation.

When I tried in my local setup am not getting this error. But in server setup we are facing this issue.
Am getting this error after this

Code: Select all

gen-list:
[gen-list] GenMapAndTopicListModule.execute(): Starting...
[gen-list] Using Xerces grammar pool for DTD and schema caching.
Could you please suggest me on this?


Regards,
Navaneetha

Re: DOTJ013E ERROR

Posted: Thu Aug 06, 2015 2:16 pm
by Radu
Hi Navaneetha,

Sorry but I don't know how I could help further, possibly the DITA Open Toolkit used on the server side has a bug.

Regards,
Radu

Re: DOTJ013E ERROR

Posted: Thu Aug 06, 2015 3:28 pm
by xephon
Hi Navaneetha,

the GenMapAndTopicListModule indicates that libraries are not found. In this case the dost.jar is missing. Add all libs in the ~/DITA-OT/lib directory to your path.

Greetings,
Stefan

Re: DOTJ013E ERROR

Posted: Thu Aug 06, 2015 4:09 pm
by xephon
tl;dr...

You wrote, the publication itself works. I was way off. Have you tried the XHTML transformation?