You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Lukas Zapletal (JIRA)" <xa...@xml.apache.org> on 2007/07/30 09:00:52 UTC
[jira] Created: (XALANC-654) Xalan generates invalid output
Xalan generates invalid output
------------------------------
Key: XALANC-654
URL: https://issues.apache.org/jira/browse/XALANC-654
Project: XalanC
Issue Type: Bug
Environment: Windows XP SP2
Reporter: Lukas Zapletal
Priority: Critical
Xalan-C++ generates invalid XML
output. Xalan-J works ok so it seems this is a bug in Xalan-C++.
The XML file generated with the transformation is not valid:
Before:
<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">
After the transformation:
<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"
The xmlns definition is omitted and this is the problem because it is
used (ditaarch:DITAArchVersion). The error is:
Fatal Error.Occurred at file trialProjects_MERGED.xml, line 1, column
250. The prefix 'ditaarch' has not been mapped to any URI
SAXParseException: The prefix 'ditaarch' has not been mapped to any
URI (trialProjects_MERGED.xml, line 1, column 250)
I have uploaded the ZIP file with a small test. After unpacking look at those files:
run_xalanc.bat: generates trialProjects_MERGED_C.xml that is not
VALID. The batch requires to have xalan/xalan.exe in the PATH, you can
edit it and provide full path for the binary.
run_xalanj.bat: the same but in Java, generates VALID
trialProjects_MERGED_J.xml. Edit the batch before executing and change the
PATH for xalan.jar. The generated file seems to be valid, there is no
namespace bug there.
I am including trialProjects_pdf.log from Dita-OT toolkit also with the error
message above. Please contact me if you need further help, thank you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Resolved: (XALANC-654) Xalan generates invalid output
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni resolved XALANC-654.
----------------------------------
Resolution: Duplicate
> Xalan generates invalid output
> ------------------------------
>
> Key: XALANC-654
> URL: https://issues.apache.org/jira/browse/XALANC-654
> Project: XalanC
> Issue Type: Bug
> Environment: Windows XP SP2
> Reporter: Lukas Zapletal
> Priority: Critical
> Attachments: stress_test_xalan-dita.zip
>
>
> Xalan-C++ generates invalid XML
> output. Xalan-J works ok so it seems this is a bug in Xalan-C++.
> The XML file generated with the transformation is not valid:
> Before:
> <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">
> After the transformation:
> <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"
> The xmlns definition is omitted and this is the problem because it is
> used (ditaarch:DITAArchVersion). The error is:
> Fatal Error.Occurred at file trialProjects_MERGED.xml, line 1, column
> 250. The prefix 'ditaarch' has not been mapped to any URI
> SAXParseException: The prefix 'ditaarch' has not been mapped to any
> URI (trialProjects_MERGED.xml, line 1, column 250)
> I have uploaded the ZIP file with a small test. After unpacking look at those files:
> run_xalanc.bat: generates trialProjects_MERGED_C.xml that is not
> VALID. The batch requires to have xalan/xalan.exe in the PATH, you can
> edit it and provide full path for the binary.
> run_xalanj.bat: the same but in Java, generates VALID
> trialProjects_MERGED_J.xml. Edit the batch before executing and change the
> PATH for xalan.jar. The generated file seems to be valid, there is no
> namespace bug there.
> I am including trialProjects_pdf.log from Dita-OT toolkit also with the error
> message above. Please contact me if you need further help, thank you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Closed: (XALANC-654) Xalan generates invalid output
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni closed XALANC-654.
--------------------------------
> Xalan generates invalid output
> ------------------------------
>
> Key: XALANC-654
> URL: https://issues.apache.org/jira/browse/XALANC-654
> Project: XalanC
> Issue Type: Bug
> Environment: Windows XP SP2
> Reporter: Lukas Zapletal
> Priority: Critical
> Attachments: stress_test_xalan-dita.zip
>
>
> Xalan-C++ generates invalid XML
> output. Xalan-J works ok so it seems this is a bug in Xalan-C++.
> The XML file generated with the transformation is not valid:
> Before:
> <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">
> After the transformation:
> <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"
> The xmlns definition is omitted and this is the problem because it is
> used (ditaarch:DITAArchVersion). The error is:
> Fatal Error.Occurred at file trialProjects_MERGED.xml, line 1, column
> 250. The prefix 'ditaarch' has not been mapped to any URI
> SAXParseException: The prefix 'ditaarch' has not been mapped to any
> URI (trialProjects_MERGED.xml, line 1, column 250)
> I have uploaded the ZIP file with a small test. After unpacking look at those files:
> run_xalanc.bat: generates trialProjects_MERGED_C.xml that is not
> VALID. The batch requires to have xalan/xalan.exe in the PATH, you can
> edit it and provide full path for the binary.
> run_xalanj.bat: the same but in Java, generates VALID
> trialProjects_MERGED_J.xml. Edit the batch before executing and change the
> PATH for xalan.jar. The generated file seems to be valid, there is no
> namespace bug there.
> I am including trialProjects_pdf.log from Dita-OT toolkit also with the error
> message above. Please contact me if you need further help, thank you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANC-654) Xalan generates invalid output
Posted by "Lukas Zapletal (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANC-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516297 ]
Lukas Zapletal commented on XALANC-654:
---------------------------------------
Ah its probably just a duplicate of the bug 653. Sorry for the post.
> Xalan generates invalid output
> ------------------------------
>
> Key: XALANC-654
> URL: https://issues.apache.org/jira/browse/XALANC-654
> Project: XalanC
> Issue Type: Bug
> Environment: Windows XP SP2
> Reporter: Lukas Zapletal
> Priority: Critical
> Attachments: stress_test_xalan-dita.zip
>
>
> Xalan-C++ generates invalid XML
> output. Xalan-J works ok so it seems this is a bug in Xalan-C++.
> The XML file generated with the transformation is not valid:
> Before:
> <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">
> After the transformation:
> <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"
> The xmlns definition is omitted and this is the problem because it is
> used (ditaarch:DITAArchVersion). The error is:
> Fatal Error.Occurred at file trialProjects_MERGED.xml, line 1, column
> 250. The prefix 'ditaarch' has not been mapped to any URI
> SAXParseException: The prefix 'ditaarch' has not been mapped to any
> URI (trialProjects_MERGED.xml, line 1, column 250)
> I have uploaded the ZIP file with a small test. After unpacking look at those files:
> run_xalanc.bat: generates trialProjects_MERGED_C.xml that is not
> VALID. The batch requires to have xalan/xalan.exe in the PATH, you can
> edit it and provide full path for the binary.
> run_xalanj.bat: the same but in Java, generates VALID
> trialProjects_MERGED_J.xml. Edit the batch before executing and change the
> PATH for xalan.jar. The generated file seems to be valid, there is no
> namespace bug there.
> I am including trialProjects_pdf.log from Dita-OT toolkit also with the error
> message above. Please contact me if you need further help, thank you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org