When exporting a DITAmap to PDF with Beta5, the DOCTYPE in the .dita files placed in the basedir job directory for processing by the DITA OT is not properly formed.

DOCTYPE with Beta 4:

<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "http://il27tipsweb1.cig.mot.com/d6/sites/all/modules/dita/dtd1.2/technicalContent/dtd/task.dtd">

DOCTYPE with Beta 5:

<!DOCTYPE task PUBLIC "DITA_TASK_EXTERNAL_SUBSET_PUBLIC_IDENTIFIER" "DITA_TASK_EXTERNAL_SUBSET_SYSTEM_IDENTIFIER">

Note that the problem is with both Beta 5 and the 'new' xslt from git.

Comments

jjkd’s picture

Problem appears to be refactoring between Beta 4 and Beta 5, namely that the methodology by which the public and system identifiers are defined/assigned in dita.filter.inc was changed, and the code in simple_dita_forms.module is still dependent upon the old defines that were used in Beta 4.

code from Beta 5 in simple_dita_forms.module:

   $doc = dita_create_xml_object($doc->saveXML(), 'reference', DITA_REFERENCE_EXTERNAL_SUBSET_PUBLIC_IDENTIFIER, DITA_REFERENCE_EXTERNAL_SUBSET_SYSTEM_IDENTIFIER);

However, the defines for these were removed from dita.filter.inc in Beta 5, and replaced with a big array to support the 'new' DITA 1.2 Learning & Training Specialization topic types.

mimrock’s picture

Status: Active » Fixed

Thank you, for the useful information.

Fixed in dev - it will be refreshed on the site in the next hours.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.