You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dag H. Wanvik" <Da...@Sun.COM> on 2007/11/08 19:13:54 UTC
problems building 10.3 docs branch
Hi,
does anybody know what causes this?
I am using DITA-OT1.1.2.1.
Thanks,
Dag
[echo] *****************************************************************
[echo] * input = /export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap
[echo] * type = ${transtype}
[echo] * outputdir = /export/home/tmp/derby/sb/docs-103/out/reftemp
[echo] * extname = .dita
[echo] * tempdir = /export/home/tmp/derby/sb/docs-103/temp
[echo] * clean.temp = ${clean.temp}
[echo] *****************************************************************
clean-temp:
[delete] Deleting directory /export/home/tmp/derby/sb/docs-103/temp
gen-list:
[pipeline] Generate list.
[pipeline] [Fatal Error] :392:3: The element type "map" must be terminated by the matching end-tag "</map>".
[pipeline] org.xml.sax.SAXParseException: The element type "map" must be terminated by the matching end-tag "</map>".
[pipeline] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[pipeline] at org.dita.dost.reader.GenListModuleReader.parse(GenListModuleReader.java:140)
[pipeline] at org.dita.dost.module.GenMapAndTopicListModule.processWaitList(GenMapAndTopicListModule.java:158)
[pipeline] at org.dita.dost.module.GenMapAndTopicListModule.execute(GenMapAndTopicListModule.java:125)
[pipeline] at org.dita.dost.pipeline.PipelineFacade.execute(PipelineFacade.java:41)
[pipeline] at org.dita.dost.invoker.AntInvoker.execute(AntInvoker.java:124)
[pipeline] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[pipeline] at org.apache.tools.ant.Task.perform(Task.java:364)
[pipeline] at org.apache.tools.ant.Target.execute(Target.java:341)
[pipeline] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[pipeline] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[pipeline] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
[pipeline] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
<more stack dump elided>
Re: problems building 10.3 docs branch
Posted by "Dag H. Wanvik" <Da...@Sun.COM>.
Dag.Wanvik@Sun.COM (Dag H. Wanvik) writes:
> <topicref href="rrefsqlj12362.dita" navtitle="NUMERIC data type" class="- map/topicref " xtrf="/export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap" xtrc="topicref:231"></topicref>
> <topicref href="rrefsqlj14122.dita" navtitle="REAL data type" class="- map/topicref " xtrf="/export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap" xtrc="
> ***** premature eof
The problem is an extraneous </topicref> added in refderby.ditamap at
line introduced in svn 587668 as part of DERBY-2914. Removing it
causes the build to work.
http://svn.apache.org/viewvc/db/derby/docs/branches/10.3/src/ref/refderby.ditamap?r1=587668&r2=587667&pathrev=587668
Dag
Re: problems building 10.3 docs branch
Posted by "Dag H. Wanvik" <Da...@Sun.COM>.
Hi Kim,
Kim Haase <Ca...@Sun.COM> writes:
> It looks like something may be wrong with your refderby.ditamap
> file. When you run the tail command on it, does the output look
> something like this?
Just right, that file ends like this:
<topicref href="rrefsqlj12362.dita" navtitle="NUMERIC data type" class="- map/topicref " xtrf="/export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap" xtrc="topicref:231"></topicref>
<topicref href="rrefsqlj14122.dita" navtitle="REAL data type" class="- map/topicref " xtrf="/export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap" xtrc="
***** premature eof
I get the same result with running with Java 1.4, 1.5 and 1.6.
So for some reason, this file is not getting generated correctly...
I do not have this problem on the docs trunk. I will dig some more...
The file "rrefsqlj14122.dita" is identical to the one in trunk, btw.
Thanks,
Dag
>
> If so, see if you have changed something else that might cause that
> tag not to be seen.
>
> jdench 100 =>tail refderby.ditamap
> <topicref href="rrefdttlimits.dita" navtitle="DATE, TIME, and
> TIMESTAMP limitations">
> </topicref>
> <topicref href="rrefidlengthlimits.dita" navtitle="Limitations on
> identifier length ">
> </topicref>
> <topicref href="rrefnumericlimits.dita" navtitle="Numeric
> limitations"></topicref>
> <topicref href="rrefstringlimits.dita" navtitle="String
> limitations"></topicref>
> <topicref href="rreflimitsxml.dita" navtitle="XML limitations"></topicref>
> </topicref>
> <topicref href="rreftrademderby.dita" navtitle="Trademarks"></topicref>
> </map>
>
> It seems to be complaining about the lack of the "</map>" tag at the end.
>
> Kim
>
> Dag H. Wanvik wrote:
>> Hi,
>> does anybody know what causes this?
>> I am using DITA-OT1.1.2.1.
>> Thanks,
>> Dag
>> [echo]
>> *****************************************************************
>> [echo] * input = /export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap
>> [echo] * type = ${transtype}
>> [echo] * outputdir = /export/home/tmp/derby/sb/docs-103/out/reftemp
>> [echo] * extname = .dita
>> [echo] * tempdir = /export/home/tmp/derby/sb/docs-103/temp
>> [echo] * clean.temp = ${clean.temp}
>> [echo] *****************************************************************
>> clean-temp:
>> [delete] Deleting directory /export/home/tmp/derby/sb/docs-103/temp
>> gen-list:
>> [pipeline] Generate list.
>> [pipeline] [Fatal Error] :392:3: The element type "map" must be terminated by the matching end-tag "</map>".
>> [pipeline] org.xml.sax.SAXParseException: The element type "map" must be terminated by the matching end-tag "</map>".
>> [pipeline] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>> [pipeline] at org.dita.dost.reader.GenListModuleReader.parse(GenListModuleReader.java:140)
>> [pipeline] at org.dita.dost.module.GenMapAndTopicListModule.processWaitList(GenMapAndTopicListModule.java:158)
>> [pipeline] at org.dita.dost.module.GenMapAndTopicListModule.execute(GenMapAndTopicListModule.java:125)
>> [pipeline] at org.dita.dost.pipeline.PipelineFacade.execute(PipelineFacade.java:41)
>> [pipeline] at org.dita.dost.invoker.AntInvoker.execute(AntInvoker.java:124)
>> [pipeline] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> [pipeline] at org.apache.tools.ant.Task.perform(Task.java:364)
>> [pipeline] at org.apache.tools.ant.Target.execute(Target.java:341)
>> [pipeline] at org.apache.tools.ant.Target.performTasks(Target.java:369)
>> [pipeline] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>> [pipeline] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
>> [pipeline] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>> <more stack dump elided>
>
Re: problems building 10.3 docs branch
Posted by Kim Haase <Ca...@Sun.COM>.
It looks like something may be wrong with your refderby.ditamap file.
When you run the tail command on it, does the output look something like
this?
If so, see if you have changed something else that might cause that tag
not to be seen.
jdench 100 =>tail refderby.ditamap
<topicref href="rrefdttlimits.dita" navtitle="DATE, TIME, and TIMESTAMP
limitations">
</topicref>
<topicref href="rrefidlengthlimits.dita" navtitle="Limitations on
identifier length ">
</topicref>
<topicref href="rrefnumericlimits.dita" navtitle="Numeric
limitations"></topicref>
<topicref href="rrefstringlimits.dita" navtitle="String
limitations"></topicref>
<topicref href="rreflimitsxml.dita" navtitle="XML limitations"></topicref>
</topicref>
<topicref href="rreftrademderby.dita" navtitle="Trademarks"></topicref>
</map>
It seems to be complaining about the lack of the "</map>" tag at the end.
Kim
Dag H. Wanvik wrote:
> Hi,
>
> does anybody know what causes this?
>
> I am using DITA-OT1.1.2.1.
>
> Thanks,
> Dag
>
>
>
>
> [echo] *****************************************************************
> [echo] * input = /export/home/tmp/derby/sb/docs-103/src/ref/refderby.ditamap
> [echo] * type = ${transtype}
> [echo] * outputdir = /export/home/tmp/derby/sb/docs-103/out/reftemp
> [echo] * extname = .dita
> [echo] * tempdir = /export/home/tmp/derby/sb/docs-103/temp
> [echo] * clean.temp = ${clean.temp}
> [echo] *****************************************************************
>
> clean-temp:
> [delete] Deleting directory /export/home/tmp/derby/sb/docs-103/temp
>
> gen-list:
> [pipeline] Generate list.
> [pipeline] [Fatal Error] :392:3: The element type "map" must be terminated by the matching end-tag "</map>".
> [pipeline] org.xml.sax.SAXParseException: The element type "map" must be terminated by the matching end-tag "</map>".
> [pipeline] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [pipeline] at org.dita.dost.reader.GenListModuleReader.parse(GenListModuleReader.java:140)
> [pipeline] at org.dita.dost.module.GenMapAndTopicListModule.processWaitList(GenMapAndTopicListModule.java:158)
> [pipeline] at org.dita.dost.module.GenMapAndTopicListModule.execute(GenMapAndTopicListModule.java:125)
> [pipeline] at org.dita.dost.pipeline.PipelineFacade.execute(PipelineFacade.java:41)
> [pipeline] at org.dita.dost.invoker.AntInvoker.execute(AntInvoker.java:124)
> [pipeline] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> [pipeline] at org.apache.tools.ant.Task.perform(Task.java:364)
> [pipeline] at org.apache.tools.ant.Target.execute(Target.java:341)
> [pipeline] at org.apache.tools.ant.Target.performTasks(Target.java:369)
> [pipeline] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> [pipeline] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
> [pipeline] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>
> <more stack dump elided>