- From: Allen, Michael B (RSCH) <Michael_B_Allen@ml.com>
- Date: Wed, 22 Jan 2003 23:10:30 -0500
- 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 it: [miallen@miallen3 DOM-Test-Suite]$ ant dom1-dtd Buildfile: build.xml ... dom1-dtd: [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 BUILD FAILED /home/miallen/p/c/domts/2001/DOM-Test-Suite/build.xml:396: javax.xml.transform.TransformerException: java.lang.NullPointerException Total time: 10 seconds Thanks, Mike
Received on Wednesday, 22 January 2003 23:10:49 UTC