W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2003

RE: Xalan-J Sucking Wind

From: Allen, Michael B (RSCH) <Michael_B_Allen@ml.com>
Date: Wed, 22 Jan 2003 23:10:30 -0500
Message-ID: <19B572CFAC42D211A20000805FA7875A07F0FF21@eat404.hew.us.ml.com>
To: "'Curt Arnold'" <carnold@houston.rr.com>, www-dom@w3.org

> -----Original Message-----
> From:	Curt Arnold [SMTP:carnold@houston.rr.com]
> Sent:	Wednesday, January 22, 2003 11:01 PM
> To:	Allen, Michael B (RSCH); www-dom@w3.org
> Subject:	Re: Xalan-J Sucking Wind
> Allen, Michael B (RSCH) wrote:
> > Is Xalan-J really was folks are using right now? I checked out the latest everything and it's just not building. I ran into an error building the DTD where $exceptions was in scope but Xalan-J
> > apprently didn't know about it yet because it threw a NullPointerException. Strangely adding a value-of to the dom-to-dtd.xsl provoked it to get over that hump.
> ...
> > 
> > How do you pass Java options to ant so that I can try the ol' -Xmx512m?
> > 
> > Mike
> > 
> > PS: Hi
> > 
> > 
> I've been using Saxon 6.5.2.  Ant will automatically use it if placed in 
> the ant/lib directory and there is not a xalan.jar there.
> Obviously, it would be nice if we could reliably build with Xalan-J 
> since it comes bundled with Ant.  However, it has been pretty difficult 
> to reproduce some of the problems in isolation.  I hadn't run into the 
> NullPointerException issue, I'll try to isolate the problem, file a bug 
> report and tweak the transform.
> Use the ANT_OPTS environment variable to pass Java VM options
> SET ANT_OPTS=-Xmx512m
	Yup. This works. All 490 tests build ok now. Quite a bit faster too. Interestingly it
	had no effect on the NullPointerException I mentioned. If I take out that fix I still get

	[miallen@miallen3 DOM-Test-Suite]$ ant dom1-dtd
	Buildfile: build.xml

	    [style] Processing /home/miallen/p/c/domts/2001/DOM-Test-Suite/build/dom1-interfaces.xml to /home/miallen/p/c/domts/2001/DOM-Test-Suite/build/dom1.dtd
	    [style] Loading stylesheet /home/miallen/p/c/domts/2001/DOM-Test-Suite/transforms/dom-to-dtd.xsl
	    [style] Failed to process /home/miallen/p/c/domts/2001/DOM-Test-Suite/build/dom1-interfaces.xml


	/home/miallen/p/c/domts/2001/DOM-Test-Suite/build.xml:396: javax.xml.transform.TransformerException: java.lang.NullPointerException

	Total time: 10 seconds

Received on Wednesday, 22 January 2003 23:10:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC