From MAILER-DAEMON Fri Nov 1 09:57:05 2002 Date: 01 Nov 2002 09:57:05 -0800 From: Mail System Internal Data <wendyjenkins@example.net> Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA X-IMAP: 1036173425 0000000000 Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. From xalan-c-wendyjenkins@example.net Thu Aug 01 08:20:13 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 60158 invoked by uid 500); 1 Aug 2002 08:20:12 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 60151 invoked from network); 1 Aug 2002 08:20:11 -0000 Received: from mark.labs.trema.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 08:20:11 -0000 Received: from labsex1.corp.trema.com (mail-2.trema.com [83.161.120.155]) by mark.labs.trema.com (8.9.3/8.9.3) with ESMTP id KAA08740 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 10:19:59 +0200 (MET DST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-mimeole: Produced By Microsoft Exchange V6.0.5762.3 Subject: RE: Building Xalan 1.3 with STLPort on Windows (2000) Date: Thu, 1 Aug 2002 10:20:19 +0200 Message-ID: <wendyjenkins@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Building Xalan 1.3 with STLPort on Windows (2000) Thread-Index: AcI4shkz0px82o61QNmS6kp833ooDQAf/zEQ From: "Drazen DOTLIC" <wendyjenkins@example.net> To: <wendyjenkins@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Hi Dave, Thanks for the effort. My situation is slightly different, and here are the differences and facts: 1. We use STLPort 4.5; I don't think that this is a big issue, but we'll see 2. We define _REENTRANT and __STL_USE_OWN_NAMESPACE - the latter might be default, not sure 3. We do use STLPort's node base allocator 4. We use STLPort's streams, this might be default as well 5. We use Xalan 1.3, as that is the latest stable official build of Xalan 6. I had to use #define _STLP_USE_NEWALLOC (in other words, NOT using node based allocator) when building Xalan because otherwise it would crash 7. I had to add the defines I mention in my first mail to make it compile (see below) to vcppdefinitions.hpp - if I understood you well, you did NOT change this, but instead opted to change the settings for include and lib directories in the Visual Studio? What are then XALAN_STLPORT_STL and XALAN_SGI_BASED_STL used for? And while we're at it, what is XALAN_NEW_STD_ALLOCATOR used for? All of this results in the following: 1. Code compiles fine, with many warning but none look suspicious. 2. I still get some memory leaks in Xalan.exe, but when I use Xalan libraries from my code, looks like there are none. 3. There are two problems - first one is that streams do not work as they should. If I put less than 210 character as input stringstream to XalanTransform I get error "empty input"; with more than 210 chars, everything works fine??? 4. Second problem is that I get deadlocks in STLPort when using any container from my extension function, probably because of different allocation schemes (my exe is build using STLPort with node based allocator and Xalan is not) So I guess my best bet would be to try what you've described and see how it goes. Is there any chance in issuing official release of Xalan (1.4?) in the foreseeable future? We are using Xercec and Xalan in production environment (building and selling software to large, important clients [but arent't they always important :)]) here and are extremely reluctant getting sources from CVS unless it's some official version (because of the maintenance etc)? Thank you very much, Drazen > -----Original Message----- > From: David N Bertoni/Cambridge/IBM=20 > [mailto:wendyjenkins@example.net]=20 > Sent: Wednesday, July 31, 2002 6:49 PM > To: wendyjenkins@example.net > Subject: Re: Building Xalan 1.3 with STLPort on Windows (2000) >=20 >=20 >=20 >=20 >=20 >=20 > I did the following: >=20 > 1. Downloaded STLport 4.5.3 >=20 > 2. Unpacked it. >=20 > 3. Modified stlport/stl/_site_config.h to add #define _REENTRANT >=20 > 4. Added the STLport directory to the include paths in the=20 > IDE, placing > it ahead of the Microsoft paths. >=20 > 5. Built the STLport's library as described in the documentation. >=20 > 6. Added the STLport library path the lib paths in the IDE >=20 > 7. Got the latest Xalan sources and did a clean build of Xalan >=20 > 8. Fixed a little glitch in the conformance test utility=20 > class where the > appropriate header file was not being included >=20 > 9. Ran the conformance test >=20 > The only problem was one failure, which looks to be a bug in=20 > STLport regarding the definition of something in=20 > st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4numeric_limits. It should be possible to either get the=20 > STLport to fix this, or to make a special case in the code. >=20 > I then built and ran the StreamTransform sample, which uses=20 > iostreams, and that worked fine. I'm going to do some=20 > further testing with the release build (the previous was done=20 > using the debug build), so I don't know yet if the release=20 > build will work. >=20 > I'm actually shocked it was so easy. >=20 > I'll investigate the "leak" situation, but you may just be=20 > seeing memory the STLport's allocators are not returning=20 > before the application shuts down. You might try defining=20 > _STLP_USE_NEWALLOC to get STLport to use new/delete for=20 > allocations, instead of its node<> allocators, to see if that=20 > removes the "leaks". >=20 > Dave >=20 >=20 >=20 > =20 > =20 > =20 > "Drazen DOTLIC" =20 > =20 > =20 > <Drazen. To: =20 > <wendyjenkins@example.net> =20 > =20 > wendyjenkins@example.net. cc: (bcc:=20 > David N Bertoni/Cambridge/IBM) =20 > =20 > com> Subject:=20 > Building Xalan 1.3 with STLPort on Windows (2000) =20 > =20 > =20 > =20 > =20 > 07/31/2002 01:57 =20 > =20 > =20 > AM =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 >=20 >=20 >=20 > Hello, >=20 > I'm trying to build Xalan 1.3 using STLPort instead of=20 > default STL library provided by Visual Studio 6 SP5. The=20 > STLPort is configured to use it's own streams, and to be=20 > thread safe (only two defines we have, well, defined :) are=20 > __STL_USE_OWN_NAMESPACE and _REENTRANT). Now, by trial and=20 > error I've managed to get it compile and somewhat work... I=20 > added the following to the VCPPDefinitions.hpp: >=20 > // STLPort stuff > #define XALAN_NEW_STD_ALLOCATOR > #define XALAN_STLPORT_STL > #define XALAN_SGI_BASED_STL > // STL Port Definitions > #define _STLP_USE_NEWALLOC > #include <stl/_config.h> >=20 > The problem I'm having is that when I compile Xalan.exe=20 > (console utility I use for testing my XSLT's from XMLSpy) I=20 > get a lot of memory leaks after each transform. Is there=20 > anything else I am overlooking? Is there anyone that=20 > successfully compiled and is using (in production=20 > environment, not for leisure or learning) this combination? >=20 > Thanks in advance, >=20 > Drazen >=20 >=20 >=20 >=20 From xalan-c-wendyjenkins@example.net Thu Aug 01 14:38:50 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 6050 invoked by uid 500); 1 Aug 2002 14:38:49 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 6042 invoked from network); 1 Aug 2002 14:38:49 -0000 Received: from mailhost.radiosoft.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 14:38:49 -0000 Received: from merlin750 (mailhost.mttower.com [83.161.120.155] (may be forged)) by mailhost.radiosoft.com (8.11.6/8.11.6) with SMTP id g71ERFb16107; Thu, 1 Aug 2002 10:27:15 -0400 Message-ID: <002701c23969$1ba34770$6500a8c0@merlin750> From: "Merlin Moncure" <wendyjenkins@example.net> To: "David N Bertoni/Cambridge/IBM" <wendyjenkins@example.net> Cc: <wendyjenkins@example.net> References: <wendyjenkins@example.net> Subject: Re: xml-xalan/xerces 1.6 Date: Thu, 1 Aug 2002 10:38:31 -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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: >From your email it seems that Visual C++ SP5 can correctly build xalan. Correct me if I'm wrong here. Seems to me this would be useful to put on the xalan-c web page, since dinkumware costs money, and Microsoft service packs (at least for now) do not. Plus, we Microsoft users are experts at patching software. Since I last downloded xalan/serces about 2 weeks ago, xerces 2.0 has become available, but poor xalan is wendyjenkins@example.net. Do the nightly/beta builds of xalan build with a newer version of xerces? ----- Original Message ----- From: "David N Bertoni/Cambridge/IBM" <wendyjenkins@example.net> To: "xalan-c-users" <wendyjenkins@example.net> Cc: "Merlin Moncure" <wendyjenkins@example.net> Sent: Tuesday, July 30, 2002 4:59 PM Subject: Re: xml-xalan > > > > > Hi Merlin, > > I am posting this message to xalan-c-users and copying you. Please join > the mailing list, since that's the best place to post questions about > Xalan. > > Xalan 1.3 was built against Xerces 1.6. You will not be able to build > Xalan 1.3 against Xerces 1.7 as there are incompatible header files changes > in Xerces. Since I ran the latest Xalan, which is built against Xerces > 2.0, and there are no longer any errors, I would suggest you upgrade to the > latest CVS code of Xalan and get the Xerces 2.0 distribution. > > If you don't want to apply the Dinkumware patches, you can apply MSVC++ > service pack 5, which has fixes for the library problems. Then, build the > latest Xalan sources. If you already have SP 5, you are all set -- just > build the latest sources. > > Using the distribution binaries _without_ applying the Dinkumware patches > is a recipe for distaster, so I would suggest you go one way or the other. > To use the distribution binaries you must have MSVC++ with SP3 and the > Dinkumware patches. > > I hope that makes sense to you. If not, please post a reply to the mailing > list, and I'll try to answer any questions you may have. > > Dave > > > > > "Merlin Moncure" > <merlin@radiosof To: > t.com> cc: > Subject: xml-xalan > 07/30/2002 11:38 > AM > > > > > > For some reason, bugzilla did not get my response (I'm new to it), so I'm > sending it to you directly. > > You were correct, I was reporting about the namespace errors, which xalan. > exe writes to stderr. > The standard xalan distro comes with xerces 1.6 built into it. Since I am > minus dinkumware, I did not build xalan and used the provided dlls. > > I never used xerces 1.6, and can not find a copy outside of xalan distro, > so I can't directly confirm if the problem is from xerces parser. Of > course, If this Is the source of the problem, its not really a bug but more > of a 'todo'. > > I tried leap of faith dll switch to new xerces parser and that did not work > (naturally). For a challenge during off work hours I might try and build > xalan with 1.7. My chance of success here depends on the extent the api > changed between those versions. I did not check the nightly build of > xalan. > > Mircosoft's stl errors make me hesitant to recompile xalan here at work > since it uses a lot of templates (unlike xerces), I'm afriad I might > introduce quirks to my soon to be production server. > > Thanks for your quick response. > > Merlin > > From xalan-c-wendyjenkins@example.net Thu Aug 01 15:06:03 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 37940 invoked by uid 500); 1 Aug 2002 15:06:03 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 37926 invoked from network); 1 Aug 2002 15:06:02 -0000 Received: from mark.labs.trema.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 15:06:02 -0000 Received: from labsex1.corp.trema.com (mail-2.trema.com [83.161.120.155]) by mark.labs.trema.com (8.9.3/8.9.3) with ESMTP id RAA11469 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 17:05:39 +0200 (MET DST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-mimeole: Produced By Microsoft Exchange V6.0.5762.3 Subject: Building latest Xalan (1.4?) with STLPort 5 and Xerces 2.0 on Windows (2000) Date: Thu, 1 Aug 2002 17:06:00 +0200 Message-ID: <wendyjenkins@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Building latest Xalan (1.4?) with STLPort 5 and Xerces 2.0 on Windows (2000) Thread-Index: AcI5bPDq5wSHkMtFQvawKHXsBW9FHQ== From: "Drazen DOTLIC" <wendyjenkins@example.net> To: <wendyjenkins@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Hello, It seems that some(all?) problems Xalan 1.3 had are gone in the latest source code snapshot... I have tried building latest Xalan, latest Xerces (both nightly snapshots) with the latest beta STLPort (5.0 from April 9th this year), everything compiles fine, and there are no more errors (crashes) or leaks when using Xalan.exe. I haven't modified any of the headers and just put STLPort's directories at the top of include and lib list... This looks very promising indeed. Note that I haven't tried linking both libraries with my code, but I do not expect big problems here. I noted one small problem though - all project files for latest Xalan still reference xerces-c_1D.lib - in order to use Xerces 2 this just has to be renamed to xerces-c_2D.lib (isn't Xerces2 preferred to go along with the new Xalan anyway?). Now, what I would really like to hear is that release of new Xalan is imminent :) Dave? Regards, Drazen From xalan-c-wendyjenkins@example.net Thu Aug 01 15:15:29 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 42693 invoked by uid 500); 1 Aug 2002 15:15:29 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 42676 invoked from network); 1 Aug 2002 15:15:29 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 15:15:29 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g71FHcJB008512 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:17:38 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g71FFUM6014150 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:15:30 -0400 (EDT) Subject: Re: xml-xalan/xerces 1.6 To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Thu, 1 Aug 2002 08:16:32 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/01/2002 11:15:33 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: There is no need to cc me on emails posted to the list -- I just end up with multiple copies. We build with VC++ SP3 plus the Dinkumware patches, so it's hard to provide a definitive list of service packs which can be used successfully. However, we can add a note to the next release that states SP5 is OK without the patches. There is no need to buy the Dinkumware library, so I don't understand what you're talking about when you say Dinkumware costs money. The patches, to which we have a link, are free. Who said anything about buying the Dinkumware library? The latest CVS code for Xalan will build against either Xerces 1.7 or Xerces 2.0. The only glitch you'll run in to is the library name has changed from xerces-c_1D.lib to xerces-c_2D.lib. If you're using Xerces 2.0, you can copy xerces-c_2D.lib to xerces-c_1D.lib, to work around the name change. I'm in the process of changing the library name in all of the project files. When those changes are checked in, building against Xerces 2.0 will be the default, and Xerces 1.7 will require renaming the Xerces library. Dave "Merlin Moncure" <merlin@radiosof To: t.com> cc: Subject: Re: xml-xalan/xerces 1.6 08/01/2002 07:38 AM >From your email it seems that Visual C++ SP5 can correctly build xalan. Correct me if I'm wrong here. Seems to me this would be useful to put on the xalan-c web page, since dinkumware costs money, and Microsoft service packs (at least for now) do not. Plus, we Microsoft users are experts at patching software. Since I last downloded xalan/serces about 2 weeks ago, xerces 2.0 has become available, but poor xalan is wendyjenkins@example.net. Do the nightly/beta builds of xalan build with a newer version of xerces? ----- Original Message ----- From: "David N Bertoni/Cambridge/IBM" <wendyjenkins@example.net> To: "xalan-c-users" <wendyjenkins@example.net> Cc: "Merlin Moncure" <wendyjenkins@example.net> Sent: Tuesday, July 30, 2002 4:59 PM Subject: Re: xml-xalan > > > > > Hi Merlin, > > I am posting this message to xalan-c-users and copying you. Please join > the mailing list, since that's the best place to post questions about > Xalan. > > Xalan 1.3 was built against Xerces 1.6. You will not be able to build > Xalan 1.3 against Xerces 1.7 as there are incompatible header files changes > in Xerces. Since I ran the latest Xalan, which is built against Xerces > 2.0, and there are no longer any errors, I would suggest you upgrade to the > latest CVS code of Xalan and get the Xerces 2.0 distribution. > > If you don't want to apply the Dinkumware patches, you can apply MSVC++ > service pack 5, which has fixes for the library problems. Then, build the > latest Xalan sources. If you already have SP 5, you are all set -- just > build the latest sources. > > Using the distribution binaries _without_ applying the Dinkumware patches > is a recipe for distaster, so I would suggest you go one way or the other. > To use the distribution binaries you must have MSVC++ with SP3 and the > Dinkumware patches. > > I hope that makes sense to you. If not, please post a reply to the mailing > list, and I'll try to answer any questions you may have. > > Dave > > > > > "Merlin Moncure" > <merlin@radiosof To: > t.com> cc: > Subject: xml-xalan > 07/30/2002 11:38 > AM > > > > > > For some reason, bugzilla did not get my response (I'm new to it), so I'm > sending it to you directly. > > You were correct, I was reporting about the namespace errors, which xalan. > exe writes to stderr. > The standard xalan distro comes with xerces 1.6 built into it. Since I am > minus dinkumware, I did not build xalan and used the provided dlls. > > I never used xerces 1.6, and can not find a copy outside of xalan distro, > so I can't directly confirm if the problem is from xerces parser. Of > course, If this Is the source of the problem, its not really a bug but more > of a 'todo'. > > I tried leap of faith dll switch to new xerces parser and that did not work > (naturally). For a challenge during off work hours I might try and build > xalan with 1.7. My chance of success here depends on the extent the api > changed between those versions. I did not check the nightly build of > xalan. > > Mircosoft's stl errors make me hesitant to recompile xalan here at work > since it uses a lot of templates (unlike xerces), I'm afriad I might > introduce quirks to my soon to be production server. > > Thanks for your quick response. > > Merlin > > From xalan-c-wendyjenkins@example.net Thu Aug 01 15:23:18 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 53314 invoked by uid 500); 1 Aug 2002 15:23:18 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 53307 invoked from network); 1 Aug 2002 15:23:17 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 15:23:17 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g71FPRJB009028 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:25:27 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g71FNJM6014800 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:23:19 -0400 (EDT) Subject: Re: Building latest Xalan (1.4?) with STLPort 5 and Xerces 2.0 on Windows (2000) To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Thu, 1 Aug 2002 08:24:22 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/01/2002 11:23:23 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Yes, I did a build with the latest and the STLport beta and had no problems either. I'm in the middle of updating the library names in the projects files. Once that's checked in, Xerces 2.0 will be the default version. Note the easy workaround in this case is to just copy xerces-c_2D.lib to xerces-c_1D.lib, which will let you build against Xerces 2.0 without waiting for the .dsp file changes. I'm trying to line up the resources to do a build very soon. If anyone has access to a 64-bit AIX box with VisualAge 5.02 and can give us a log in, please let me know. We also need access to a 64-bit Solaris box with Sun Workshop 6 update 2. 32-bit Solaris is already covered. I've just finished building and verifying gcc 3.1, so we should be able to do a build as soon as the previous platforms I mentioned are available. Dave "Drazen DOTLIC" <Drazen. To: <wendyjenkins@example.net> wendyjenkins@example.net. cc: (bcc: David N Bertoni/Cambridge/IBM) com> Subject: Building latest Xalan (1.4?) with STLPort 5 and Xerces 2.0 on Windows (2000) 08/01/2002 08:06 AM Hello, It seems that some(all?) problems Xalan 1.3 had are gone in the latest source code snapshot... I have tried building latest Xalan, latest Xerces (both nightly snapshots) with the latest beta STLPort (5.0 from April 9th this year), everything compiles fine, and there are no more errors (crashes) or leaks when using Xalan.exe. I haven't modified any of the headers and just put STLPort's directories at the top of include and lib list... This looks very promising indeed. Note that I haven't tried linking both libraries with my code, but I do not expect big problems here. I noted one small problem though - all project files for latest Xalan still reference xerces-c_1D.lib - in order to use Xerces 2 this just has to be renamed to xerces-c_2D.lib (isn't Xerces2 preferred to go along with the new Xalan anyway?). Now, what I would really like to hear is that release of new Xalan is imminent :) Dave? Regards, Drazen From xalan-c-wendyjenkins@example.net Thu Aug 01 15:42:09 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 83221 invoked by uid 500); 1 Aug 2002 15:42:08 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 83175 invoked from network); 1 Aug 2002 15:42:08 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 15:42:08 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g71FiHJB010603 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:44:18 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g71Fg9M6016917 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 11:42:09 -0400 (EDT) Subject: RE: Building Xalan 1.3 with STLPort on Windows (2000) To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Thu, 1 Aug 2002 08:43:11 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/01/2002 11:42:13 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: "Drazen DOTLIC" <wendyjenkins@example.net> wrote: > 1. We use STLPort 4.5; I don't think that this is a big issue, but we'll > see > 2. We define _REENTRANT and __STL_USE_OWN_NAMESPACE - the latter might > be default, not sure > 3. We do use STLPort's node base allocator > 4. We use STLPort's streams, this might be default as well > 5. We use Xalan 1.3, as that is the latest stable official build of > Xalan > 6. I had to use #define _STLP_USE_NEWALLOC (in other words, NOT using > node based allocator) when building Xalan because otherwise it would > crash > 7. I had to add the defines I mention in my first mail to make it > compile (see below) to vcppdefinitions.hpp - if I understood you well, > you did NOT change this, but instead opted to change the settings for > include and lib directories in the Visual Studio? What are then > XALAN_STLPORT_STL and XALAN_SGI_BASED_STL used for? And while we're at > it, what is XALAN_NEW_STD_ALLOCATOR used for? XALAN_STLPORT_STL you can safely ignore. It's used to disable some features that weren't available in earlier STLport versions. The code involved is not being used and is being phased out. XALAN_SGI_BASED_STL is used to avoid duplicating extensions that are provided by SGI-based STL implementations. XALAN_NEW_STD_ALLOCATOR is used to differentiate between implementations of st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4allocator which have different implementations of the allocate() member function. In most cases, STLport will configure itself for maximum compatibility with the host compiler, so that's why you can get away with not modifying VCPPDefinitions.hpp. If you weren't using the STLport streams, but instead were wrapping the compiler's streams, you'd most likely have to mess with VCPPDefinitions.hpp and include the STLport configuration file. But you're not, so it's a transparent replacement for Microsoft's library. > So I guess my best bet would be to try what you've described and see how > it goes. Is there any chance in issuing official release of Xalan (1.4?) > in the foreseeable future? We are using Xercec and Xalan in production > environment (building and selling software to large, important clients > [but arent't they always important :)]) here and are extremely reluctant > getting sources from CVS unless it's some official version (because of > the maintenance etc)? Welcome to the wacky world of open source software. Most open source projects don't even distribute binaries, so Xerces and Xalan are a bit unique in that perspective. While this is good for you, it's hell for those producing the binaries, which is why it's so difficult to do regular releases for Xalan. The platforms have grown to include 8 different binary distributions, so imagine trying to do that in your spare time! I can tell you that the latest CVS sources are far more stable than the official 1.3 release. There are many bugs fixed, and some performance improvements, and soon you'll be able to build both 32 and 64 bit binaries without hacking the Makefile. I run the latest sources against the full conformance test suite before I check anything in, so it's rare that a bug will exist in checked-in code for longer than a day. You might try pulling the down the latest sources, building on your chosen platform(s) and testing. I'm sure it will be as stable as 1.3. On the other hand, I am trying to put together a 1.4 binary release, but I'm still trying to line up hardware. Dave From xalan-c-wendyjenkins@example.net Thu Aug 01 17:36:34 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 78296 invoked by uid 500); 1 Aug 2002 17:36:30 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 78280 invoked from network); 1 Aug 2002 17:36:29 -0000 Received: from unknown (HELO ?83.161.120.155?) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 17:36:29 -0000 Received: from mailgate.labone.com by [83.161.120.155] via smtpd (for daedalus.apache.org [83.161.120.155]) with SMTP; 1 Aug 2002 17:36:41 UT Received: from 83.161.120.155 by mailgate.labone.com with ESMTP (SMTP Relay (MMS v4.7);); Thu, 01 Aug 2002 12:36:40 -0500 X-Server-Uuid: d2c6f521-be8f-45bd-b261-f27c182a9ace Received: by mail.1.24.172.in-addr.arpa with Internet Mail Service ( 5.5.2653.19) id <MRR7V3V9>; Thu, 1 Aug 2002 12:36:40 -0500 Message-ID: <wendyjenkins@example.net> From: "Tony Chen" <wendyjenkins@example.net> To: "'wendyjenkins@example.net'" <wendyjenkins@example.net> Subject: get cvs repository Date: Thu, 1 Aug 2002 12:36:38 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-WSS-ID: 1157AE22309672-01-02 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: I am using WinCvs, how could I check out xalan from cvs. It askes me CVSRoot (authentication, path, etc). Does it use SSH? Thanks Tony Chen 6693127488 This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at 6693127488. From xalan-c-wendyjenkins@example.net Thu Aug 01 18:14:56 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 7459 invoked by uid 500); 1 Aug 2002 18:14:55 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 7452 invoked from network); 1 Aug 2002 18:14:55 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 18:14:55 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g71IH6JB019723 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 14:17:06 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g71IEwM6027803 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 14:14:58 -0400 (EDT) Subject: Re: get cvs repository To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Thu, 1 Aug 2002 11:16:00 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/01/2002 02:15:02 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: The answers are all on the CVS web page: http://xml.apache.org/cvs.html Set your CVS root to: :pserver:wendyjenkins@example.net:/home/cvspublic Then, login with the password: anoncvs Then, checkout the module xml-xalan. Dave "Tony Chen" <Tony. To: "'wendyjenkins@example.net'" <wendyjenkins@example.net> wendyjenkins@example.net> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: get cvs repository 08/01/2002 10:36 AM I am using WinCvs, how could I check out xalan from cvs. It askes me CVSRoot (authentication, path, etc). Does it use SSH? Thanks Tony Chen 6693127488 From xalan-c-wendyjenkins@example.net Thu Aug 01 19:15:09 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 50203 invoked by uid 500); 1 Aug 2002 19:15:08 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 50196 invoked from network); 1 Aug 2002 19:15:08 -0000 Received: from unknown (HELO ?83.161.120.155?) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 19:15:08 -0000 Received: from mailgate.labone.com by [83.161.120.155] via smtpd (for daedalus.apache.org [83.161.120.155]) with SMTP; 1 Aug 2002 19:15:21 UT Received: from 83.161.120.155 by mailgate.labone.com with ESMTP (SMTP Relay (MMS v4.7);); Thu, 01 Aug 2002 14:15:19 -0500 X-Server-Uuid: d2c6f521-be8f-45bd-b261-f27c182a9ace Received: by mail.1.24.172.in-addr.arpa with Internet Mail Service ( 5.5.2653.19) id <MRR7VQHJ>; Thu, 1 Aug 2002 14:15:20 -0500 Message-ID: <wendyjenkins@example.net> From: "Tony Chen" <wendyjenkins@example.net> To: "'David N Bertoni/Cambridge/IBM'" <wendyjenkins@example.net>, wendyjenkins@example.net Subject: RE: get cvs repository Date: Thu, 1 Aug 2002 14:15:11 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-WSS-ID: 1157574D321631-01-02 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: When I try to update files, it failed to login with error message said "target machine actively refused it". Anyone has similar experiences? Thanks -----Original Message----- From: David N Bertoni/Cambridge/IBM [mailto:wendyjenkins@example.net] Sent: Thursday, August 01, 2002 1:16 PM To: wendyjenkins@example.net Subject: Re: get cvs repository The answers are all on the CVS web page: http://xml.apache.org/cvs.html Set your CVS root to: :pserver:wendyjenkins@example.net:/home/cvspublic Then, login with the password: anoncvs Then, checkout the module xml-xalan. Dave "Tony Chen" <Tony. To: "'wendyjenkins@example.net'" <wendyjenkins@example.net> wendyjenkins@example.net> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: get cvs repository 08/01/2002 10:36 AM I am using WinCvs, how could I check out xalan from cvs. It askes me CVSRoot (authentication, path, etc). Does it use SSH? Thanks Tony Chen 6693127488 This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at 6693127488. From xalan-c-wendyjenkins@example.net Thu Aug 01 19:27:19 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 73551 invoked by uid 500); 1 Aug 2002 19:27:18 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 73539 invoked from network); 1 Aug 2002 19:27:18 -0000 Received: from mailgate2.microstrategy.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 19:27:18 -0000 Received: by mailgate2.microstrategy.com with Internet Mail Service (5.5.2656.59) id <P896VZGJ>; Thu, 1 Aug 2002 15:27:22 -0400 Message-ID: <A5C7CCD201A5D311B372009027DCEE5404F43155@WAS-EXCH-FS1> From: "Xiao, Ke" <wendyjenkins@example.net> To: 'Tony Chen' <wendyjenkins@example.net>, 'David N Bertoni/Cambridge/IBM' <wendyjenkins@example.net>, wendyjenkins@example.net Subject: RE: get cvs repository Date: Thu, 1 Aug 2002 15:27:21 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C23991.74CB8010" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C23991.74CB8010 Content-Type: text/plain; charset="iso-8859-1" Hi, When I try to use WinCVS to check out files, I get the following errors: Python 2.1.3 (#35, Apr 8 2002, 17:47:50) [MSC 32 bit (Intel)] on win32 CVSROOT: :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted directory) NEW CVSROOT: :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted directory) NEW CVSROOT: :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted directory) cvs checkout -P xml-xalan/c/src (in directory D:\Xalan13\latest) cvs checkout: CVSROOT "wendyjenkins@example.net:/home/cvspublic" must be an absolute pathname cvs [checkout aborted]: Bad CVSROOT. *****CVS exited normally with code 1***** NEW CVSROOT: :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted directory) cvs checkout -P xml-xalan/c/src (in directory D:\Xalan13\latest) cvs checkout: CVSROOT "wendyjenkins@example.net:/home/cvspublic" must be an absolute pathname cvs [checkout aborted]: Bad CVSROOT. *****CVS exited normally with code 1***** Any ideas? Thanks a lot. -----Original Message----- From: Tony Chen [mailto:wendyjenkins@example.net] Sent: Thursday, August 01, 2002 3:15 PM To: 'David N Bertoni/Cambridge/IBM'; wendyjenkins@example.net Subject: RE: get cvs repository When I try to update files, it failed to login with error message said "target machine actively refused it". Anyone has similar experiences? Thanks -----Original Message----- From: David N Bertoni/Cambridge/IBM [mailto:wendyjenkins@example.net] Sent: Thursday, August 01, 2002 1:16 PM To: wendyjenkins@example.net Subject: Re: get cvs repository The answers are all on the CVS web page: http://xml.apache.org/cvs.html Set your CVS root to: :pserver:wendyjenkins@example.net:/home/cvspublic Then, login with the password: anoncvs Then, checkout the module xml-xalan. Dave "Tony Chen" <Tony. To: "'wendyjenkins@example.net'" <wendyjenkins@example.net> wendyjenkins@example.net> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: get cvs repository 08/01/2002 10:36 AM I am using WinCvs, how could I check out xalan from cvs. It askes me CVSRoot (authentication, path, etc). Does it use SSH? Thanks Tony Chen 6693127488 This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at 6693127488. ------_=_NextPart_001_01C23991.74CB8010 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2654.45"> <TITLE>RE: get cvs repository</TITLE> </HEAD> <BODY> <BR> <P><FONT SIZE=3D2>Hi,</FONT> </P> <P><FONT SIZE=3D2>When I try to use WinCVS to&nbsp; check out files, I = get the following errors:</FONT> </P> <P><FONT SIZE=3D2>Python 2.1.3 (#35, Apr&nbsp; 8 2002, 17:47:50) [MSC = 32 bit (Intel)] on win32</FONT> <BR><FONT SIZE=3D2>CVSROOT: = :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted = directory)</FONT> <BR><FONT SIZE=3D2>NEW CVSROOT: = :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted = directory)</FONT> <BR><FONT SIZE=3D2>NEW CVSROOT: = :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted = directory)</FONT> <BR><FONT SIZE=3D2>cvs checkout -P xml-xalan/c/src (in directory = D:\Xalan13\latest)</FONT> <BR><FONT SIZE=3D2>cvs checkout: CVSROOT = &quot;wendyjenkins@example.net:/home/cvspublic&quot; must be an absolute = pathname</FONT> <BR><FONT SIZE=3D2>cvs [checkout aborted]: Bad CVSROOT.</FONT> </P> <P><FONT SIZE=3D2>*****CVS exited normally with code 1*****</FONT> </P> <P><FONT SIZE=3D2>NEW CVSROOT: = :pserver:wendyjenkins@example.net:/home/cvspublic (local mounted = directory)</FONT> <BR><FONT SIZE=3D2>cvs checkout -P xml-xalan/c/src (in directory = D:\Xalan13\latest)</FONT> <BR><FONT SIZE=3D2>cvs checkout: CVSROOT = &quot;wendyjenkins@example.net:/home/cvspublic&quot; must be an absolute = pathname</FONT> <BR><FONT SIZE=3D2>cvs [checkout aborted]: Bad CVSROOT.</FONT> </P> <P><FONT SIZE=3D2>*****CVS exited normally with code 1*****</FONT> <BR><FONT SIZE=3D2>Any ideas?</FONT> </P> <P><FONT SIZE=3D2>Thanks a lot.</FONT> </P> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: Tony Chen [<A = HREF=3D"mailto:wendyjenkins@example.net">mailto:wendyjenkins@example.net</A>]</F= ONT> <BR><FONT SIZE=3D2>Sent: Thursday, August 01, 2002 3:15 PM</FONT> <BR><FONT SIZE=3D2>To: 'David N Bertoni/Cambridge/IBM'; = wendyjenkins@example.net</FONT> <BR><FONT SIZE=3D2>Subject: RE: get cvs repository</FONT> </P> <BR> <P><FONT SIZE=3D2>When I try to update files, it failed to login with = error message said</FONT> <BR><FONT SIZE=3D2>&quot;target machine actively refused = it&quot;.&nbsp; Anyone has similar experiences?</FONT> <BR><FONT SIZE=3D2>Thanks</FONT> </P> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: David N Bertoni/Cambridge/IBM [<A = HREF=3D"mailto:wendyjenkins@example.net">mailto:wendyjenkins@example.net= .com</A>]</FONT> <BR><FONT SIZE=3D2>Sent: Thursday, August 01, 2002 1:16 PM</FONT> <BR><FONT SIZE=3D2>To: wendyjenkins@example.net</FONT> <BR><FONT SIZE=3D2>Subject: Re: get cvs repository</FONT> </P> <BR> <BR> <BR> <BR> <BR> <P><FONT SIZE=3D2>The answers are all on the CVS web page:</FONT> </P> <P><FONT SIZE=3D2>&nbsp;&nbsp; <A = HREF=3D"http://xml.apache.org/cvs.html" = TARGET=3D"_blank">http://xml.apache.org/cvs.html</A></FONT> </P> <P><FONT SIZE=3D2>Set your CVS root to:</FONT> </P> <P><FONT SIZE=3D2>&nbsp;&nbsp; = :pserver:wendyjenkins@example.net:/home/cvspublic</FONT> </P> <P><FONT SIZE=3D2>Then, login with the password:</FONT> </P> <P><FONT SIZE=3D2>&nbsp;&nbsp; anoncvs</FONT> </P> <P><FONT SIZE=3D2>Then, checkout the module xml-xalan.</FONT> </P> <P><FONT SIZE=3D2>Dave</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2>&nbsp;</FONT> </P> <P><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;Tony Chen&quot;</FONT> </P> <P><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;Tony.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To:</FONT> <BR><FONT SIZE=3D2>&quot;'wendyjenkins@example.net'&quot; = &lt;wendyjenkins@example.net&gt;</FONT> </P> <P><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = wendyjenkins@example.net&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = cc:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (bcc: David N</FONT> <BR><FONT = SIZE=3D2>Bertoni/Cambridge/IBM)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </FONT> <BR><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Subject: get cvs repository</FONT> </P> <P><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 08/01/2002 10:36</FONT> </P> <P><FONT = SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = AM</FONT> </P> <P><FONT SIZE=3D2>&nbsp;</FONT> </P> <P><FONT SIZE=3D2>&nbsp;</FONT> </P> <BR> <BR> <BR> <P><FONT SIZE=3D2>I am using WinCvs, how could I check out xalan from = cvs.&nbsp; It askes me</FONT> <BR><FONT SIZE=3D2>CVSRoot (authentication, path, etc).&nbsp; Does it = use SSH?&nbsp; Thanks</FONT> </P> <P><FONT SIZE=3D2>Tony Chen</FONT> <BR><FONT SIZE=3D2>6693127488</FONT> </P> <BR> <BR> <BR> <BR> <BR> <P><FONT SIZE=3D2>This transmission (and any information attached to = it) may be confidential and is intended solely for the use of the = individual or entity to which it is addressed. If you are not the = intended recipient or the person responsible for delivering the = transmission to the intended recipient, be advised that you have = received this transmission in error and that any use, dissemination, = forwarding, printing, or copying of this information is strictly = prohibited. If you have received this transmission in error, please = immediately notify LabOne at 6693127488.</FONT></P> </BODY> </HTML> ------_=_NextPart_001_01C23991.74CB8010-- From xalan-c-wendyjenkins@example.net Thu Aug 01 20:17:11 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 14477 invoked by uid 500); 1 Aug 2002 20:17:10 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 14461 invoked from network); 1 Aug 2002 20:17:09 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2002 20:17:09 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g71KJMJB028107 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 16:19:22 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g71KHEM6006315 for <wendyjenkins@example.net>; Thu, 1 Aug 2002 16:17:14 -0400 (EDT) Subject: RE: get cvs repository To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Thu, 1 Aug 2002 13:18:15 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/01/2002 04:17:17 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: I'll give you one more chance to stop sending directly to my email address before I add you to my kill file. Do you perhaps have a firewall which is preventing you from reaching external addresses? That's fairly typical in most business locations. If so, speak to your IT people about what you can do. For example, if you have a SOCKS server, you can configure WinCVS to use that. This is _not_ a list for WinCVS/CVS support, so you would do better to post such questions to a different list. I use WinCVS everyday and have no problems using it. Dave "Tony Chen" <Tony. To: "'David N Bertoni/Cambridge/IBM'" <wendyjenkins@example.net>, xalan-c- wendyjenkins@example.net> wendyjenkins@example.net cc: 08/01/2002 12:15 Subject: RE: get cvs repository PM When I try to update files, it failed to login with error message said "target machine actively refused it". Anyone has similar experiences? Thanks -----Original Message----- From: David N Bertoni/Cambridge/IBM [mailto:wendyjenkins@example.net] Sent: Thursday, August 01, 2002 1:16 PM To: wendyjenkins@example.net Subject: Re: get cvs repository The answers are all on the CVS web page: http://xml.apache.org/cvs.html Set your CVS root to: :pserver:wendyjenkins@example.net:/home/cvspublic Then, login with the password: anoncvs Then, checkout the module xml-xalan. Dave "Tony Chen" <Tony. To: "'wendyjenkins@example.net'" <wendyjenkins@example.net> wendyjenkins@example.net> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: get cvs repository 08/01/2002 10:36 AM I am using WinCvs, how could I check out xalan from cvs. It askes me CVSRoot (authentication, path, etc). Does it use SSH? Thanks Tony Chen 6693127488 This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at 6693127488. From xalan-c-wendyjenkins@example.net Mon Aug 05 20:44:48 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 50154 invoked by uid 500); 5 Aug 2002 20:44:47 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 50146 invoked from network); 5 Aug 2002 20:44:47 -0000 Received: from dominonyc1.desknetinc.com (HELO domino.desknetinc.com) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2002 20:44:47 -0000 Subject: Evaluating XPath expressions on a Xerces DOM To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: <wendyjenkins@example.net> From: wendyjenkins@example.net Date: Mon, 5 Aug 2002 16:44:23 -0400 X-MIMETrack: Serialize by Router on DominoNYC1/DeskNetInc(Release 5.0.9 |November 16, 2001) at 08/05/2002 04:39:22 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Hi all, I am trying to write some software that will use Xalan to evaluate XPath expressions, but my XML is represented in a Xerces DOM tree. It works under some circumstances but not others; particularly, I am having trouble constructing a mapping between Xalan nodes and Xerces nodes. Here's a generalized snippet from my code: doc is a DOM_Document, and xmlNode is a DOM_Node // Set up a XercesParserLiaison and use it to wrap the DOM_Document // in a XalanDocument. XercesDOMSupport theDOMSupport; XercesParserLiaison theParserLiaison(theDOMSupport); XalanDocument* theDocument = theParserLiaison.createDocument(doc); if (theDocument == NULL) throw Exception("CannotCreateDocument"); XalanNode* theContextNode; XercesDocumentBridge theBridge(doc); XercesBridgeNavigator nav(&theBridge); XPathEvaluator theEvaluator; // OK, let's find the context node... if (noContext) { theContextNode = theDocument->getDocumentElement(); } else { theContextNode = nav.mapNode(xmlNode); if (theContextNode == NULL) throw Exception("InvalidContextNode"); } If I haven't supplied a context node, it evaluates just fine (I'm passing in one of the sample XPath expressions, and importing the foo.xml into a Xerces DOM, and I get the expected result). However, if I try to supply the root node (as a DOM_Node) of foo.xml as the context node, it throws the Invalid Context Node expression. I've tried it just using theBridge.mapNode(), and I also tried creating a navigator as you see here. There doesn't seem to be much in the API docs to explain how these things are all supposed to work, so I was hoping someone here had some experience with this that they would like to share. Thanks! ______________________________________ Aaron Scifres Software Engineer DeskNet, Inc. 66 Pearl St. Suite 300 Portland, ME 04101 6693127488 http://www.desknetinc.com DeskNetAPS - Harness the Power of Your Content From xalan-c-wendyjenkins@example.net Mon Aug 05 21:18:48 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 75035 invoked by uid 500); 5 Aug 2002 21:18:48 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 75028 invoked from network); 5 Aug 2002 21:18:47 -0000 Received: from lotus2.lotus.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2002 21:18:47 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.12.3/8.12.1) with ESMTP id g75LL1JB000455 for <wendyjenkins@example.net>; Mon, 5 Aug 2002 17:21:02 -0400 (EDT) Received: from a3mail.lotus.com (a3mail.lotus.com [83.161.120.155]) by internet2.lotus.com (8.12.3/8.12.1) with ESMTP id g75LIqM7006828 for <wendyjenkins@example.net>; Mon, 5 Aug 2002 17:18:52 -0400 (EDT) Subject: Re: Evaluating XPath expressions on a Xerces DOM To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: <wendyjenkins@example.net> From: David N Bertoni/Cambridge/IBM <wendyjenkins@example.net> Date: Mon, 5 Aug 2002 14:18:04 -0700 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V60_M14_07162002NP Release Candidate|July 16, 2002) at 08/05/2002 05:18:56 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: You can't do things this way -- the class XercesBridgeNavigator is not at all designed to do what you're trying to do, and you're essentially create another document wrapper by creating an instance of XercesDocumentBridge. A search of the archives should reveal some information. Here's a starting point: XercesDOMSupport theDOMSupport; XercesParserLiaison theParserLiaison(theDOMSupport); XalanDocument* theDocument = theParserLiaison.createDocument(doc); if (theDocument == NULL) throw Exception("CannotCreateDocument"); XalanNode* theContextNode; XPathEvaluator theEvaluator; // OK, let's find the context node... if (noContext) { theContextNode = theDocument->getDocumentElement(); } else { theContextNode = theBridge.mapNode(xmlNode); if (theContextNode == NULL) throw Exception("InvalidContextNode"); } One of the reasons this is not well-documented is that I'd like to see this bridge to the Xerces DOM go away. The performance is terrible and the code is hard to maintain. Also, Xerces has now deprecated their old DOM, so eventually all of this will disappear. By the way, the usual initial context node is the document itself, not the document element. Using the document element can affect how your XPath expressions are evaluated. Dave AScifres@desknet inc.com To: wendyjenkins@example.net cc: (bcc: David N Bertoni/Cambridge/IBM) 08/05/2002 01:44 Subject: Evaluating XPath expressions on a Xerces DOM PM Hi all, I am trying to write some software that will use Xalan to evaluate XPath expressions, but my XML is represented in a Xerces DOM tree. It works under some circumstances but not others; particularly, I am having trouble constructing a mapping between Xalan nodes and Xerces nodes. Here's a generalized snippet from my code: doc is a DOM_Document, and xmlNode is a DOM_Node // Set up a XercesParserLiaison and use it to wrap the DOM_Document // in a XalanDocument. XercesDOMSupport theDOMSupport; XercesParserLiaison theParserLiaison(theDOMSupport); XalanDocument* theDocument = theParserLiaison.createDocument(doc); if (theDocument == NULL) throw Exception("CannotCreateDocument"); XalanNode* theContextNode; XercesDocumentBridge theBridge(doc); XercesBridgeNavigator nav(&theBridge); XPathEvaluator theEvaluator; // OK, let's find the context node... if (noContext) { theContextNode = theDocument->getDocumentElement(); } else { theContextNode = nav.mapNode(xmlNode); if (theContextNode == NULL) throw Exception("InvalidContextNode"); } If I haven't supplied a context node, it evaluates just fine (I'm passing in one of the sample XPath expressions, and importing the foo.xml into a Xerces DOM, and I get the expected result). However, if I try to supply the root node (as a DOM_Node) of foo.xml as the context node, it throws the Invalid Context Node expression. I've tried it just using theBridge.mapNode(), and I also tried creating a navigator as you see here. There doesn't seem to be much in the API docs to explain how these things are all supposed to work, so I was hoping someone here had some experience with this that they would like to share. Thanks! ______________________________________ Aaron Scifres Software Engineer DeskNet, Inc. 66 Pearl St. Suite 300 Portland, ME 04101 6693127488 http://www.desknetinc.com DeskNetAPS - Harness the Power of Your Content From xalan-c-wendyjenkins@example.net Mon Aug 05 22:07:36 2002 Return-Path: <xalan-c-wendyjenkins@example.net> Delivered-To: wendyjenkins@example.net Received: (qmail 93618 invoked by uid 500); 5 Aug 2002 22:07:35 -0000 Mailing-List: contact wendyjenkins@example.net; run by ezmlm Precedence: bulk list-help: <mailto:wendyjenkins@example.net> list-unsubscribe: <mailto:wendyjenkins@example.net> list-post: <mailto:wendyjenkins@example.net> Delivered-To: mailing list wendyjenkins@example.net Received: (qmail 93607 invoked from network); 5 Aug 2002 22:07:35 -0000 Received: from dominonyc1.desknetinc.com (HELO domino.desknetinc.com) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2002 22:07:35 -0000 Subject: Re: Evaluating XPath expressions on a Xerces DOM To: wendyjenkins@example.net X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: <wendyjenkins@example.net> From: wendyjenkins@example.net Date: Mon, 5 Aug 2002 18:06:21 -0400 X-MIMETrack: Serialize by Router on DominoNYC1/DeskNetInc(Release 5.0.9 |November 16, 2001) at 08/05/2002 06:02:11 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: A look through the archive revealed the following tidbit: "there's no way to map from a DOM_Node instance to its corresponding XalanNode instance" So here's my follow up. Would something like this work: XercesDOMSupport theDOMSupport; XercesParserLiaison theParserLiaison(theDOMSupport); XalanDocument* theDocument = theParserLiaison.createDocument(doc); if (theDocument == NULL) throw Exception("CannotCreateDocument"); XercesToXalanNodeMap nodeMap; // at this point, invoke a recursive algorithm that would traverse // both the DOM_Document and the XalanDocument in document order and // use nodeMap.addAssociation(domNode, xalanNode) to build a map. buildNodeMap(nodeMap, doc, theDocument); XalanNode* theContextNode; XPathEvaluator theEvaluator; // OK, let's find the context node... if (noContext) { theContextNode = theDocument; } else { theContextNode = nodeMap.getNode(xmlNode); if (theContextNode == NULL) throw Exception("InvalidContextNode"); } I realize there would probably be a lot of overhead
{'source': 'Apache Software Foundation Public Mail Archives'}