[xsl] Weird problem. Xalan Stops processing when it comes to middle of XML??

Subject: [xsl] Weird problem. Xalan Stops processing when it comes to middle of XML??
From: Jinesh Varia <jineshresearch@xxxxxxxxx>
Date: Mon, 17 Feb 2003 14:18:10 -0800 (PST)
I donnt know why the heck Xalan does not process the rest of the XML data sheet. I have a huge XML
data sheet (around 150MB) when I process using Xalan and giving -Xmx900M as a an option. It does
start processing but when it proceeses around 60MB it stops. there is abolutely no error.
I went to new XML that is generated. and came to know. that the it is not processing after this
point
<inproceedings key="asd/asdf32">
<author>Robin Milner</author>
<title>Strong Normalisation in Higher-Order Action Calculi.</title>
<pages>1-19</pages>
<year>1997</year>
<crossref>conf/tacs/1997</crossref>
<booktitle>TACS</booktitle>
<url>db/conf/tacs/tacs97.html#Milner97</url>
</inproceedings>
<inproceedings mdate="2002-01-03" key="conf/tacs/Ueda01">
<author>Kazunori Ueda</author>
<title>Resource-Passing Concurrent Programming.</title>
<pages>95-126</pages>
<year>2001</year>
<crossref>conf/tacs/2001</crossref>
<booktitle>TACS</booktitle>
<ee>http://link.springer.de/link/service/series/0558/bibs/2215/22150095.htm</ee>
<url>db/conf/tacs/tacs2001.html#Ueda01</url>
</inproceedings>
<inproceedings mdate="2002-06-19" key="conf/tacs/ChenO94">
<author>Kung Chen</author>  <!-- ###### it stops here and produces an output as given in ###1
below-->
<author>Martin Odersky</author>
<title>A Type System for a Lambda Calculus with Assignments.</title>
<pages>347-364</pages>
<year>1994</year>
<crossref>conf/tacs/1994</crossref>
<booktitle>TACS</booktitle>
<url>db/conf/tacs/tacs94.html#ChenO94</url>
</inproceedings>

###1:
<booktitle>TACS</booktitle>
<url>db/conf/tacs/tacs97.html#Milner97</url>
</publication>
<publication pubid="40000131222" dblpkey="conf/tacs/Ueda01" mdate="2002-01-03">
<type>4</type>
<author>Kazunori Ueda</author>
<title>Resource-Passing Concurrent Programming.</title>
<pages>95-126</pages>
<year>2001</year>
<crossref>conf/tacs/2001</crossref>
<booktitle>TACS</booktitle>
<ee>http://link.springer.de/link/service/series/0558/bibs/2215/22150095.htm</ee>
<url>db/conf/tacs/tacs2001.html#Ueda01</url>
</publication>
<publication pubid="40000131223" dblpkey="conf/tacs/ChenO94" mdate="2002-06-19">
<type>4</type>
</publication> <!--- see this -->
</mainroot>


What I am doing : The whole context :

<main>
<article>
......
</article>

<article>
......
</article>
<book>
....
</book>
<inproceedings>
....
</inproceedings>
</main>
Which I am transforming to another XML using XSLT (say pubids.XSL) which works fine with part of
above XML data file. it changes to: (I am generating the ids here)

<publications>
<publication pubid="0001">
....article data
</publication>
<publication pubid="0002">
....article data
</publication>
<publication pubid="0003">
....book data
</publication>
<publication pubid="0004">
....book data
</publication>
<publication pubid="0005">
....proceedings data
</publication>
</publications>
----------------------------------------------------

Hence I modified the XML to simply generate ID for articles and not other publications. then it
again generated articles only upto that point.

Is this XALAN limitation of processing only certain number of nodes? or is there something wrong
in the XML file??
Is there any settings?

jin



=====
-----------------------------------------------------------------
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: jinesh@xxxxxxx
-----------------------------------------------------------------
'Self is the author of its actions.'

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread