Re: trouble with xml:lang, bug in xalan?

2002-01-22 Thread Donald Ball
On Tue, 22 Jan 2002 [EMAIL PROTECTED] wrote: > >0. > >fails to match anything. > >... > >1. returns an empty string... > >2. local-name(@xml:lang) returns 'xml:lang'. > > These are probably all related to a transient bug we had with > the xml namespace prefix. All the above work fine in the > fi

Re: trouble with xml:lang, bug in xalan?

2002-01-22 Thread david_marston
>0. >fails to match anything. >... >1. returns an empty string... >2. local-name(@xml:lang) returns 'xml:lang'. These are probably all related to a transient bug we had with the xml namespace prefix. All the above work fine in the final-release version of XalanJ2. .David Marston

Re: xsl:number grouping default

2002-01-22 Thread david_marston
>Is should be no grouping at all? >Using Xalan 2.2 I get: >4,748 Unless you have both grouping-size and grouping-separator in your xsl:number, you should not get any grouping. This looks like a bug. Possible workaround: set the two attributes, but have the size large enough to be moot, like 7. .

trouble with xml:lang, bug in xalan?

2002-01-22 Thread Donald Ball
hey guys. i'm having trouble using the lang() xslt function in xalan. i've got an i18n xml file like so: http://surveyZ.webslingerZ.com/xml/objects/1.0";> Test English Testo Italiano and i'm trying to select the english label, very simply: but it fails to match anything. i wro

RE: XPathAPI performance problems

2002-01-22 Thread Eric Chijioke
I have completed some benchmarking of various combinations of the Xalan/Xerces or Crimson packages and have attached my results. Notes: - DNF = did not finish (I couldn't wait around that long) - The memory footprint is very rough as it was obtained using Runtime.freeMemory() - I only tes

org.apache.xml.utils.WrappedRuntimeException Q?

2002-01-22 Thread Jakub . Valenta
Hi all, I would like to ask you if you could tell me how to get rid of this exception: org.apache.xml.utils.WrappedRuntimeException: Output method is xml could not load output_xml.properties (check CLASSPATH) at org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(OutputProp

Re: usage of setParameter

2002-01-22 Thread Xavier Renard
Hello, I want to pass parameters to the XSLT by my (Java) application. Is this possible using Transformer.setParameter()? Or, in other word: Can I select a parameter set by Transformer.setParameter() in my stylesheet E.g.: ... myTransformer.set("p1", "hello world"); .. (I tried this, but I get th

RE: usage of setParameter

2002-01-22 Thread Jens von Pilgrim
Title: RE: usage of setParameter Hello, answering myself: First declare parameter: Regards, Jens

usage of setParameter

2002-01-22 Thread Jens von Pilgrim
Title: usage of setParameter Hello, I want to pass parameters to the XSLT by my (Java) application. Is this possible using Transformer.setParameter()? Or, in other word: Can I select a parameter set by Transformer.setParameter() in my stylesheet E.g.: ... myTransformer.set("p1", "h

Xpath issues

2002-01-22 Thread Kenny Akpan - Sun UK - Technical Project Coordinator
Hi people. I am wondering if anyone has managed to sucessfuly use XPathAPI class in XALAN 2, in conjuction with namespaces. It seems that whenever I make xpath queries with namespaces I get errors. http://rudedogs/test > Kenny Akpan PrefixResolver prefix = new MyPrefixRe

Re: Splitting a string into lines

2002-01-22 Thread david_marston
>I would like to know how to perform the following >with Xalan: I have a string of multiple lines and >would like to add a "//" at the beginning of every line. This is an instance of the "replace text" problem. The answer to this and other generic XSLT questions can be found at the XSL FAQ at htt