RE: [Xalan 2.2D6] EmptyStackException

2001-07-09 Thread Stephane Bailliez
Hi Scott, First, sorry for the lame bug report. I understand that i'm putting a mess on the process by doing this. Did simply lost my brain on this one. You have the right to kill me next time. Apart from that, your fix works like a charm. I'm also (and I'm sure you will) be very pleased to see

Antwort: RE: Xalan 2.2.0D6 has great performance gain!

2001-07-09 Thread Thomas2 . Maesing
Hi, I have a question to the maximum number of nodes. Is there a way to process more nodes or is this planned. The number of 1048575 nodes may be reached by data exchanging applications. Regards Thomas

cvs commit: xml-xalan/c/src/XPath XPathEvaluator.hpp

2001-07-09 Thread dbertoni
dbertoni01/07/09 22:15:53 Modified:c/src/XPath XPathEvaluator.hpp Log: Updated comments. Revision ChangesPath 1.2 +3 -3 xml-xalan/c/src/XPath/XPathEvaluator.hpp Index: XPathEvaluator.hpp ==

Re: more on this ....Re: stylesheet requires attribute: version

2001-07-09 Thread Etienne Deleflie
ok, I've sussed this out. I'm posting this here so that the next person who has the problem can find something. (sorry to those who have already got their head around namesapce nodes) How to generate an XSL file on the fly as a DOM document using JAXP. warning: If prior attempts do not work,

Re: more on this ....Re: stylesheet requires attribute: version

2001-07-09 Thread Gary L Peskin
Etienne -- The DOM is explained in the W3C DOM Recommendation. Xerces, used by Xalan, implements most or all of Level 2, the Core of which you can find here: http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html Your attributes don't need to be in a namespace, just the element. Th

Re: Can not compile Xalan.

2001-07-09 Thread David_N_Bertoni
There is absolutely no way we can help you unless you can supply more information to help diagnose the problem. "The problem may be at libstdc++" is not very helpful. Please provide exact error messages and file names for the messages. Dave

Re: FreeBSD support?

2001-07-09 Thread David_N_Bertoni
We have no plans at present for a FreeBSD port, although contributions for ports are always welcome. Dave jimmy

Re: RelationalExpr doing alpha comparisons?

2001-07-09 Thread David_N_Bertoni
For the description of what XPath considers a number, see the recommendation: http://www.w3.org/TR/xpath#numbers An explicit call to number() has the same semantics as an implicit conversion to number. Locale-specific information is _not_ taken into account, so if your processor is converti

Can not compile Xalan.

2001-07-09 Thread thchau
I can not compile Xalan (event samples) with gcc 2.96 of RedHat 7.1. The problem may be at libstdc++. Please help me, thanks.    

Re: RelationalExpr doing alpha comparisons?

2001-07-09 Thread everett stauffer
What is the exact format of the "numeric" data as text? I've found that "1000.00" will be treated as a number, but "1,000.00" will not. However, number() always seems to work, though I've not experimented with the effects of mixing formats. (Say, "1.000,00" in the XML, but "1,000.00" in the J

Re: more on this ....Re: stylesheet requires attribute: version

2001-07-09 Thread Etienne Deleflie
Gary, There is something about namespaces I have missunderstood, and the documentation for doing this stuff (in java) is practically non-existent (or very well hidden). Forgive me for my ignorance, but, syntactically, what is the : namespaceURI qualifiedName value required for setAttributeNS ?

[Bug 1334] - xsl:when test="left/node/@key < right/node/@key" is evil!!!

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1334 *** shadow/1334 Sun May 20 17:25:12 2001 --- shadow/1334.tmp.18360 Mon Jul 9 19:42:16 2001 *** *** 1,19 ! Bug#: 1334 ! Product: XalanJ2 ! Version: 2.0.1 ! Platform: All ! OS/Version: Windows NT/2K ! Status: NEW ! Re

Re: more on this ....Re: stylesheet requires attribute: version

2001-07-09 Thread Gary L Peskin
Etienne -- This is not correct because you are not putting these elements into a namespace. You need to use createElementNS to create an element in the namespace. Gary Etienne Deleflie wrote: > > Hi, > > more on this dynamic XSL DOM document creation. Perhaps I am not creating the > DOM docu

more on this ....Re: stylesheet requires attribute: version

2001-07-09 Thread Etienne Deleflie
Hi, more on this dynamic XSL DOM document creation. Perhaps I am not creating the DOM document correctly (even though it prints out correctly) ... I am setting both the attributes of the root node (version and xmlns:xsl) http://www.w3.org/1999/XSL/Transform";> by doing the following

FreeBSD support?

2001-07-09 Thread jimmy
Hi, I was wondering if you have any plans of adding freeBSD as a supported platform and if yes, in what time frame. Thanks! Jim

Re: stylesheet requires attribute: version

2001-07-09 Thread Etienne Deleflie
Hello, thanks for your reply. I just tried setting name space awareness on the DocumentFactoryBuilder (i'm using JAXP) so now, myBuilder.isNamespaceAware() returns true. ... but I am still getting the same error ! etienne Gary L Peskin wrote: > I'm not sure how you're building myDomD

Re: RelationalExpr doing alpha comparisons?

2001-07-09 Thread Gary L Peskin
Thanks. Got it. I should be able to look into this later today. Gary Dave wrote: > > A couple little corrections: The example makes more sense if you reverse > the numeric values in the HighestNumber and Number nodes in the XML. This > way, the relevant xsl:when test doesn't get triggered w

RE: RelationalExpr doing alpha comparisons?

2001-07-09 Thread Dave
A couple little corrections: The example makes more sense if you reverse the numeric values in the HighestNumber and Number nodes in the XML. This way, the relevant xsl:when test doesn't get triggered when it should. The other thing is that in my final example, I should have said rather than .

Re: typo in Xalan 2.2d6 F.A.Q.

2001-07-09 Thread Gary L Peskin
I've committed this change as well as the "challanges" misspelling. Thanks for reporting these problems. Gary Alexey Mahotkin wrote: > > --- faq.xml Tue Jul 3 19:30:13 2001 > +++ faq.xml-new Sun Jul 8 02:08:55 2001 > @@ -151,7 +151,7 @@ > > > > - How does I use the "sig

cvs commit: xml-xalan/java/xdocs/sources/xalan faq.xml

2001-07-09 Thread garyp
garyp 01/07/09 17:06:44 Modified:java/xdocs/sources/design design2_0_0.xml java/xdocs/sources/xalan faq.xml Log: Correct typos reported by Alexey Mahotkin <[EMAIL PROTECTED]> Revision ChangesPath 1.5 +1 -1 xml-xalan/java/xdocs/sources/design/d

Re: stylesheet requires attribute: version

2001-07-09 Thread Gary L Peskin
I'm not sure how you're building myDomDocument but it sounds like you may not have namespace support turned on in your DOM builder. If that is the case, please let me know so that I can include this as a FAQ since it does come up from time to time. Gary Etienne Deleflie wrote: > > Hello, > >

stylesheet requires attribute: version

2001-07-09 Thread Etienne Deleflie
Hello, I am writing an XSL stylesheet on the fly, as a DOM document. Printed out, it looks like this ... http://www.w3.org/1999/XSL/Transform";> Strange thing is, when I use Xalan thus . transformer = factory.newTransformer( new DOMSource( myDomDoc

RE: RelationalExpr doing alpha comparisons?

2001-07-09 Thread Dave
Gary, Thanks for your response. I'm using Xalan 2.1.0. I'm invoking xalan through the JAXP interface in my Java code. Here's the XML and XSLT I'm working with. The XSLT is in the simplified stylesheet format: XML: 100 5 XSLT: http://www.w3.org/1999/XSL/Transform"; xsl:version="1.0">

[Bug 2523] - org.apache.xalan.lib.Extension.evaluate() throws exception all the time

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2523 *** shadow/2523 Mon Jul 9 16:06:09 2001 --- shadow/2523.tmp.16558 Mon Jul 9 16:07:55 2001 *** *** 38,41 --- Additional Comments From [EMAIL PROTECTED] 2001-07-09 16:06 --- Thank you for pointing this out.

[Bug 2524] - org.apache.xalan.lib.Extension.evaluate() throws exception all the time

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2524 *** shadow/2524 Mon Jul 9 16:04:14 2001 --- shadow/2524.tmp.16550 Mon Jul 9 16:07:54 2001 *** *** 2,9 | org.apache.xalan.lib.Extension.evaluate() throws exception all the time| +---

[Bug 2523] - org.apache.xalan.lib.Extension.evaluate() throws exception all the time

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2523 *** shadow/2523 Mon Jul 9 16:02:26 2001 --- shadow/2523.tmp.16536 Mon Jul 9 16:06:09 2001 *** *** 33,36 XPathContext xctxt = (XPathContext) myContext; will also fail. myContext should be cast to the 'this' p

[Bug 2524] New: - org.apache.xalan.lib.Extension.evaluate() throws exception all the time

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2524 *** shadow/2524 Mon Jul 9 16:04:14 2001 --- shadow/2524.tmp.16505 Mon Jul 9 16:04:14 2001 *** *** 0 --- 1,36 + ++ + | org.apache.xalan.l

[Bug 2523] New: - org.apache.xalan.lib.Extension.evaluate() throws exception all the time

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2523 *** shadow/2523 Mon Jul 9 16:02:26 2001 --- shadow/2523.tmp.16491 Mon Jul 9 16:02:26 2001 *** *** 0 --- 1,36 + ++ + | org.apache.xalan.l

Re: RelationalExpr doing alpha comparisons?

2001-07-09 Thread Gary L Peskin
Dave -- I think that Michael Kay is correct on this. It may be a bug in Xalan. What version of Xalan are you using and can you supply working XML and XSLT examples that will allow us to reproduce the problem? Gary Dave wrote: > > According to Michael Kay, a relational comparison doesn't comp

RelationalExpr doing alpha comparisons?

2001-07-09 Thread Dave
According to Michael Kay, a relational comparison doesn't compare strings, but converts strings to numbers if possible and compares numeric values. When for example this element is evaluated by Xalan in my stylesheet: where number and highest number contain numbers. It seems to compare the tw

[Bug 2520] New: - keyword only attributes in HTML output are incorrect

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2520 *** shadow/2520 Mon Jul 9 13:18:32 2001 --- shadow/2520.tmp.14922 Mon Jul 9 13:18:32 2001 *** *** 0 --- 1,34 + ++ + | keyword only attri

typo in Xalan 2.2d6 F.A.Q.

2001-07-09 Thread Alexey Mahotkin
--- faq.xml Tue Jul 3 19:30:13 2001 +++ faq.xml-new Sun Jul 8 02:08:55 2001 @@ -151,7 +151,7 @@ - How does I use the "signature" file to verify my download? + How do I use the "signature" file to verify my download? For each Xalan download fil

Re: FW: [GUMP] Build Failure - Fop

2001-07-09 Thread Scott_Boag
"Matthew L. Avizinis" <[EMAIL PROTECTED]> wrote: > In my testing, > the output element with the method attribute set to text but without the > encoding attribute emits the two character output you describe in para 2 > below. On mine too. I must have misphrased that. BTW, the XSLT spec states t

Re: String repesentation of a StylesheetRoot object

2001-07-09 Thread Scott_Boag
Sorry, not at this time. What would be cool is if you could just serialize the stylesheet into a character stream, and get a clean XSLT stylesheet. I've long wanted to do this, but it has never risen high enough on the priority list. Since the StylesheetRoot/Templates object implements a minima

String repesentation of a StylesheetRoot object

2001-07-09 Thread Steve Hoffman
Hi, I need to write some code to create a "merged" stylesheet resulting from composing a source stylesheet and all of its imports and includes. I thought that I might be able to use Xalan's templates package to do this, but I can't figure out how. Is it possible to get a String repesentation of

FW: [GUMP] Build Failure - Fop

2001-07-09 Thread Matthew L. Avizinis
You are correct on all counts, with possibly one exception. In my testing, the output element with the method attribute set to text but without the encoding attribute emits the two character output you describe in para 2 below. I have seen the Lite. It's ice cold too. :-) thanks much, Matthew L

Re: Transparent caching with JAXP/TrAX

2001-07-09 Thread Scott_Boag
> This is documented here : > http://xml.apache.org/xalan-j/xsltc/xsltc_trax.html#templatescreation as > sems to fit your model. Sorry, I'm a confused guy. I see the docs, and seem to remember from previous conversations with Todd that he was going to do this, but I don't see the code anywh

FW: Please bear with me one more time

2001-07-09 Thread Matthew L. Avizinis
Dave, What was happening was that I was sending an ASCII extended character to the template and it was spitting out two characters, just as you suggest in #2 below. Using both #1 and #2 has removed the problem. I, as a human, was assuming text output so it didn't occur to me that I had to spec

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

2001-07-09 Thread curcuru
curcuru 01/07/09 11:36:30 Modified:test/java/src/org/apache/qetest/trax TransformerFactoryAPITest.java Log: Added testCase7 with getFeature, set/getAttribute tests; Note assumption that any factory we test must support Streams (would be pretty silly if so

out of memory error

2001-07-09 Thread Le, Marc
Call to extension function failed: method call/new failed: java.lang.reflect.Inv ocationTargetException target exception: java.lang.OutOfMemoryError Does anyone know how to resolve this? Thanks.

[Bug 2517] New: -

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2517 *** shadow/2517 Mon Jul 9 11:24:06 2001 --- shadow/2517.tmp.13676 Mon Jul 9 11:24:07 2001 *** *** 0 --- 1,86 + ++ + |

Re: Transparent caching with JAXP/TrAX

2001-07-09 Thread Padraig O'hIceadha
Hi Scott, [EMAIL PROTECTED] wrote: >Morten Jorgensen <[EMAIL PROTECTED]> wrote: > >>and >>we don't want to compile such classes more often than we have >>to, and this is the reason why we want cache translets. >> > >My position is that the XSLT processor should not be doing caching. I have >sai

RE: xalan-j 2.2-D6

2001-07-09 Thread Scott_Boag
XalanJ2 uses reflection for processing of the stylesheet, which turns out to be really slow on some environments -- much slower than I had realized. This is something I'm going to have to do some work on real soon. -scott

RE: Xalan 2.2.0D6 has great performance gain!

2001-07-09 Thread Scott_Boag
> Would it not make more sense to focus on > deallocation first instead of trying to make the implementation more > compact? Well, deallocation can only occur in some cases. But I agree that deallocation is probably more important. > FWIW, I had hoped to be able to devote some time to the deal

RE: xalan-j 2.2-D6

2001-07-09 Thread King, Jeffrey
Hi, Before using Xalan-j2.2, I was using Xalan version 1. Please refer to the lines below. XSLTProcessor processor = XSLTProcessorFactory.getProcessor(); XSLTInputSource xslinput = new XSLTInputSource(new FileInputStream(new File(styleSheetPath, sheetLocation))); Styleshe

cvs commit: xml-xalan/test/tests/api/xalanj2 TransformState99a.xml TransformState99a.xsl TransformState99b.xml TransformState99b.xsl TransformState99binc.xsl TransformState99c.xml TransformState99c.xsl TransformState99cimp.xsl

2001-07-09 Thread curcuru
curcuru 01/07/09 10:04:44 Added: test/tests/api/xalanj2 TransformState99a.xml TransformState99a.xsl TransformState99b.xml TransformState99b.xsl TransformState99binc.xsl TransformState99c.xml TransformState99c.xsl

cvs commit: xml-xalan/test/java/src/org/apache/qetest/xalanj2 TransformStateDatalet.java TransformStateTest.java TransformStateTestlet.java

2001-07-09 Thread curcuru
curcuru 01/07/09 10:03:25 Added: test/java/src/org/apache/qetest/xalanj2 TransformStateDatalet.java TransformStateTest.java TransformStateTestlet.java Log: New tests for TransformState; only partly validated so far Revision Cha

Re: Transparent caching with JAXP/TrAX

2001-07-09 Thread Scott_Boag
Morten Jorgensen <[EMAIL PROTECTED]> wrote: > and > we don't want to compile such classes more often than we have > to, and this is the reason why we want cache translets. My position is that the XSLT processor should not be doing caching. I have said this many times and I will continue to say

RE: Xalan 2.2.0D6 has great performance gain!

2001-07-09 Thread Art Welch
My two cents (maybe a bit less). Would it not make more sense to focus on deallocation first instead of trying to make the implementation more compact? Especially since you had mentioned that there may be an expense in execution speed for a more compact implementation, there is a known limitation

[Bug 2445] - Omitting nodes when more than one namespace is used

2001-07-09 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2445 *** shadow/2445 Fri Jul 6 09:37:22 2001 --- shadow/2445.tmp.12501 Mon Jul 9 08:57:15 2001 *** *** 243,245 --- 243,268 on. I did a search for SAXParserFactory, and found it in JaxpParser, and do see setNames

Transparent caching with JAXP/TrAX

2001-07-09 Thread Morten Jorgensen
Tom/Dick/Harry/anybody, We are trying to come up with a decent design for transparent translet caching with JAXP/TrAX. Please let me first make a distinction between caching javax.xml.transform.Transformer objects and caching Translet classes. A Transformer object can be instanciated (using a fac

Re: [Xalan 2.2D6] EmptyStackException

2001-07-09 Thread Scott_Boag
Stephane, thank you for the bug report. I replicated the bug, and just checked in a fix. I sent you a jar offline to try. It is better for us if you can post bug reports to http://nagoya.apache.org/bugzilla/. It helps us track them, do triage on them, and create regression tests. -scott

cvs commit: xml-xalan/java/src/org/apache/xalan/transformer TransformerImpl.java

2001-07-09 Thread sboag
sboag 01/07/09 08:17:18 Modified:java/src/org/apache/xalan/transformer TransformerImpl.java Log: In executeChildTemplates, somehow there was a popMode without a corresponding pushMode. The pushMode was added. Addresses bug posted by Stephane Bailliez <[EMAIL PROTECTED]> on

un WorkShop 6 update 1 C++ 5.2

2001-07-09 Thread Martin Waller
Hello, Does anyone out there have a copy of xalan built using the above C++ compiler. The xalan 1 1 we have here does not compile ! Martin

Re: Xalan-J 2.2.D6 error with jvm 1.3.1

2001-07-09 Thread Shane Curcuru
Actually, the appropriate place to ask this kind of question is over on [EMAIL PROTECTED] The [EMAIL PROTECTED] list is for cross-project and administrative issues. (I'm also cc:ing xalan-dev for the time being, since it's more active until we get people to move to xalan-j-users) Have you tried

[Xalan 2.2D6] EmptyStackException

2001-07-09 Thread Stephane Bailliez
I just gave a try to Xalan 2.2D6. Besides the fact that I have apparently some EOL spitted out to the console (that do not show up in Xalan 2.0), it crashes after some successful output. Ths stylesheet makes heavy use of the redirect extension to generate some javadoc-like report. If you have any

RE: xalan-j 2.2-D6

2001-07-09 Thread Stephane Bailliez
Indeed, this is probably because it needs a GNU compatible version of tar. See http://jakarta.apache.org/ant/manual/CoreTasks/tar.html for details. As a matter of fact, it won't work with default Solaris tar command. So Shane recommandation is valid: You can either upgrade your tar command or d