From deangardner@example.org Sat Jul 1 00:04:53 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 48268 invoked from network); 1 Jul 2000 00:04:53 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 1 Jul 2000 00:04:53 -0000 Received: from internet2.lotus.com (internet2.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id UAA27807 for <deangardner@example.org>; Fri, 30 Jun 2000 20:05:08 -0400 (EDT) From: deangardner@example.org Received: from cammail01.lotus.com (CAMMAIL01.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id KAA21752 for <deangardner@example.org>; Fri, 30 Jun 2000 10:41:36 -0400 (EDT) Subject: Re: Serializing Stylesheet with Parameters To: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.1 July 16, 1999 Message-ID: <deangardner@example.org> Date: Fri, 30 Jun 2000 10:46:17 -0400 X-MIMETrack: Serialize by Router on CAMMAIL01/CAM/M/Lotus(Build V504_06062000 |June 6, 2000) at 06/30/2000 10:46:20 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Alex, I'm not positive with regards to Xalan-J, but in Xalan C++, stylesheets do not carry such information since they are implemented so that they can be shared amonst multiple threads. As such, they do not carry any mutable state information in them, which parameters values are. Dave "Roytman, Alex" To: "'deangardner@example.org'" <deangardner@example.org> <roytmana@peac cc: (bcc: David N Bertoni/CAM/Lotus) etech.com> Subject: Serializing Stylesheet with Parameters 06/29/2000 05:53 PM Please respond to xalan-dev Hello, Is it possible to serialize prepared stylesheet back to XML stream with all parameters set by processor.setStylesheetParam()? Reason why I want to do it is that when I apply stylesheet on my web server I normally cache prepared styles as StylesheetRoot objects and set parameters to xsltprocessor before using it with processor.setStylesheetParam If I want to build system where client has choice whether to apply XSLT on server side and get html back or get XML and XSLT and process it in browser I need to put actual values for all parameters in the stylesheet and stream it to the client. I could cache stylesheet DOM Document and modify it before sending to the client but I do not like the idea of poking in stylesheet data besides in multithreaded environment I would need to serialize access to stylesheet DOM (or do something to protect DOM data) I could be even more sophisticated and cache stylesheet xml as character data and run it through SAX parser, intercept SAX events and modify parameter values before sending it to an xml serializer. This will eliminate need for synchronization but still ... Since XSLTProcessor need to parse style anyway and knows how to set parameters it would be nice to do something like this: processor.setStylesheet(style); processor.setStylesheetParam("name1", "value1"); processor.setStylesheetParam("name2", "value2"); processor.serializeStyle(out); From deangardner@example.org Sat Jul 1 00:57:57 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 67614 invoked from network); 1 Jul 2000 00:57:57 -0000 Received: from pt73.peacetech.com (HELO ptint3.peacetech.com) (83.161.120.155) by locus.apache.org with SMTP; 1 Jul 2000 00:57:57 -0000 Received: by pt73.peacetech.com with Internet Mail Service (5.5.2448.0) id <N5BQ3SMK>; Fri, 30 Jun 2000 20:57:56 -0400 Message-ID: <deangardner@example.org> From: "Roytman, Alex" <deangardner@example.org> To: "'deangardner@example.org'" <deangardner@example.org> Subject: RE: Serializing Stylesheet with Parameters Date: Fri, 30 Jun 2000 20:57:51 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello David, Thank you for your reply. Yes, of course stylesheet is immutable and parameters are set to an instance of xslt processor not to stylesheet itself. An instance of xslt processor with parameters set plus immutable stylesheet together is enough to produce stylesheet XML. It is a matter of merging immutable stylesheet data and parameter values from the processor. As you can see from this code: processor.setStylesheet(style); //set style for processor instance processor.setStylesheetParam("name1", "val1"); //set parameters for processor instance processor.serializeStyle(out); //ask processor to serialize current style with parameters it is the processor who is responsible for serializing stylesheet with parameters not stylesheet itself. I am using Xalan for Java Alex -----Original Message----- From: deangardner@example.org [mailto:deangardner@example.org] Sent: Friday, June 30, 2000 10:46 AM To: deangardner@example.org Subject: Re: Serializing Stylesheet with Parameters Hi Alex, I'm not positive with regards to Xalan-J, but in Xalan C++, stylesheets do not carry such information since they are implemented so that they can be shared amonst multiple threads. As such, they do not carry any mutable state information in them, which parameters values are. Dave "Roytman, Alex" To: "'deangardner@example.org'" <deangardner@example.org> <roytmana@peac cc: (bcc: David N Bertoni/CAM/Lotus) etech.com> Subject: Serializing Stylesheet with Parameters 06/29/2000 05:53 PM Please respond to xalan-dev Hello, Is it possible to serialize prepared stylesheet back to XML stream with all parameters set by processor.setStylesheetParam()? Reason why I want to do it is that when I apply stylesheet on my web server I normally cache prepared styles as StylesheetRoot objects and set parameters to xsltprocessor before using it with processor.setStylesheetParam If I want to build system where client has choice whether to apply XSLT on server side and get html back or get XML and XSLT and process it in browser I need to put actual values for all parameters in the stylesheet and stream it to the client. I could cache stylesheet DOM Document and modify it before sending to the client but I do not like the idea of poking in stylesheet data besides in multithreaded environment I would need to serialize access to stylesheet DOM (or do something to protect DOM data) I could be even more sophisticated and cache stylesheet xml as character data and run it through SAX parser, intercept SAX events and modify parameter values before sending it to an xml serializer. This will eliminate need for synchronization but still ... Since XSLTProcessor need to parse style anyway and knows how to set parameters it would be nice to do something like this: processor.setStylesheet(style); processor.setStylesheetParam("name1", "value1"); processor.setStylesheetParam("name2", "value2"); processor.serializeStyle(out); From deangardner@example.org Sat Jul 1 15:33:54 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 47994 invoked from network); 1 Jul 2000 15:33:54 -0000 Received: from snipe.prod.itd.earthlink.net (83.161.120.155) by locus.apache.org with SMTP; 1 Jul 2000 15:33:54 -0000 Received: from earthlink.net (dialup-83.161.120.155.Atlanta1.Level3.net [83.161.120.155]) by snipe.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id IAA14844 for <deangardner@example.org>; Sat, 1 Jul 2000 08:33:53 -0700 (PDT) Message-ID: <deangardner@example.org> Date: Sat, 01 Jul 2000 11:35:58 -0400 From: Allen <deangardner@example.org> X-Mailer: Mozilla 4.72 [en]C-CCK-MCD compaq (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: Re: ClassPath for Java extensions?? References: <deangardner@example.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I have this working with Apache 1.3.9, Tomcat 3.1, Xalan 1.0.1, and Xerces 1.0.3. My classpath has an entry for: webapps/mywebapp/WEB-INF/classes (and the physical class files are in: webapps/mywebapp/WEB-INF/classes/com/HTD). Here is my style sheet (I clipped it down to make it easier to read): <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:dropdown="com.HTD.GenerateHODropDownSelection" extension-element-prefixes="dropdown" version="1.0"> <lxslt:component prefix="dropdown" elements="" functions="getDropDownSelections"> <lxslt:script lang="javaclass" src="com.HTD.GenerateHODropDownSelection"/> </lxslt:component> <xsl:template match="/SmartHomeRecord"> <HTML> <head><title>Test...</title></head> <body> <form action="smarthomerecord?ShrResponsePage=SHR_links.jsp&amp;ShrRequestType=Update" method="post"> <H1>Test Address</H1> <p> Please select a state: <select name="SmartHomeRecord_GeneralInfo_Address_State"> <xsl:value-of select="dropdown:getDropDownSelections('state', string(GeneralInfo/Address/State/text()))" disable-output-escaping="yes"/> </select> </p> <input type="submit" name="submit" value="Submit"/> <input type="reset" value="Reset"/> </form> </body> </HTML> </xsl:template> </xsl:stylesheet> This seems to work fine. So, either the classpath that you think that you are using you are not really using or maybe there is a bug in the way you defined your component? Let me know if you need more help... Allen ----------------------------------------------------- Date: Thu, 29 Jun 2000 15:16:14 +0200 To: <deangardner@example.org> From: "Philippe Vijghen" <deangardner@example.org> Cc: "Philippe Vijghen" <deangardner@example.org> Subject: ClassPath for Java extensions?? Message-ID: <deangardner@example.org> Hi, I am in the following situation: * Xalan is called from a java environmenent (servlet-based app server) * stylesheet wants to access some Java code However, I get continuously the following message: > Call to extension element failed: be.acse.xsl.extensions.Lookup ...although the mentionned class is available from the calling servlet environment. Note that I have the same message for the samples provided with Xerces like for .\samples\Extensions\3numlistJava.xsl The only way I found to make it work is to put salansamples.jar in jre/lib/ext It doesn't work simply by compiling MyCounter.java and having the resulting class file somewhere in the class path...? :( The question is: //////////////// Q which are the constraints on the way for resolving classes : is it the traditional jre/lib/ext + CLASSPATH or is it a custom loading mechanism Thanks in advance for your support, Philippe --- Philippe Vijghen deangardner@example.org Project Manager +1-904-295-2291 ACSE s.a. Bd Général Wahis 29. B-1030 Bruxelles. Belgium From deangardner@example.org Sat Jul 1 18:19:27 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 95487 invoked from network); 1 Jul 2000 18:19:27 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 1 Jul 2000 18:19:27 -0000 Received: from internet2.lotus.com (internet2.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id OAA10597 for <deangardner@example.org>; Sat, 1 Jul 2000 14:19:41 -0400 (EDT) From: deangardner@example.org Received: from cammail01.lotus.com (CAMMAIL01.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id OAA17820 for <deangardner@example.org>; Sat, 1 Jul 2000 14:18:57 -0400 (EDT) Subject: Re: Xalan and Xerces (1_1_0 and 1_2_0) To: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.3 March 21, 2000 Message-ID: <deangardner@example.org> Date: Sat, 1 Jul 2000 14:22:00 -0400 X-MIMETrack: Serialize by Router on CAMMAIL01/CAM/M/Lotus(Build V504_06062000 |June 6, 2000) at 07/01/2000 02:23:40 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Peter, You cannot use the latest Xerces with Xalan 0.30.0, as you have discovered. You can get new sources from CVS, or you can wait until we release a new build. The target date for the build is this coming Wednesday, although that depends on when Xerces 1.2.0 is frozen. Dave "Peter Murphy" <deangardner@example.org To: <deangardner@example.org> su.com.au> cc: "Graham Ball" <deangardner@example.org>, "Gary Evans" <deangardner@example.org>, (bcc: David N Bertoni/CAM/Lotus) 06/29/2000 08:58 Subject: Xalan and Xerces (1_1_0 and 1_2_0) PM Please respond to xalan-dev I'm in a dilemma. I want to use Xalan, yet I also want to use Xerces 1.2.0 (rather than Xerces 1.1.0). I've tried compiling (VC6-SP3 on NT) Xalan 0.30 using the newer (1.2.0) header files. I've got bugs like: NullPrintWriter.cpp ..\..\..\..\src\PlatformSupport/Writer.hpp(71) : fatal error C1083: Cannot open include file: 'util/XML4CDefs.hpp': No such file or directory (I also got a similar message for util/TextOutputStream.hpp). If I try to like xerces_1D.lib into Xalan 0.30 (which I doubted would work, but it was worth a try), I get errors like: DOMStringHelper.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class TextOutputStream & __thiscall TextOutputStream888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4operator<<(unsigned short const * const)" (__imp_??6TextOutputStream@@QAEAAV0@QBG@Z) It appears that TextOutputStream has been removed from the latest version of Xerces. Is there any good substitute that I could integrate into my code? (Or is there a latest version of Xalan where the work has been done for me?. I heard something about it in the works.) Thank you. Regards, Peter From deangardner@example.org Mon Jul 3 08:33:34 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 65222 invoked from network); 3 Jul 2000 08:33:34 -0000 Received: from unknown (HELO firewall.isb-ka.de) (deangardner@example.org) by locus.apache.org with SMTP; 3 Jul 2000 08:33:34 -0000 Received: (from root@localhost) by firewall.isb-ka.de (8.8.8/8.8.8) id KAA04331 for <deangardner@example.org>; Mon, 3 Jul 2000 10:33:26 +0200 Received: from isblx1(83.161.120.155) by firewall.isb-ka.de via smap (V2.0) id xma004329; Mon, 3 Jul 00 10:33:19 +0200 Received: from isb-ka.de (ISB-PC6 [83.161.120.155]) by isb-ka.de (8.8.8/8.8.8) with ESMTP id KAA08399 for <deangardner@example.org>; Mon, 3 Jul 2000 10:33:18 +0200 Message-ID: <deangardner@example.org> Date: Mon, 03 Jul 2000 10:37:04 +0200 From: Andreas Junghans <deangardner@example.org> X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: namespace axis Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi there, thanks for your great job you're doing on Xalan. It's really nice to work with. I'm writing to request a known bug to be fixed. The release notes of Xalan-J 1.1.D01 state the following: > The namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4* axis only selects namespaces that were declared locally on the context node. Inherited namespaces are in effect; the only known flaw is the lack of their presence on this rarely-used axis. The name() function, when applied to a namespace node, returns a string that disagrees with other processors, and the XPath spec is vague on this point. Currently I'm working on stylesheets that process XML Schema documents. In some cases (e.g. the 'base' attribute of schema types), a namespace prefix is present in an attribute value. My problem is that I need to find out the namespace URI for that prefix. Unfortunately, the following doesn't work if the namespace isn't declared in the current node (as said in the release notes): <xsl:value-of select="namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4*[local-name()=$some-variable]"/> As a workaroung I'm using: <xsl:value-of select="ancestor-or-sel888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4node()/namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4*[local-name()=$some-variable]"/> Unfortunately, this seems to give me the URI of the outermost namespace declaration with the prefix $some-variable, while the innermost is what I would like to get. I would be very grateful if you could fix this bug despite the rare use of the namespace axis. Best regards Andreas Junghans -- ISB GmbH Phone +1-904-295-2291 or -0 Karlstraße 52-54 Fax {{PHONE+SOCIAL_SECURITY_NUMBER}} Karlsruhe mailto:deangardner@example.org Germany http://www.isb-ka.de From deangardner@example.org Mon Jul 3 11:54:58 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 62048 invoked from network); 3 Jul 2000 11:54:58 -0000 Received: from relay.forem.be (83.161.120.155) by locus.apache.org with SMTP; 3 Jul 2000 11:54:58 -0000 Received: from zeus.forem.be (relayintra [83.161.120.155]) by relay.forem.be (8.9.2/8.9.2) with SMTP id NAA18012 for <deangardner@example.org>; Mon, 3 Jul 2000 13:56:03 +0200 (MET DST) Received: from madrid by zeus.forem.be (SMI-8.6/SMI-SVR4) id NAA01643; Mon, 3 Jul 2000 13:52:44 +0200 From: "Philippe Vijghen" <deangardner@example.org> To: <deangardner@example.org> Subject: RE: ClassPath for Java extensions?? Date: Mon, 3 Jul 2000 13:59:22 +0200 Message-ID: <deangardner@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal In-Reply-To: <deangardner@example.org> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I have this working with Apache 1.3.9, Tomcat 3.1, Xalan 1.0.1, > and Xerces 1.0.3. My classpath has an entry for: > webapps/mywebapp/WEB-INF/classes (and the physical class files > are in: webapps/mywebapp/WEB-INF/classes/com/HTD). > This seems to work fine. So, either the classpath that you think > that you are using you are not really using or maybe there is a bug > in the way you defined your component? > Let me know if you need more help... > Allen I double-checked my XSL stylesheet and I am pretty sure see no problem in my stylesheet declaration. As mentionned before, I observe the same problem right on the command line with the tests provided in Xerces. I keep getting "Call to extension element failed: be.acse.xsl.extensions.Lookup" on stderr. (I don't have such a message when misdeclaring the xsl, which proves the XSL part is OK). When putting my classes in JRE, this solves the issue but I don't want to have to do this! I am testing it on MS WIndows NT platform (SUN JDK 1.2.2). I am not using Apache/Tomcat but JRun. Another people told me he had the same issue (see the mail included below) Thanks in advance for your support, Philippe > > Philippe: > > > > Thanks for your question to the xalan-dev list. I've spent > > the last five hours trying to solve this issue; finding your letter > > gave at lease some sort of solution: I can now go ahead by putting my > > .jars under /jre/lib/ext as you mention. > > > > The error has to be in /xpath/ExtensionFunctionHandler.java, I think. > > > > Strange when equivalent code, like this, > > > > import java.lang.*; > > > > public class TestJava { > > > > public static void main(String argv[]) { > > try { > > Object object = Class.forName(argv[0]); > > } > > catch (ClassNotFoundException e) { > > System.out.println("Woah: " + e); > > } > > } > > } > > > > can locate the classes, but xalan cannot! > > > > Yours, From deangardner@example.org Mon Jul 3 13:37:36 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 31549 invoked from network); 3 Jul 2000 13:37:36 -0000 Received: from mailhost.cs.auc.dk (deangardner@example.org) by locus.apache.org with SMTP; 3 Jul 2000 13:37:36 -0000 Received: from loda17.cs.auc.dk (deangardner@example.org [83.161.120.155]) by mailhost.cs.auc.dk (8.9.3/8.9.3) with ESMTP id PAA23917 for <deangardner@example.org>; Mon, 3 Jul 2000 15:37:34 +0200 (MET DST) Received: (from max@localhost) by loda17.cs.auc.dk (8.9.3/8.9.3) id PAA29397; Mon, 3 Jul 2000 15:37:33 +0200 (MET DST) X-Authentication-Warning: loda17.cs.auc.dk: max set sender to deangardner@example.org using -f To: deangardner@example.org Subject: using XSL with sessions in urls ? From: deangardner@example.org (Max R. Andersen) Date: 03 Jul 2000 15:37:33 +0200 Message-ID: <deangardner@example.org> Lines: 15 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi! I could not find a xalan-user mailing list so please redirect me if this is the incorrect list. My question is specific to the usage of xsl to transform pages via a servlet whith a session. How do you guys handle rewriting of urls for use with sessions in XSL ? Do you use the extensions mechanism ? (which requires BSF which seems rather overkill for doing this simple "deed") Do you just send in the sessionid as a xsl-parameter and append it to each url ? (if yes, how ?) With hope, -- Max R. Andersen (deangardner@example.org) From deangardner@example.org Mon Jul 3 16:51:21 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 40352 invoked from network); 3 Jul 2000 16:51:21 -0000 Received: from chmls05.mediaone.net (83.161.120.155) by locus.apache.org with SMTP; 3 Jul 2000 16:51:21 -0000 Received: from jonsmirl (jonsmirl.ne.mediaone.net [83.161.120.155]) by chmls05.mediaone.net (8.8.7/8.8.7) with SMTP id MAA11609 for <deangardner@example.org>; Mon, 3 Jul 2000 12:51:18 -0400 (EDT) Message-ID: <deangardner@example.org> From: "Jon Smirl" <deangardner@example.org> To: "xalan" <deangardner@example.org> Subject: xalan-c: performance, DOM's the problem Date: Mon, 3 Jul 2000 12:50:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I have my Apache transform module working now. I'm able to synthesize XML input documents from the database, trransform them to HTML and send them on to the browser. I'm disapointed in the performance aspect, it's only about 30% faster than my Java version. I was hoping for 5x or better than my Java version. So now I'm starting to dig into why, this is just a preliminary run and may have errors in it, but it gives the general idea. This is a break down by DLL. My code is the first two. There is no parsing going on in this system, all of the stylesheets have been compiled. If's pretty clear that the problem is the DOM implementation. Module Statistics for px7test.exe --------------------------------- Percent of time in module: 0.1% Module Statistics for px7.dll ----------------------------- Percent of time in module: 3.8% Module Statistics for xercesplatformsupport.dll ----------------------------------------------- Percent of time in module: 0.1% Module Statistics for platformsupport.dll ----------------------------------------- Percent of time in module: 5.6% Module Statistics for xalandom.dll ---------------------------------- Percent of time in module: 0.1% Module Statistics for xercesparserliaison.dll --------------------------------------------- Percent of time in module: 46.3% Module Statistics for domsupport.dll ------------------------------------ Percent of time in module: 4.0% Module Statistics for xmlsupport.dll ------------------------------------ Percent of time in module: 0.3% Module Statistics for xpath.dll ------------------------------- Percent of time in module: 27.7% Module Statistics for xslt.dll ------------------------------ Percent of time in module: 11.9% Top three hot spots in xpath.dll: SimpleNodeLocator888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nodeTest(class XPath const &,class XPathExecutionContext &,class XalanNode *,int,int,int) (simplenodelocator.obj) operator delete(void *) (delop_s.obj) QNam888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getNamespaceForPrefix(class st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4vector<class NameSpace,class st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4allocator<class NameSpace> > const &,class DOMString const &,bool) (qname.obj) Everything is pretty much equally hot in xercesparserliaison.dll. Top things are getNodeName(), getNodeValue(), mapNode(), getNextSibling() I left out separately profiling the Xerces DLL the Xerces DLL time is included in who ever called it. I'll do another run tonight including it. Jon Smirl deangardner@example.org From deangardner@example.org Mon Jul 3 18:56:25 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 94761 invoked from network); 3 Jul 2000 18:56:25 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 3 Jul 2000 18:56:25 -0000 Received: from internet1.lotus.com (internet1.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id OAA07416 for <deangardner@example.org>; Mon, 3 Jul 2000 14:56:31 -0400 (EDT) From: deangardner@example.org Received: from cammail08.lotus.com (CAMMAIL08.lotus.com [83.161.120.155]) by internet1.lotus.com (8.9.3/8.9.3) with ESMTP id NAA10334 for <deangardner@example.org>; Mon, 3 Jul 2000 13:04:09 -0400 (EDT) Subject: Re: namespace axis To: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.2c February 2, 2000 Message-ID: <deangardner@example.org> Date: Mon, 3 Jul 2000 13:01:07 -0400 X-MIMETrack: Serialize by Router on CAMMAIL08/CAM/M/Lotus(Release 5.0.2c |February 2, 2000) at 07/03/2000 01:01:10 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Andreas Junghans writes: >I'm writing to request a known bug to be fixed. >... >I would be very grateful if you could fix this bug >despite the rare use of the namespace axis. This wording stimulates me to post a reminder for all Xalan-dev subscribers: the "you" in the above request should be taken to mean all of you/us, not just those who happen to be working for Lotus. Being a Lotus employee, I know how the XSLT/XML work is allocated, and it looks to me like this could fall too low on our list of things to do. As regular readers know, we have some ideas embedded in Xalan-Java 2.0 which have been brought out for your comment. I think that the Lotus folk, at least on the Java project, are expending their cycles on 2.0 and would hope for a solution to the namespace issues there. But any member of this list who feels up to the task could code a fix for 1.1. You could figure out some way to make namespace nodes appear on the input tree(s) in accordance with the XPath fantasy, or alter the behavior of namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 to implement the fantasy itself. That fantasy is described in Section 5.4 of the XPath spec and essentially says that every element node holds distinct namespace nodes for every namespace in scope, both those locally declared and those inherited from ancestor elements. .................David Marston From deangardner@example.org Mon Jul 3 21:46:57 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 73999 invoked from network); 3 Jul 2000 21:46:57 -0000 Received: from lotus.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 3 Jul 2000 21:46:57 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus.lotus.com (8.9.3/8.9.3) with ESMTP id RAA05571 for <deangardner@example.org>; Mon, 3 Jul 2000 17:45:11 -0400 (EDT) From: deangardner@example.org Received: from cammail08.lotus.com (CAMMAIL08.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id KAA13756 for <deangardner@example.org>; Mon, 3 Jul 2000 10:01:43 -0400 (EDT) Subject: Re: Xalan and Xerces (1_1_0 and 1_2_0) To: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.2c February 2, 2000 Message-ID: <deangardner@example.org> Date: Mon, 3 Jul 2000 09:58:43 -0400 X-MIMETrack: Serialize by Router on CAMMAIL08/CAM/M/Lotus(Release 5.0.2c |February 2, 2000) at 07/03/2000 09:58:44 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Peter Murphy wrote: >I want to use Xalan, yet I also want to use Xerces 1.2.0 (rather than >Xerces 1.1.0). >... >(Or is there a latest version of Xalan where the work has been done >for me?. I heard something about it in the works.) That's right. Once we get past our American holidays, you should see something. .................David Marston From deangardner@example.org Tue Jul 4 16:57:51 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 64501 invoked from network); 4 Jul 2000 16:57:51 -0000 Received: from unknown (HELO mailhost.banana.ch) (83.161.120.155) by locus.apache.org with SMTP; 4 Jul 2000 16:57:51 -0000 Received: from banana.ch ([83.161.120.155]) by mailhost.banana.ch (Post.Office MTA v3.5.3 release 223 ID# 114-62309U100L2S100V35) with ESMTP id ch for <deangardner@example.org>; Tue, 4 Jul 2000 18:59:14 +0200 Message-ID: <deangardner@example.org> Date: Tue, 04 Jul 2000 19:03:56 +0200 From: deangardner@example.org (Claudia Albisetti) X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: Rebuilding Xalan-C++ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I would like to rebuild the Windows32 release, using MS Visual C++ 6.0 and the latest source available from CVS (I think should be Xalan 0.40.0 or something like that). For this reason I downloaded all the source from CVS (included the projects in the directory /build/win32/vc6). Unfortunately when I open the workspace xalan.dsw, this seems to contain no project. I think that the projects is not valid for Visual Studio. Is it possible? Or I made something wrong? I tried to open the old project xalan.dsw (0.30.0) but this does not work with the new source files. Can someone tell me which changes I have to do in the xalan workspace or project included? Thanks for your help. Bye, Claudia Albisetti deangardner@example.org www.banana.ch From deangardner@example.org Tue Jul 4 17:07:43 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 76361 invoked from network); 4 Jul 2000 17:07:43 -0000 Received: from chmls06.mediaone.net (83.161.120.155) by locus.apache.org with SMTP; 4 Jul 2000 17:07:43 -0000 Received: from jonsmirl (jonsmirl.ne.mediaone.net [83.161.120.155]) by chmls06.mediaone.net (8.8.7/8.8.7) with SMTP id NAA22263 for <deangardner@example.org>; Tue, 4 Jul 2000 13:07:38 -0400 (EDT) Message-ID: <deangardner@example.org> From: "Jon Smirl" <deangardner@example.org> To: <deangardner@example.org> References: <deangardner@example.org> Subject: Re: Rebuilding Xalan-C++ Date: Tue, 4 Jul 2000 13:06:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I just synched to the current CVS and it builds without problem on MSVC 6.0. It gets the usual 5,000 warnings. I use this command with CVS, I use WinCVS: cvs update -P -d (in directory d:\cvs\xml-xalan\) Jon Smirl deangardner@example.org From deangardner@example.org Wed Jul 5 04:39:31 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 35060 invoked from network); 5 Jul 2000 04:39:31 -0000 Received: from mr14.vic-remote.bigpond.net.au (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 04:39:31 -0000 Received: from bigpond.net.au (CPE-144-132-12-73.vic.bigpond.net.au [83.161.120.155]) by mr14.vic-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id OAA28833 for <deangardner@example.org>; Wed, 5 Jul 2000 14:39:03 +1000 (EST) Sender: deangardner@example.org Message-ID: <deangardner@example.org> Date: Wed, 05 Jul 2000 14:38:35 +1000 From: Jason Harrop <deangardner@example.org> X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: xml:space attribute declaration? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi. I specified in the external subset of my DTD that the root element has attribute xml:space (default|preserve) 'default'. For good measure I've also explicitly set the xml:space attribute on the root element of the xml document to "default". Xerces is happy with this, and strips whitespace as expected; Xalan (which i realise uses xsl:strip-space) when parsing the xml file says [Error] Attribute xml:space not found in element type myRootElement Parser error: Attribute "xml:space" must be declared for element type "myRootElement". What might i be doing wrong? thanks Jason From deangardner@example.org Wed Jul 5 14:05:46 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 13569 invoked from network); 5 Jul 2000 14:05:46 -0000 Received: from unknown (HELO mailhost.banana.ch) (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 14:05:46 -0000 Received: from banana.ch ([83.161.120.155]) by mailhost.banana.ch (Post.Office MTA v3.5.3 release 223 ID# 114-62309U100L2S100V35) with ESMTP id ch for <deangardner@example.org>; Wed, 5 Jul 2000 16:07:10 +0200 Message-ID: <deangardner@example.org> Date: Wed, 05 Jul 2000 16:11:53 +0200 From: deangardner@example.org (Claudia Albisetti) X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: Re: Rebuilding Xalan-C++ References: <deangardner@example.org> <deangardner@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks for your help. At the moment I do not use WinCVS, I just downloaded the files from the browser. I opened and saved (with notepad) the downloaded projects and workspace and now they work fine. Maybe the end of the downloaded files were not correct in Windows NT. Claudia Albisetti deangardner@example.org Jon Smirl wrote: > I just synched to the current CVS and it builds without problem on MSVC 6.0. > It gets the usual 5,000 warnings. > > I use this command with CVS, I use WinCVS: > cvs update -P -d (in directory d:\cvs\xml-xalan\) > > Jon Smirl > deangardner@example.org From deangardner@example.org Wed Jul 5 14:16:48 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 21307 invoked from network); 5 Jul 2000 14:16:48 -0000 Received: from chmls06.mediaone.net (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 14:16:48 -0000 Received: from jonsmirl (jonsmirl.ne.mediaone.net [83.161.120.155]) by chmls06.mediaone.net (8.8.7/8.8.7) with SMTP id KAA08156 for <deangardner@example.org>; Wed, 5 Jul 2000 10:16:44 -0400 (EDT) Message-ID: <deangardner@example.org> From: "Jon Smirl" <deangardner@example.org> To: <deangardner@example.org> References: <deangardner@example.org> <deangardner@example.org> <deangardner@example.org> Subject: Re: Rebuilding Xalan-C++ Date: Wed, 5 Jul 2000 10:15:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You can get deangardner@example.org. It's a free program. There is even a CVS plugin for MSVC but I haven't tried it yet. Jon Smirl deangardner@example.org From deangardner@example.org Wed Jul 5 17:49:33 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 46784 invoked from network); 5 Jul 2000 17:49:33 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 17:49:33 -0000 Received: from internet2.lotus.com (internet2.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id NAA00297; Wed, 5 Jul 2000 13:49:27 -0400 (EDT) Received: from a3mail.lotus.com (A3MAIL.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id NAA04666; Wed, 5 Jul 2000 13:48:38 -0400 (EDT) Subject: Re: xml:space attribute declaration? To: deangardner@example.org Cc: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.1 July 16, 1999 Message-ID: <deangardner@example.org> From: "Scott Boag/CAM/Lotus" <deangardner@example.org> Date: Wed, 5 Jul 2000 13:49:38 -0400 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V505_06082000 |June 8, 2000) at 07/05/2000 01:51:07 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Xerces is happy with this, and strips whitespace as expected; Xalan >(which i realise uses xsl:strip-space) when parsing the xml file says > > [Error] Attribute xml:space not found in element type myRootElement > Parser error: Attribute "xml:space" must be declared for element type > "myRootElement". Strange that xerces stand-alone seems to be happy with this, since the above error is a parser validation error. Did you try declaring the use of xml:space in your DTD? -scott Jason Harrop <deangardner@example.org> To: deangardner@example.org Sent by: cc: (bcc: Scott Boag/CAM/Lotus) deangardner@example.org Subject: xml:space attribute declaration? ond.net.au 07/05/2000 12:38 AM Please respond to xalan-dev Hi. I specified in the external subset of my DTD that the root element has attribute xml:space (default|preserve) 'default'. For good measure I've also explicitly set the xml:space attribute on the root element of the xml document to "default". Xerces is happy with this, and strips whitespace as expected; Xalan (which i realise uses xsl:strip-space) when parsing the xml file says [Error] Attribute xml:space not found in element type myRootElement Parser error: Attribute "xml:space" must be declared for element type "myRootElement". What might i be doing wrong? thanks Jason From deangardner@example.org Wed Jul 5 17:58:22 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 56080 invoked from network); 5 Jul 2000 17:58:22 -0000 Received: from mta5.rcsntx.swbell.net (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 17:58:22 -0000 Received: from [83.161.120.155] by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.283.161.120.155.18.p9) with ESMTP id <deangardner@example.org> for deangardner@example.org; Wed, 5 Jul 2000 12:56:36 -0500 (CDT) Date: Wed, 05 Jul 2000 12:56:53 -0500 From: Mike Engelhart <deangardner@example.org> Subject: XPath from Node In-reply-to: <deangardner@example.org> To: deangardner@example.org Message-id: <deangardner@example.org> MIME-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Does anyone have any sample code that would return a valid XPath from an abitrary node. What I'm trying to do is walk a DOM and return an XPath at every node. I've managed to fail miserably at attempting this :-) Thanks, Mike From deangardner@example.org Wed Jul 5 18:41:46 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 97427 invoked from network); 5 Jul 2000 18:41:46 -0000 Received: from mail2.multiactive.com (HELO mail.multiactive.com) (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 18:41:46 -0000 Received: from kzinti (kzinti.multiactive.com [83.161.120.155]) by mail.multiactive.com (8.9.3/8.9.3) with SMTP id LAA14526 for <deangardner@example.org>; Wed, 5 Jul 2000 11:45:54 -0700 Message-ID: <deangardner@example.org> From: "David Braaten" <deangardner@example.org> To: <deangardner@example.org> References: <deangardner@example.org> Subject: XalanC format-number() and redirect extension? Date: Wed, 5 Jul 2000 11:43:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Will anyone be doing any work on the format-number function or the redirect extension anytime soon? I can work around not having the redirect extension for my project, but the format number is required. If no one is planning to work on format-number, I suppose I will have to do something with it myself... tia From deangardner@example.org Wed Jul 5 19:54:50 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 53122 invoked from network); 5 Jul 2000 19:54:50 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 19:54:50 -0000 Received: from internet2.lotus.com (internet2.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id PAA00966 for <deangardner@example.org>; Wed, 5 Jul 2000 15:55:06 -0400 (EDT) From: deangardner@example.org Received: from cammail01.lotus.com (CAMMAIL01.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id PAA24114 for <deangardner@example.org>; Wed, 5 Jul 2000 15:54:14 -0400 (EDT) Subject: Re: XalanC format-number() and redirect extension? To: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.1 July 16, 1999 Message-ID: <deangardner@example.org> Date: Wed, 5 Jul 2000 15:59:10 -0400 X-MIMETrack: Serialize by Router on CAMMAIL01/CAM/M/Lotus(Build V504_06062000 |June 6, 2000) at 07/05/2000 03:58:55 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N We have a bridge to use the ICU (International Classes for Unicode) to do number formatting. It's available right now on Windows, and will be available soon under Linux. We'll be releasing documentation, etc. some time soon. Dave "David Braaten" <david.braaten@multia To: <deangardner@example.org> ctive.com> cc: (bcc: David N Bertoni/CAM/Lotus) Subject: XalanC format-number() and redirect extension? 07/05/2000 02:43 PM Please respond to xalan-dev Will anyone be doing any work on the format-number function or the redirect extension anytime soon? I can work around not having the redirect extension for my project, but the format number is required. If no one is planning to work on format-number, I suppose I will have to do something with it myself... tia From deangardner@example.org Wed Jul 5 21:54:19 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 48935 invoked from network); 5 Jul 2000 21:54:19 -0000 Received: from web5401.mail.yahoo.com (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 21:54:19 -0000 Message-ID: <deangardner@example.org> Received: from [83.161.120.155] by web5401.mail.yahoo.com; Wed, 05 Jul 2000 23:53:51 CEST Date: Wed, 5 Jul 2000 23:53:51 +0200 (CEST) From: =?iso-8859-1?q?Pierre=20CARION?= <deangardner@example.org> Subject: xsl:include to retrieve file in .jar file To: deangardner@example.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I would like to put all my xsl stylesheets into a .jar file. I can load the top level stylesheet but how to write href in xsl:include to retrieve other xsl files from my .jar file ? Tt seems that xalan expects regular file and doesn't look in classpath to find files ... Thank you ___________________________________________________________ Do You Yahoo!? Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr From deangardner@example.org Wed Jul 5 22:19:40 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 74071 invoked from network); 5 Jul 2000 22:19:40 -0000 Received: from mail2.multiactive.com (HELO mail.multiactive.com) (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 22:19:40 -0000 Received: from kzinti (kzinti.multiactive.com [83.161.120.155]) by mail.multiactive.com (8.9.3/8.9.3) with SMTP id PAA02202 for <deangardner@example.org>; Wed, 5 Jul 2000 15:23:49 -0700 Message-ID: <deangardner@example.org> From: "David Braaten" <deangardner@example.org> To: <deangardner@example.org> References: <deangardner@example.org> Subject: Re: XalanC format-number() and redirect extension? Date: Wed, 5 Jul 2000 15:21:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks. I'm trying to get it built with icu now. Other people may want to know where to get icu from: Release downloads: http://oss.software.ibm.com/icu/download/index.html CVS: http://oss.software.ibm.com/icu/develop/cvs.html ----- Original Message ----- From: <deangardner@example.org> To: <deangardner@example.org> Sent: Wednesday, July 05, 2000 12:59 PM Subject: Re: XalanC format-number() and redirect extension? > > We have a bridge to use the ICU (International Classes for Unicode) to do > number formatting. It's available right now on Windows, and will be > available soon under Linux. We'll be releasing documentation, etc. some > time soon. > > Dave > > > > > "David Braaten" > <david.braaten@multia To: <deangardner@example.org> > ctive.com> cc: (bcc: David N Bertoni/CAM/Lotus) > Subject: XalanC format-number() and redirect extension? > 07/05/2000 02:43 PM > Please respond to > xalan-dev > > > > > > Will anyone be doing any work on the format-number function or the redirect > extension > anytime soon? > > I can work around not having the redirect extension for my project, but the > format number is > required. > > If no one is planning to work on format-number, I suppose I will have to do > something with it myself... > > tia > > > > From deangardner@example.org Wed Jul 5 22:49:39 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 97068 invoked from network); 5 Jul 2000 22:49:39 -0000 Received: from smtp04.wxs.nl (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 22:49:39 -0000 Received: from enterprise (ipc379dd58.dial.wxs.nl [83.161.120.155]) by smtp04.wxs.nl (Netscape Messaging Server 4.05 Jun 27 2000 10:40:22) with ESMTP id FX8Y2003.GAT for <deangardner@example.org>; Thu, 6 Jul 2000 00:49:12 +0200 Reply-To: <deangardner@example.org> From: "Faraz Kohari" <deangardner@example.org> To: <deangardner@example.org> Subject: Extension Element Error Date: Thu, 6 Jul 2000 00:48:44 +0200 Message-ID: <000201bfe6d3$30022c80$58dd79c3@enterprise> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, Once again I find myself in trouble and turn to the group for help. This time I am implementing Extension Elements. My implementation works perfectly when I run it as an application, however, when I translate the xml within a servlet (I am using the latest releases of Tomcat & Apache) I get the following error: I have tried to check everything, including the availability of the proper jar files within the Tomcat paths (bsf.jar, bsfengines.jar, servlet.jar, xalan.jar, xerces.jar etc.). Any possible suggestions for me to investigate would be of help since I have no idea at this point, of how I should proceed. Thanks. ============================================================================ ===== Error: 500 Location: /servlet/TesterPR Internal Servlet Error: java.lang.IllegalAccessError: try to access field org/apache/xalan/xpath/ExtensionFunctionHandler.class$com$ibm$bsf$BSFManager from class deangardner@example.org(ExtensionNSHandler.j ava:244) at org.apache.xalan.xslt.ElemExtensionCall.execute(ElemExtensionCall.java, Compiled Code) at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen t.java, Compiled Code) at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java, Compiled Code) at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen t.java, Compiled Code) at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java, Compiled Code) at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen t.java, Compiled Code) at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java:145) at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java, Compiled Code) at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java, Compiled Code) at TesterPR.doGet(TesterPR.java:35) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java:156) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:479) ====================================================== From deangardner@example.org Wed Jul 5 23:51:17 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 41249 invoked from network); 5 Jul 2000 23:51:17 -0000 Received: from mr14.vic-remote.bigpond.net.au (83.161.120.155) by locus.apache.org with SMTP; 5 Jul 2000 23:51:17 -0000 Received: from bigpond.net.au (CPE-144-132-12-73.vic.bigpond.net.au [83.161.120.155]) by mr14.vic-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id JAA29810 for <deangardner@example.org>; Thu, 6 Jul 2000 09:50:48 +1000 (EST) Sender: deangardner@example.org Message-ID: <deangardner@example.org> Date: Thu, 06 Jul 2000 09:50:22 +1000 From: Jason Harrop <deangardner@example.org> X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: deangardner@example.org Subject: Re: xml:space attribute declaration? References: <deangardner@example.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N sure, my dtd contained <!ATTLIST myRootElement xml:space (default|preserve) 'default'> The Namespaces in XML Recommendation says i don't have to declare the xml namespace? FWIW, in the xml document, none of the other elements have a prefix attached. thnks Jason Scott Boag/CAM/Lotus wrote: > > > Xerces is happy with this, and strips whitespace as expected; Xalan > >(which i realise uses xsl:strip-space) when parsing the xml file says > > > > [Error] Attribute xml:space not found in element type > myRootElement > > Parser error: Attribute "xml:space" must be declared for element > type > > "myRootElement". > > Strange that xerces stand-alone seems to be happy with this, since the > above error is a parser validation error. Did you try declaring the use of > xml:space in your DTD? > > -scott > > > Jason Harrop > <deangardner@example.org> To: deangardner@example.org > Sent by: cc: (bcc: Scott Boag/CAM/Lotus) > deangardner@example.org Subject: xml:space attribute declaration? > ond.net.au > > > 07/05/2000 12:38 AM > Please respond to > xalan-dev > > > > Hi. I specified in the external subset of my DTD that the root element > has attribute xml:space (default|preserve) 'default'. For good measure > I've also explicitly set the xml:space attribute on the root element of > the xml document to "default". > > Xerces is happy with this, and strips whitespace as expected; Xalan > (which i realise uses xsl:strip-space) when parsing the xml file says > > [Error] Attribute xml:space not found in element type > myRootElement > Parser error: Attribute "xml:space" must be declared for element > type > "myRootElement". > > What might i be doing wrong? > > thanks > > Jason From deangardner@example.org Thu Jul 6 00:29:56 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 66783 invoked from network); 6 Jul 2000 00:29:56 -0000 Received: from web3206.mail.yahoo.com (83.161.120.155) by locus.apache.org with SMTP; 6 Jul 2000 00:29:56 -0000 Message-ID: <deangardner@example.org> Received: from [83.161.120.155] by web3206.mail.yahoo.com; Wed, 05 Jul 2000 17:29:30 PDT Date: Wed, 5 Jul 2000 17:29:30 -0700 (PDT) From: Darren Sutherland <deangardner@example.org> Subject: Malformed HTML in XML To: deangardner@example.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Is it possible to include malformed HTML in an XML document? This is a problem with a web based application I'm working on that accepts HTML tags as input for a personal description. The XML is created from this data which is stored in a DB. The HTML will not work properly as an attribute of a tag, and the <![CDATA[ .. ]]> tag will simply ignore all the HTML tags within it. Is there any XML based solution, or would a custom parser need to be written? Will Xalan support this? Thanks very much. __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From deangardner@example.org Thu Jul 6 01:35:20 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 8027 invoked from network); 6 Jul 2000 01:35:20 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 6 Jul 2000 01:35:20 -0000 Received: from internet2.lotus.com (internet2.lotus.com [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id VAA01054; Wed, 5 Jul 2000 21:35:25 -0400 (EDT) Received: from a3mail.lotus.com (A3MAIL.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id VAA23462; Wed, 5 Jul 2000 21:34:36 -0400 (EDT) Subject: Re: xml:space attribute declaration? To: deangardner@example.org Cc: deangardner@example.org X-Mailer: Lotus Notes Release 5.0.1 July 16, 1999 Message-ID: <deangardner@example.org> From: "Scott Boag/CAM/Lotus" <deangardner@example.org> Date: Wed, 5 Jul 2000 21:33:28 -0400 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V505_06082000 |June 8, 2000) at 07/05/2000 09:37:05 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N OK. Strange indeed. Dave, can you run some tests on this? -scott Jason Harrop <deangardner@example.org> To: deangardner@example.org Sent by: cc: (bcc: Scott Boag/CAM/Lotus) deangardner@example.org Subject: Re: xml:space attribute declaration? ond.net.au 07/05/2000 07:50 PM Please respond to xalan-dev sure, my dtd contained <!ATTLIST myRootElement xml:space (default|preserve) 'default'> The Namespaces in XML Recommendation says i don't have to declare the xml namespace? FWIW, in the xml document, none of the other elements have a prefix attached. thnks Jason Scott Boag/CAM/Lotus wrote: > > > Xerces is happy with this, and strips whitespace as expected; Xalan > >(which i realise uses xsl:strip-space) when parsing the xml file says > > > > [Error] Attribute xml:space not found in element type > myRootElement > > Parser error: Attribute "xml:space" must be declared for element > type > > "myRootElement". > > Strange that xerces stand-alone seems to be happy with this, since the > above error is a parser validation error. Did you try declaring the use of > xml:space in your DTD? > > -scott > > > Jason Harrop > <deangardner@example.org> To: deangardner@example.org > Sent by: cc: (bcc: Scott Boag/CAM/Lotus) > deangardner@example.org Subject: xml:space attribute declaration? > ond.net.au > > > 07/05/2000 12:38 AM > Please respond to > xalan-dev > > > > Hi. I specified in the external subset of my DTD that the root element > has attribute xml:space (default|preserve) 'default'. For good measure > I've also explicitly set the xml:space attribute on the root element of > the xml document to "default". > > Xerces is happy with this, and strips whitespace as expected; Xalan > (which i realise uses xsl:strip-space) when parsing the xml file says > > [Error] Attribute xml:space not found in element type > myRootElement > Parser error: Attribute "xml:space" must be declared for element > type > "myRootElement". > > What might i be doing wrong? > > thanks > > Jason From deangardner@example.org Thu Jul 6 03:18:04 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 65961 invoked from network); 6 Jul 2000 03:18:04 -0000 Received: from balld-0.dsl.speakeasy.net (HELO localhost.localdomain) (@83.161.120.155) by locus.apache.org with SMTP; 6 Jul 2000 03:18:04 -0000 Received: by localhost.localdomain (Postfix, from userid 501) id 17A4F4858; Wed, 5 Jul 2000 23:21:25 -0400 (EDT) Received: from localhost (localhost [83.161.120.155]) by localhost.localdomain (Postfix) with ESMTP id F300D6026 for <deangardner@example.org>; Wed, 5 Jul 2000 23:21:25 -0400 (EDT) Date: Wed, 5 Jul 2000 23:21:25 -0400 (EDT) From: Donald Ball <deangardner@example.org> X-Sender: deangardner@example.org To: deangardner@example.org Subject: Re: Malformed HTML in XML In-Reply-To: <deangardner@example.org> Message-ID: <deangardner@example.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Is it possible to include malformed HTML in an XML > document? This is a problem with a web based > application I'm working on that accepts HTML tags as > input for a personal description. The XML is created > from this data which is stored in a DB. The HTML will > not work properly as an attribute of a tag, and the > <![CDATA[ .. ]]> tag will simply ignore all the HTML > tags within it. Is there any XML based solution, or > would a custom parser need to be written? Will Xalan > support this? Thanks very much. you might look to openxml (http://www.openxml.org/) or jtidy for help - they both offer HTML DOM parsers which can read poorly formed HTML and generate a DOM object from them. - donald From deangardner@example.org Thu Jul 6 11:17:28 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 3075 invoked from network); 6 Jul 2000 11:17:28 -0000 Received: from unknown (HELO firewall.isb-ka.de) (deangardner@example.org) by locus.apache.org with SMTP; 6 Jul 2000 11:17:28 -0000 Received: (from root@localhost) by firewall.isb-ka.de (8.8.8/8.8.8) id NAA23069 for <deangardner@example.org>; Thu, 6 Jul 2000 13:17:25 +0200 Received: from isblx1(83.161.120.155) by firewall.isb-ka.de via smap (V2.0) id xma023063; Thu, 6 Jul 00 13:17:12 +0200 Received: from isb-ka.de (ISB-PC6 [83.161.120.155]) by isb-ka.de (8.8.8/8.8.8) with ESMTP id NAA20575 for <deangardner@example.org>; Thu, 6 Jul 2000 13:17:11 +0200 Message-ID: <deangardner@example.org> Date: Thu, 06 Jul 2000 13:19:40 +0200 From: Andreas Junghans <deangardner@example.org> X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "deangardner@example.org" <deangardner@example.org> Subject: default namespace node Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi there, I've encountered a behaviour of Xalan-J that seems to derivate a little from the XPath spec, section 5.4. According to the spec, the local part of a namespace node for the default namespace should be empty. However, Xalan returns "xmlns" when using the local-name() function on this node. Xalan Version: 1.0.1 Documents to reproduce behaviour: <?xml version="1.0"?> <a xmlns="test" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xsi:schemaLocation="test test.xsd" > <elem>hello</elem> </a> ----- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tst="test" > <xsl:template match="/tst:a"> <xsl:message> <xsl:value-of select="local-name(namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4* [string()='http://www.w3.org/1999/XMLSchema-instance'])"/> </xsl:message> <xsl:message> <xsl:value-of select="local-name(namesp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4* [string()='test'])"/> </xsl:message> </xsl:template> </xsl:stylesheet> Output: xsi xmlns Best regards Andreas Junghans -- ISB GmbH Phone +1-904-295-2291 or -0 Karlstraße 52-54 Fax {{PHONE+SOCIAL_SECURITY_NUMBER}} Karlsruhe mailto:deangardner@example.org Germany http://www.isb-ka.de From deangardner@example.org Thu Jul 6 11:30:35 2000 Return-Path: <deangardner@example.org> Mailing-List: contact deangardner@example.org; run by ezmlm Delivered-To: mailing list deangardner@example.org Received: (qmail 669 invoked from network); 6 Jul 2000 11:30:35 -0000 Received: from proxy3.aha.ru (83.161.120.155) by locus.apache.org with SMTP; 6 Jul 2000 11:30:35 -0000 Received: from ns1.aha.ru (ns1.aha.ru [83.161.120.155]) by proxy3.aha.ru (8.9.3/8.9.1/aha-r/0.04B) with ESMTP id OAA96055 for <deangardner@example.org>; Thu, 6 Jul 2000 14:56:03 +0400 (MSD) X-BodyDigest: 87ee35f8fbae53ab4cc88f0423ddf28f Received: from sunny.aha.ru (sunny.aha.ru [83.161.120.155]) by ns1.aha.ru (8.9.3/8.9.3/aha-r/0.04B) with ESMTP id OAA69434 for <deangardner@example.org>; Thu, 6 Jul 2000 14:54:48 +0400 (MSD) Received: from relay.eiffel (p21-n66.dip.aha.ru [83.161.120.155]) by sunny.aha.ru (8.9.3/8.9.3) with ESMTP id OAA72303 for <deangardner@example.org>; Thu, 6 Jul 2000 14:54:16 +0400 (MSD) Received: from sergei (sergei.eiffel [83.161.120.155]) by relay.eiffel (8.9.3/8.9.3/Debian/GNU) with SMTP id OAA02646 for <deangardner@example.org>; Thu, 6 Jul 2000 14:24:12 +0400 Message-ID: <004201bfe734$56114030$1d0110ac@eiffel> From: "Sergei S. Ivanov" <deangardner@example.org> To: "xalan mailing list" <deangardner@example.org> Subject: Number localization in XPath 'string()' function Date: Thu, 6 Jul 2000 14:24:08 +0400 Organization: Object Tools, Moscow MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2417.2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Hello, all It seems that when converting floating point numbers to strings, the 'string' function applies current locale settings. I.e. evaluating the following rule in my environment (with Russian regional settings) <xsl:value-of select="string(number('10.21332'))"/> I got:
{'source': 'Apache Software Foundation Public Mail Archives'}