Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.10
-
None
-
Window XP -
Description
The main issue is that in the input document the namespace xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" is declared on the root element. The transformed XML does not have that value. Using Xalan-J both input and output doc have the namespace declaration. Thus the resultant document from Xalan-C produces a malformed XML document
Input:
<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
title="MakeDoc's example demo/BE"
ditaarch:DITAArchVersion="1.1"
domains="(map mapgroup-d) (topic indexing-d)"
class="- map/map "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="map:1">
<topicmeta class="- map/topicmeta "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="topicmeta:1">
<author class="- topic/author "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="author:1">PIKE ELECTRONIC s.r.o.</author>
<source class="- topic/source "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="source:1">3.0</source>
<publisher class="- topic/publisher "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="publisher:1">PIKE ELECTRONIC s.r.o.</publisher>
<critdates class="- topic/critdates "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="critdates:1">
<created date="2007/07/26 02:31" class="- topic/created "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap" xtrc="created:1"/>
</critdates></topicmeta>
...
Generated XML:
<map title="MakeDoc's example demo/BE"
ditaarch:DITAArchVersion="1.1"
domains="(map mapgroup-d) (topic indexing-d)"
class="- map/map "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="map:1">
<topicmeta xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
class="- map/topicmeta "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap" xtrc="topicmeta:1">
<author class="- topic/author "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="author:1">PIKE ELECTRONIC s.r.o.</author>
<source class="- topic/source " xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap" xtrc="source:1">3.0</source>
<publisher class="- topic/publisher "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap"
xtrc="publisher:1">PIKE ELECTRONIC s.r.o.</publisher>
<critdates class="- topic/critdates " xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap" xtrc="critdates:1">
<created date="2007/07/26 02:31"
class="- topic/created "
xtrf="c:\Pike\dita_problem\trialBE\dita\trialProjects.ditamap" xtrc="created:1"/>
</critdates></topicmeta>
Attachments
Attachments
Issue Links
- is duplicated by
-
XALANC-654 Xalan generates invalid output
- Closed