RE: Reusing compiled stylesheets

2002-05-23 Thread David N Bertoni/Cambridge/IBM
Hi Brian, You observation is incorrect -- Xalan always processes included and imported stylesheets when it compiles the stylesheet. There is a post-construction step which "composes" the stylesheets. Take a look at Stylesheet:::postConstruction() to see what's going on. Dave

RE: Reusing compiled stylesheets

2002-05-23 Thread Brian Quinlan
> -Original Message- > From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 6:29 PM > To: [EMAIL PROTECTED] > Subject: Re: Reusing compiled stylesheets > > > Hi Brian, > > Right now, you can't separately pre-compile an included or exported > st

Re: Reusing compiled stylesheets

2002-05-23 Thread David N Bertoni/Cambridge/IBM
Hi Brian, Right now, you can't separately pre-compile an included or exported stylesheet, since the semantics can change depending on the including or importing stylesheet. It might be possible to do this, but I'm not sure how much effort it would save, since the system would have to spend more

Reusing compiled stylesheets

2002-05-23 Thread Brian Quinlan
If a transformation involves multiple stylesheets (through xsl:include), is it possible to reuse the compilation of all of them, or only the root stylesheet? Cheers, Brian

Re: Exponential formats and XSLT format-number function?

2002-05-23 Thread David N Bertoni/Cambridge/IBM
It's not a bug. The lexical structure is defined in the XPath specification: http://www.w3.org/TR/xpath#NT-Number Dave "Rick Bullotta

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamXMLOutput.java

2002-05-23 Thread santiagopg
santiagopg02/05/23 13:59:38 Modified:java/src/org/apache/xalan/xsltc/runtime/output StreamXMLOutput.java Log: Insert XML header at the beginning. Revision ChangesPath 1.5 +11 -5 xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/S

Re: Exponential formats and XSLT format-number function?

2002-05-23 Thread Joseph Kesselman
Check the XSLT spec; exponential format is explicitly not supported in XSLT 1.. If you need to handle it, call an extension function. __ Joe Kesselman / IBM Research

Exponential formats and XSLT format-number function?

2002-05-23 Thread Rick Bullotta
The default output for something like Java's Double.toString() method may format a value in exponential form, such as 1.57E-2. However, it seems that the format-number function does not handle this type of input (although Double.parseDouble would). Is this a bug or a designed behavior? Is there

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamTextOutput.java TransletOutputHandlerFactory.java

2002-05-23 Thread santiagopg
santiagopg02/05/23 13:10:03 Modified:java/src/org/apache/xalan/xsltc/runtime/output TransletOutputHandlerFactory.java Added: java/src/org/apache/xalan/xsltc/runtime/output StreamTextOutput.java Log: Revision ChangesP

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamUnknownOutput.java StreamHTMLOutput.java StreamOutput.java StreamXMLOutput.java TransletOutputHandlerFactory.java

2002-05-23 Thread santiagopg
santiagopg02/05/23 11:13:04 Modified:java/src/org/apache/xalan/xsltc/runtime/output StreamHTMLOutput.java StreamOutput.java StreamXMLOutput.java TransletOutputHandlerFactory.java Added: java/src/org/apache/x

DO NOT REPLY [Bug 9346] - xsl:apply-templates ignores parameters if select attribute contains document()

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/test test.properties

2002-05-23 Thread pauldick
pauldick02/05/23 10:48:45 Modified:test test.properties Log: Excluded new nodeset tests. Revision ChangesPath 1.61 +1 -1 xml-xalan/test/test.properties Index: test.properties === RCS f

DO NOT REPLY [Bug 9358] - Attributes set in returned Element objects are discarded

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamOutput.java StreamXMLOutput.java

2002-05-23 Thread santiagopg
santiagopg02/05/23 09:13:38 Modified:java/src/org/apache/xalan/xsltc/runtime/output StreamOutput.java StreamXMLOutput.java Log: Revision ChangesPath 1.5 +7 -1 xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/StreamOutput.java

DO NOT REPLY [Bug 9358] - Attributes set in returned Element objects are discarded

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Quick request for folks reporting bugs...

2002-05-23 Thread Joseph Kesselman
When you send an attachment to Bugzilla, it gives that attachment a completely meaningless ,cgi filename. Please use the comments field to tell us what to rename the file back to before using it. In particular, if it's a .tar.gz file or other kind of archive other than a Windows-style zipfile, pl

DO NOT REPLY [Bug 9358] New: - Attributes set in returned Element objects are discarded

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java

2002-05-23 Thread santiagopg
santiagopg02/05/23 07:52:09 Modified:java/src/org/apache/xalan/xsltc/cmdline Transform.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java Log: Added "-n" option to Transform. Revision ChangesPath 1.18 +12 -10

cvs commit: xml-xalan/test/java/src/org/apache/qetest QetestUtils.java

2002-05-23 Thread curcuru
curcuru 02/05/23 07:22:18 Modified:test/java/src/org/apache/qetest QetestUtils.java Log: Add new org.apache.qetest.dtm package for pdick's DTM unit tests Revision ChangesPath 1.13 +2 -1 xml-xalan/test/java/src/org/apache/qetest/QetestUtils.java Index: Qete

DO NOT REPLY [Bug 9346] New: - xsl:apply-templates ignores parameters if select attribute contains document()

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 9339] - XPathAPI selectNodeIterator(doc, xpath) with default namespace

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

[GUMP] Build Failure - xml-xalan2-smoketest

2002-05-23 Thread Sam Ruby
ve for details. Last 50 lines of build output follows. smoketest-results-dist: [tar] Building tar: /home/rubys/jakarta/xml-xalan/test/java/build/xalan-smoketest-20020523.tar [tar] Entry: xml-xalan/test/smoketest/api/SAXTransformerFactoryAPITest/trax/sax/SAXTransformerFactoryAPITest

Re: XSLTC and Cocoon

2002-05-23 Thread Tom Amiro
Stefano, The two xsl files I changed were in xml-cocoon2/build/documentation/stylesheets. They were: book2menu.xsl and site2xhtml.xsl. I changed the namespace declaration for the NetUtils external java function as follows: http://www.w3.org/1999/XSL/Transform"; xmlns:NetUt

Re: XSLTC and Cocoon

2002-05-23 Thread Stefano Mazzocchi
[EMAIL PROTECTED] wrote: > > > Hmmm, the source code says > > > >if( null != sourceLocator ) > >{ > > n.addExtraDescription("location", sourceLocator.getSystemId()); > > ... > >} > > > > so the NPE doesn't come from sourceLocator being null. Also, if > > getSystemId() return

Set vs. NodeList

2002-05-23 Thread Christian Geuer-Pollmann
Hi all, in the "Apache xml-security" project, I must perform many operations on XPath node sets. Many operations are questions in the form: "Is the Node 'n' in the nodeset selected by the following XPath expression?". At the moment, to do this task, I do the following: NodeList selec

DO NOT REPLY [Bug 9339] - XPathAPI selectNodeIterator(doc, xpath) with default namespace

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 9339] New: - XPathAPI selectNodeIterator(doc, xpath) with default namespace

2002-05-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu