From masaoud@mailandnews.com Mon Jan 8 15:08:52 2001 From: masaoud@mailandnews.com (Masaoud T. Moonim) Date: Mon, 08 Jan 2001 20:38:52 +0530 Subject: [Expat-discuss] Thread Safety in Expat Message-ID: <3A59D804.E087185F@mailandnews.com> Hi all, I wanted to know the following points : 1. Is Expat thread safe ? 2. When a namespace enabled parser is created and an xml document containing a namespace is parsed why does the data in the callback contain the "url" appended to the element ? Is this the desired output for namespace processing ? Is there some method to subside the appending of the "url" but at the same time support namespaces ? Thanks and Regards Masaoud From lists@balancesoftware.com Wed Jan 10 19:17:21 2001 From: lists@balancesoftware.com (Brian Doyle) Date: Wed, 10 Jan 2001 11:17:21 -0800 Subject: [Expat-discuss] Expat Macintosh Port Message-ID: Hello, I wanted to let anyone interested know that I've ported expat to the macintosh. It's actually an older build that I've ported as I needed it in early 2000, but if there are any requests I'd probably port the latest build. If you want the CodeWarrior project, and the compiled libraries, you can get them at: http://www.balancesoftware.com/people/brian/code/Expat_and_ParseXMLFile.sit .hqx Note that in the archive is the expat tree as well as a project called ParseXMLFile, which is a c++ class (and explanatory test program) I wrote as a wrapper around expat which you can use if you're into the object thing. Brian Doyle Balance Software, Inc. lists@balancesoftware.com From dev@humph.com Thu Jan 11 00:29:34 2001 From: dev@humph.com (Giuliano Gavazzi) Date: Thu, 11 Jan 2001 00:29:34 +0000 Subject: [Expat-discuss] Expat Macintosh Port In-Reply-To: References: Message-ID: The latest build should work the same, since I have compiled it and tested against the only test I found in the distribution. Have you seen my last (and only) post? It was about both MacOSX and MacOS Classic versions (that should clearly run on Carbon too). Actually, I have just tested the elements sample compiled against my library version (the latest, afaik) and it works fine. BTW, that reminds me that Mark Mitchenall asked if I could post my project, but I have forgot... there no need now! An observation: there is no need to include the "expat Data" directory (equivalent to including object files in a Unix distribution). It adds more than 2MB to the uncompressed archive. Giuliano At 11:17 am -0800 2001/01/10, Brian Doyle wrote: >Hello, > > I wanted to let anyone interested know that I've ported expat to the >macintosh. It's actually an older build that I've ported as I needed it in >early 2000, but if there are any requests I'd probably port the latest >build. If you want the CodeWarrior project, and the compiled libraries, you >can get them at: > > http://www.balancesoftware.com/people/brian/code/Expat_and_ParseXMLFile.sit >.hqx [...] -- H U M P H || ||| software development of: Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/ From lernerk@indigo.co.il Thu Jan 11 13:48:57 2001 From: lernerk@indigo.co.il (lernerk@indigo.co.il) Date: Thu, 11 Jan 2001 15:48:57 +0200 Subject: [Expat-discuss] How to export expat's interface function Message-ID: <0101119792.AA979221602@smtplink.indigo.co.il> How to export expat's interface function from the .dll made by the source code files? Which files do I need for that dll? Kathry From dcrowley@scitegic.com Tue Jan 23 22:51:47 2001 From: dcrowley@scitegic.com (David Crowley) Date: Tue, 23 Jan 2001 14:51:47 -0800 Subject: [Expat-discuss] parser reuse Message-ID: <5.0.2.1.0.20010123143849.00a93028@pop.scitegic.com> Hello -- Is there a way to re-use a parser after parsing a document? I want to avoid the overhead of constantly freeing/creating a new parser. A function like XML_ParserReset() would be really nice. I looked in the 1.95 code at the XML_ParserCreate_MM()/XML_ParserFree() functions and there is a fairly substantial block in there that initializes the struct. Other than zeroing everything out again, I really have no idea how to do this since I am not real intimate with the code and I have no idea what is/isn't important to reset/free/etc. and how to keep memory pools around... Would this be something that could be in 2.0? Thanks! David From youngd@digiship.com Wed Jan 24 23:42:15 2001 From: youngd@digiship.com (Darren Young) Date: Wed, 24 Jan 2001 17:42:15 -0600 (CST) Subject: [Expat-discuss] Compile / use under Cygwin Message-ID: I am trying to use the Perl XML::DOM module which at some point uses the Expat library. I pulled down the Expat source and that _seems_ to compile and install. Next, I compiled the XML::Parser module with EXPATLIBPATH and EXPATINCPATH set to /usr/local/lib and /usr/local/include (during the perl Makefile.PL). It seems to compile and install, at least there are no error messages.. Now, when I run the script that "use"s the XML::DOM module, I get: Can't load '/usr/lib/perl5/site_perl/5.6.1/cygwin/auto/XML/Parser/Expat/Expat.dl l' for module XML::Parser::Expat: dlopen: Win32 error 126 at /usr/lib/perl5/5.6. 1/cygwin/DynaLoader.pm line 206. at /usr/lib/perl5/site_perl/5.6.1/cygwin/XML/Parser.pm line 15 Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/cygwin/XML/Parse r.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/cygwin/XML/P arser.pm line 19. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/XML/DOM.pm line 40. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/XML/DOM.pm l ine 69. Compilation failed in require at /source/digiship/repository/modules/XMLEDI.pm l ine 117. BEGIN failed--compilation aborted at /source/digiship/repository/modules/XMLEDI. pm line 117. Compilation failed in require at /source/digiship/repository/interfaces/edi/EDIS erver/EDIServer.pl line 54. BEGIN failed--compilation aborted at /source/digiship/repository/interfaces/edi/ EDIServer/EDIServer.pl line 54. Any ideas where this could be coming from? The Expat library? The XML::Parser module? Any pointers would be most helpful. Thanks. -- Darren Young Director Network Operations Digiship From pbuonora@stratavision.com Thu Jan 25 16:59:37 2001 From: pbuonora@stratavision.com (Peter Buonora) Date: Thu, 25 Jan 2001 11:59:37 -0500 Subject: [Expat-discuss] make on sol7 Message-ID: <3A705B79.6BA7BC8E@stratavision.com> ---------------------- multipart/alternative attachment Hello, Can anyone help out with the make on solaris 7 ? I am getting an error every time. Thanks, Peter cd lib; /usr/ccs/bin/make /bin/sh ../libtool --mode=link gcc -version-info 0:1:0 -g -O2 -o libexpat.la -rpath /usr/local/lib xmlparse.lo xmltok.lo xmlrole.lo rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* /usr/ccs/bin/ld -G -h libexpat.so.0 -o .libs/libexpat.so.0.0.1 xmlparse.lo xmltok.lo xmlrole.lo -lc (cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 libexpat.so.0) (cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so) ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o ../libtool: ar: not found *** Error code 1 make: Fatal error: Command failed for target `libexpat.la' Current working directory /tmp/mod/expat-1.95.1/lib *** Error code 1 make: Fatal error: Command failed for target `lib' -- Peter Buonora Senior Technologist Stratavision 617-828-4258 ---------------------- multipart/alternative attachment An HTML attachment was scrubbed... URL: http://mail.libexpat.org/pipermail-21/expat-discuss/attachments/20010125/305c70d2/attachment.html ---------------------- multipart/alternative attachment-- From youngd@digiship.com Thu Jan 25 17:07:40 2001 From: youngd@digiship.com (Darren Young) Date: Thu, 25 Jan 2001 11:07:40 -0600 (CST) Subject: [Expat-discuss] make on sol7 In-Reply-To: <3A705B79.6BA7BC8E@stratavision.com> Message-ID: I think the ar command on Solaris is in /usr/ccs or maybe /usr/ucb try adding that to your path, i.e: PATH=$PATH:/usr/ccs:/usr/ccs; export PATH If that doesn't work, run a find / -name ar or maybe it's not installed. I think it's part of the deveoper Solaris installation. If you can't find it, let me know and I can ship you a copy from a Solaris 7 machine I have here. /DAY On Thu, 25 Jan 2001, Peter Buonora wrote: > Hello, > > Can anyone help out with the make on solaris 7 ? I am getting an error > every time. > > Thanks, > Peter > > cd lib; /usr/ccs/bin/make > /bin/sh ../libtool --mode=link gcc -version-info 0:1:0 -g -O2 -o > libexpat.la -rpath /usr/local/lib xmlparse.lo xmltok.lo xmlrole.lo > rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* > /usr/ccs/bin/ld -G -h libexpat.so.0 -o .libs/libexpat.so.0.0.1 > xmlparse.lo xmltok.lo xmlrole.lo -lc > (cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 > libexpat.so.0) > (cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so) > ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o > ../libtool: ar: not found > *** Error code 1 > make: Fatal error: Command failed for target `libexpat.la' > Current working directory /tmp/mod/expat-1.95.1/lib > *** Error code 1 > make: Fatal error: Command failed for target `lib' > > > -- > Peter Buonora > Senior Technologist > Stratavision > 617-828-4258 > > > -- Darren Young Director Network Operations Digiship From pbuonora@stratavision.com Thu Jan 25 17:33:51 2001 From: pbuonora@stratavision.com (Peter Buonora) Date: Thu, 25 Jan 2001 12:33:51 -0500 Subject: [Expat-discuss] make on sol7 References: Message-ID: <3A70637F.A15A7383@stratavision.com> ---------------------- multipart/alternative attachment Thank You!!! Sometimes the simplest things are overlooked. -Peter Darren Young wrote: > I think the ar command on Solaris is in /usr/ccs or maybe /usr/ucb try > adding that to your path, i.e: PATH=$PATH:/usr/ccs:/usr/ccs; export PATH > > If that doesn't work, run a find / -name ar or maybe it's not installed. I > think it's part of the deveoper Solaris installation. If you can't find > it, let me know and I can ship you a copy from a Solaris 7 machine I have > here. > > /DAY > > On Thu, 25 Jan 2001, Peter Buonora wrote: > > > Hello, > > > > Can anyone help out with the make on solaris 7 ? I am getting an error > > every time. > > > > Thanks, > > Peter > > > > cd lib; /usr/ccs/bin/make > > /bin/sh ../libtool --mode=link gcc -version-info 0:1:0 -g -O2 -o > > libexpat.la -rpath /usr/local/lib xmlparse.lo xmltok.lo xmlrole.lo > > rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.* > > /usr/ccs/bin/ld -G -h libexpat.so.0 -o .libs/libexpat.so.0.0.1 > > xmlparse.lo xmltok.lo xmlrole.lo -lc > > (cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 > > libexpat.so.0) > > (cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so) > > ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o > > ../libtool: ar: not found > > *** Error code 1 > > make: Fatal error: Command failed for target `libexpat.la' > > Current working directory /tmp/mod/expat-1.95.1/lib > > *** Error code 1 > > make: Fatal error: Command failed for target `lib' > > > > > > -- > > Peter Buonora > > Senior Technologist > > Stratavision > > 617-828-4258 > > > > > > > > -- > > Darren Young > Director Network Operations > Digiship -- Peter Buonora Senior Technologist Stratavision 617-828-4258 ---------------------- multipart/alternative attachment An HTML attachment was scrubbed... URL: http://mail.libexpat.org/pipermail-21/expat-discuss/attachments/20010125/37521db4/attachment.html ---------------------- multipart/alternative attachment-- From fdrake@acm.org Thu Jan 25 17:41:02 2001 From: fdrake@acm.org (Fred L. Drake, Jr.) Date: Thu, 25 Jan 2001 12:41:02 -0500 (EST) Subject: [Expat-discuss] make on sol7 In-Reply-To: <3A70637F.A15A7383@stratavision.com> References: <3A70637F.A15A7383@stratavision.com> Message-ID: <14960.25902.432336.835439@cj42289-a.reston1.va.home.com> Peter Buonora writes: > Thank You!!! > > Sometimes the simplest things are overlooked. If you can tell me which directory needed to be added, I'll add a note about it in the build instructions in the README file. Thanks! -Fred -- Fred L. Drake, Jr. PythonLabs at Digital Creations From pbuonora@stratavision.com Thu Jan 25 17:46:54 2001 From: pbuonora@stratavision.com (Peter Buonora) Date: Thu, 25 Jan 2001 12:46:54 -0500 Subject: [Expat-discuss] make on sol7 References: <3A70637F.A15A7383@stratavision.com> <14960.25902.432336.835439@cj42289-a.reston1.va.home.com> Message-ID: <3A70668E.FD74F5D0@stratavision.com> ---------------------- multipart/alternative attachment Sure, I added the /usr/ccs/bin directory to $PATH (where ar existed). -Peter "Fred L. Drake, Jr." wrote: > Peter Buonora writes: > > Thank You!!! > > > > Sometimes the simplest things are overlooked. > > If you can tell me which directory needed to be added, I'll add a > note about it in the build instructions in the README file. > Thanks! > > -Fred > > -- > Fred L. Drake, Jr. > PythonLabs at Digital Creations -- Peter Buonora Senior Technologist Stratavision 617-828-4258 ---------------------- multipart/alternative attachment An HTML attachment was scrubbed... URL: http://mail.libexpat.org/pipermail-21/expat-discuss/attachments/20010125/673ee08e/attachment.html ---------------------- multipart/alternative attachment-- From fdrake@acm.org Thu Jan 25 17:51:09 2001 From: fdrake@acm.org (Fred L. Drake, Jr.) Date: Thu, 25 Jan 2001 12:51:09 -0500 (EST) Subject: [Expat-discuss] make on sol7 In-Reply-To: <3A70668E.FD74F5D0@stratavision.com> References: <3A70637F.A15A7383@stratavision.com> <14960.25902.432336.835439@cj42289-a.reston1.va.home.com> <3A70668E.FD74F5D0@stratavision.com> Message-ID: <14960.26509.317023.308355@cj42289-a.reston1.va.home.com> Peter Buonora writes: > Sure, I added the /usr/ccs/bin directory to $PATH (where ar existed). Thanks, Peter! I've checked in a change to the README file, so the next release should be a little easier for people to get started with. -Fred -- Fred L. Drake, Jr. PythonLabs at Digital Creations