Return-Path: Delivered-To: apmail-xml-xalan-j-users-archive@xml.apache.org Received: (qmail 14523 invoked by uid 500); 4 Oct 2002 10:14:00 -0000 Mailing-List: contact xalan-j-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list xalan-j-users@xml.apache.org Received: (qmail 14516 invoked from network); 4 Oct 2002 10:14:00 -0000 Received: from mta01-svc.ntlworld.com (62.253.162.41) by daedalus.apache.org with SMTP; 4 Oct 2002 10:14:00 -0000 Received: from cwnh0104.firstlightassociates.co.uk ([80.0.165.120]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021004101413.EEQP17202.mta01-svc.ntlworld.com@cwnh0104.firstlightassociates.co.uk> for ; Fri, 4 Oct 2002 11:14:13 +0100 Message-Id: <5.1.1.6.0.20021004105041.00a91e10@mail.firstlightassociates.co.uk> X-Sender: malcolm.cooke@firstlightassociates.co.uk@mail.firstlightassociates.co.uk X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 04 Oct 2002 11:32:43 +0100 To: xalan-j-users@xml.apache.org From: malcolm cooke Subject: Bug in implementation of exslt math:max?? Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-5D546358; boundary="=======61637396=======" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: --=======61637396======= Content-Type: text/plain; x-avg-checked=avg-ok-5D546358; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Hi, We've encountered a problem trying to use the math:max extension function which looks as if it may be a bug, but it could always be us missing something obvious.... our observations can be found at the end of the message. ******************************************* Our test.xml file : 0 -1 ******************************************* Our tester.xsl file : about to do max ******************************************* Our results : run-xalan test.xml tester.xsl dummy.xml --------------------------------------------------------- Running the XSL Processor, xalan, with the following specifications: - XML File: test.xml - XSL File: tester.xsl - Output File: dummy.xml --------------------------------------------------------- >>>>>>> Xalan Version Xalan Java 2.4.0, <<<<<<< file:///I:/FLA/testarea/tester.xsl; Line #11; Column #17; about to do max (Location of error unknown)XSLT Error (javax.xml.transform.TransformerException) : java.lang.IllegalArgumentException: Node must be non-null for getDTMHandleFrom Node ******************************************* Our observations: This error seems to only occur if the maximum value is not > 0. Comments, suggestions about where we may be making wrong assumptions etc would be very helpful. Thanks Malcolm Cooke http://www.firstlightassociates.co.uk --=======61637396======= Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-5D546358 Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.393 / Virus Database: 223 - Release Date: 9/30/02 --=======61637396=======--