Closed (fixed)
Project:
DITA integration for Drupal
Version:
6.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2011 at 21:43 UTC
Updated:
5 Dec 2011 at 10:50 UTC
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
Comment #1
jjkd commentedProblem 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:
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.
Comment #2
mimrock commentedThank you, for the useful information.
Fixed in dev - it will be refreshed on the site in the next hours.