From murthymsg at yahoo.co.in Wed Jun 2 08:17:39 2004 From: murthymsg at yahoo.co.in (=?iso-8859-1?q?Anjeneya=20Murthy?=) Date: Wed Jun 2 08:17:48 2004 Subject: [Expat-discuss] a very silly question!! Message-ID: <20040602121739.72796.qmail@web8302.mail.in.yahoo.com> hi all, a very silly question!! Plz tell me is it possible to write XML file using any Expat functions? if so plz tell me which are those functions.. want to know urgently... so plz do reply.. Thanks in advance -Murthy Yahoo! India Matrimony: Find your partner online. From karl at waclawek.net Wed Jun 2 08:47:58 2004 From: karl at waclawek.net (Karl Waclawek) Date: Wed Jun 2 08:48:08 2004 Subject: [Expat-discuss] a very silly question!! References: <20040602121739.72796.qmail@web8302.mail.in.yahoo.com> Message-ID: <001501c4489f$d4f36f60$9e539696@citkwaclaww2k> ----- Original Message ----- From: "Anjeneya Murthy" To: Sent: Wednesday, June 02, 2004 8:17 AM > hi all, > a very silly question!! > Plz tell me is it possible to write XML file using any Expat functions? if so plz tell me which are those functions.. want to know urgently... so plz do reply.. Expat is for parsing only. There are no XML output functions. Karl From Girish_Doddaiah at infosys.com Wed Jun 2 02:46:03 2004 From: Girish_Doddaiah at infosys.com (Girish Mysore Doddaiah) Date: Thu Jun 3 09:27:31 2004 Subject: [Expat-discuss] Hi Message-ID: Hi ..., Can you please send me the installation maual of expat. How to configure, build and make. Girish Mysore Doddaiah From Greg.Martin at TELUS.COM Thu Jun 3 09:59:56 2004 From: Greg.Martin at TELUS.COM (Greg Martin) Date: Thu Jun 3 10:00:26 2004 Subject: [Expat-discuss] Hi Message-ID: > -----Original Message----- > From: expat-discuss-bounces@libexpat.org > [mailto:expat-discuss-bounces@libexpat.org]On Behalf Of Girish Mysore > Doddaiah > Sent: Wednesday, June 02, 2004 12:46 AM > To: expat-discuss@libexpat.org > Subject: [Expat-discuss] Hi > > > Hi ..., > > Can you please send me the installation maual of expat. How to > configure, build and make. > There should me a Readme in the directory where you extracted expat that gives the installation instructions. From kevin.w.white at lmco.com Fri Jun 4 09:12:42 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Fri Jun 4 09:12:19 2004 Subject: [Expat-discuss] Question regarding latest version of expat Message-ID: I have been trying to make the latest version of expat, with some considerable problems. I found an older version right off the bat. Every aspect of it built great. I built it in VisualStudio 6.0, and linux without making a single change, warning, or error message -- it was wonderful to see that developers are able to be this good. Then I decided I should use the latest version. Argh! Now I find that anything checked into the gnu repository is utterly useless. Is someone managing a version with the latest bug fixes that actually builds on a platform that people use? I deeply feel for whoever spent painful hours developing the original code. What once was, was wholesome goodness - it would be nice to be able to have the latest fixes in a similar, more usable format. -Kevin From karl at waclawek.net Fri Jun 4 10:36:02 2004 From: karl at waclawek.net (Karl Waclawek) Date: Fri Jun 4 10:36:11 2004 Subject: [Expat-discuss] Question regarding latest version of expat References: Message-ID: <002401c44a41$428f3e30$9e539696@citkwaclaww2k> ----- Original Message ----- From: "White, Kevin W" To: Sent: Friday, June 04, 2004 9:12 AM > I have been trying to make the latest version of expat, with some considerable problems. The current release of Expat (1.95.7) as well a the latest CVS build just fine for me in MS VC++ 6.0, MS VisualStudio.NET and RedHat 9 (gcc 3.2.2). Instead of complaining, why not give us some details on your problems? Karl From kevin.w.white at lmco.com Fri Jun 4 11:12:35 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Fri Jun 4 11:12:01 2004 Subject: [Expat-discuss] Question regarding latest version of expat Message-ID: Ok, here it is. What I downloaded doesn't even have a .dsw file, so I am not sure how it is you were able to build. I tried to execute ./configure to build in Linux, I chmod 777 so that I can execute the script, then I get : bad interpreter: No such file or directory. Sorry for complaining, but it was SO NICE that the first set of files compiled so seamlessly, and then when I grabbed the more recent stuff, all of the directories are re-arranged, and nothing worked right out of the box. My only guess is that there is separate source which includes win32 that I have yet to find. The links I have used are from http://www.jclark.com/xml/expat.html. I managed to find a few from sourceforge, but I can't remember the exact link I used. I know that it took a bit to find source files outside of CVS. Thanks for the response, -Kevin -----Original Message----- From: expat-discuss-bounces+kevin.w.white=lmco.com@libexpat.org [mailto:expat-discuss-bounces+kevin.w.white=lmco.com@libexpat.org]On Behalf Of Karl Waclawek Sent: Friday, June 04, 2004 10:36 AM To: expat-discuss@libexpat.org Subject: Re: [Expat-discuss] Question regarding latest version of expat ----- Original Message ----- From: "White, Kevin W" To: Sent: Friday, June 04, 2004 9:12 AM > I have been trying to make the latest version of expat, with some considerable problems. The current release of Expat (1.95.7) as well a the latest CVS build just fine for me in MS VC++ 6.0, MS VisualStudio.NET and RedHat 9 (gcc 3.2.2). Instead of complaining, why not give us some details on your problems? Karl _______________________________________________ Expat-discuss mailing list Expat-discuss@libexpat.org http://mail.libexpat.org/mailman/listinfo/expat-discuss From karl at waclawek.net Fri Jun 4 11:16:50 2004 From: karl at waclawek.net (Karl Waclawek) Date: Fri Jun 4 11:16:58 2004 Subject: [Expat-discuss] Question regarding latest version of expat References: Message-ID: <006b01c44a46$f5dacd60$9e539696@citkwaclaww2k> ----- Original Message ----- From: "White, Kevin W" To: "Karl Waclawek" ; Sent: Friday, June 04, 2004 11:12 AM > Ok, here it is. What I downloaded doesn't even have a .dsw file, so I am not sure how it is you were able to build. I tried to execute ./configure to build in Linux, I chmod 777 so that I can execute the script, then I get : bad interpreter: No such file or directory. Expat has been on SourceForge for a few years now. Home page: http://www.libexpat.org Project page: http://sf.net/projects/expat .dsw files are included. Building on Linux requires running ./buildconf.sh before running ./configure. All explained in the README. Karl From kevin.w.white at lmco.com Fri Jun 4 11:37:14 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Fri Jun 4 11:36:32 2004 Subject: [Expat-discuss] Question regarding latest version of expat Message-ID: Hmmm, I went to both web pages you suggested, which the first is where I downloaded one of the file sets (didn't see a .dsw file though). I downloaded the link just under "15 October 2003, Upcoming release." I have actually used the sf.net site pretty often, but never manage to find where to download packages of files. Clicking on just seems to lead to areas where you can download individual files. I usually use this site to get to links where the source is packaged in neat little zip or gz bundles. Anyway, thanks for the tips. -Kevin -----Original Message----- From: expat-discuss-bounces@libexpat.org [mailto:expat-discuss-bounces@libexpat.org]On Behalf Of Karl Waclawek Sent: Friday, June 04, 2004 11:17 AM To: expat-discuss@libexpat.org Subject: Re: [Expat-discuss] Question regarding latest version of expat ----- Original Message ----- From: "White, Kevin W" To: "Karl Waclawek" ; Sent: Friday, June 04, 2004 11:12 AM > Ok, here it is. What I downloaded doesn't even have a .dsw file, so I am not sure how it is you were able to build. I tried to execute ./configure to build in Linux, I chmod 777 so that I can execute the script, then I get : bad interpreter: No such file or directory. Expat has been on SourceForge for a few years now. Home page: http://www.libexpat.org Project page: http://sf.net/projects/expat .dsw files are included. Building on Linux requires running ./buildconf.sh before running ./configure. All explained in the README. Karl _______________________________________________ Expat-discuss mailing list Expat-discuss@libexpat.org http://mail.libexpat.org/mailman/listinfo/expat-discuss From kevin.w.white at lmco.com Fri Jun 4 11:38:04 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Fri Jun 4 11:37:24 2004 Subject: [Expat-discuss] Question regarding latest version of expat Message-ID: Very good. Now I get configure: error: cannot run /bin/sh conftools/config.sub. I also solved this through dos2unix'ing the conftools directory. Now I get: /bin/sh ./libtool --silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmlparse.lo -c lib/xmlparse.c lib/xmlparse.c:76:2: #error memmove does not exist on this platform, nor is a substitute available lib/xmlparse.c:324: warning: `processInternalParamEntity' declared `static' but never defined make: *** [lib/xmlparse.lo] Error 1 I can see where this is going. I will use the old version. I would like to thank the original contributer very much for going to the pains of making a very direct and simple set of make utilities. Thank you all very much for your time and efforts. -Kevin -----Original Message----- From: Wendell Turner [mailto:wendell@adsi-m4.com] Sent: Friday, June 04, 2004 11:24 AM To: White, Kevin W Cc: Karl Waclawek; expat-discuss@libexpat.org Subject: Re: [Expat-discuss] Question regarding latest version of expat On Fri, Jun 04, 2004 at 11:12:35AM -0400, White, Kevin W wrote: > I tried to execute ./configure to build in Linux, I chmod 777 > so that I can execute the script, then I get : bad > interpreter: No such file or directory. I've seen this when trying to execute a script on Linux whose filetype is dos. Try dos2unix on the offending script. From karl at waclawek.net Fri Jun 4 12:02:03 2004 From: karl at waclawek.net (Karl Waclawek) Date: Fri Jun 4 12:02:09 2004 Subject: [Expat-discuss] Question regarding latest version of expat References: Message-ID: <001001c44a4d$47204190$9e539696@citkwaclaww2k> ----- Original Message ----- From: "White, Kevin W" To: "Karl Waclawek" ; Sent: Friday, June 04, 2004 11:37 AM Subject: RE: [Expat-discuss] Question regarding latest version of expat > Hmmm, I went to both web pages you suggested, which the first is where I downloaded one of the file sets (didn't see a .dsw file though). I downloaded the link just under "15 October 2003, Upcoming release." The gzip file expat-1.95.7.tar.gz should contain everything, at least for building on Linux. If the .dsw and .dsp files are missing it would be an omission, however, the win32 distribution (file expat_win32bin_1_95_7.exe) contains them in the source directory. > I have actually used the sf.net site pretty often, but never manage to find where to download packages of files. Clicking on just seems to lead to areas where you can download individual files. I usually use this site to get to links where the source is packaged in neat little zip or gz bundles. As it is for Expat. Did you really follow the README files for building on Linux? Karl -------------- next part -------------- Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ############################################################################### Project: "elements"=.\examples\elements.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ Begin Project Dependency Project_Dep_Name expat_static End Project Dependency }}} ############################################################################### Project: "expat"=.\lib\expat.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "expat_static"=.\lib\expat_static.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "expatw"=.\lib\expatw.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "expatw_static"=.\lib\expatw_static.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "outline"=.\examples\outline.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ Begin Project Dependency Project_Dep_Name expat End Project Dependency }}} ############################################################################### Project: "xmlwf"=.\xmlwf\xmlwf.dsp - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ Begin Project Dependency Project_Dep_Name expat End Project Dependency }}} ############################################################################### Global: Package=<5> {{{ }}} Package=<3> {{{ }}} ############################################################################### From kevin.w.white at lmco.com Fri Jun 4 13:07:13 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Fri Jun 4 13:06:29 2004 Subject: [Expat-discuss] Question regarding latest version of expat Message-ID: Yes, thanks a bunch -- this certainly seems to be missing from the files that I have tried downloading. I may give this a bit of work over the weekend, but I have basically given up on what is in source forge -- I have spent too much time trying to get the newest release to work, and I have a release that builds without all of the headaches. The problem is solved as far as I am concerned. I may try again in the future to see if any advances have been made, but I would rather give someone like James Clark a donation for a version that is easier to implement. I did not plan to spend my whole morning devoted to building this tool. Thanks for the help! -Kevin -----Original Message----- From: expat-discuss-bounces@libexpat.org [mailto:expat-discuss-bounces@libexpat.org]On Behalf Of Karl Waclawek Sent: Friday, June 04, 2004 12:02 PM To: expat-discuss@libexpat.org Subject: Re: [Expat-discuss] Question regarding latest version of expat ----- Original Message ----- From: "White, Kevin W" To: "Karl Waclawek" ; Sent: Friday, June 04, 2004 11:37 AM Subject: RE: [Expat-discuss] Question regarding latest version of expat > Hmmm, I went to both web pages you suggested, which the first is where I downloaded one of the file sets (didn't see a .dsw file though). I downloaded the link just under "15 October 2003, Upcoming release." The gzip file expat-1.95.7.tar.gz should contain everything, at least for building on Linux. If the .dsw and .dsp files are missing it would be an omission, however, the win32 distribution (file expat_win32bin_1_95_7.exe) contains them in the source directory. > I have actually used the sf.net site pretty often, but never manage to find where to download packages of files. Clicking on just seems to lead to areas where you can download individual files. I usually use this site to get to links where the source is packaged in neat little zip or gz bundles. As it is for Expat. Did you really follow the README files for building on Linux? Karl From karl at waclawek.net Fri Jun 4 13:13:19 2004 From: karl at waclawek.net (Karl Waclawek) Date: Fri Jun 4 13:13:25 2004 Subject: [Expat-discuss] Question regarding latest version of expat References: Message-ID: <000f01c44a57$3bbf9d00$9e539696@citkwaclaww2k> ----- Original Message ----- From: "White, Kevin W" To: "Karl Waclawek" ; Sent: Friday, June 04, 2004 1:07 PM Subject: RE: [Expat-discuss] Question regarding latest version of expat > Yes, thanks a bunch -- this certainly seems to be missing from the files that I have tried downloading. > > I may give this a bit of work over the weekend, but I have basically given up on what is in source forge -- I have spent too much time trying to get the newest release to work, and I have a release that builds without all of the headaches. I am sorry to hear that, but knowing that no-one else complains and that version 1.95.7 is used all over the place (just check current Linux distributions), the problem doesn't seem to be with the distribution. Karl From wendell at adsi-m4.com Fri Jun 4 11:24:07 2004 From: wendell at adsi-m4.com (Wendell Turner) Date: Sun Jun 6 23:22:53 2004 Subject: [Expat-discuss] Question regarding latest version of expat In-Reply-To: ; from kevin.w.white@lmco.com on Fri, Jun 04, 2004 at 11:12:35AM -0400 References: Message-ID: <20040604112407.A30921@adsi-m4.com> On Fri, Jun 04, 2004 at 11:12:35AM -0400, White, Kevin W wrote: > I tried to execute ./configure to build in Linux, I chmod 777 > so that I can execute the script, then I get : bad > interpreter: No such file or directory. I've seen this when trying to execute a script on Linux whose filetype is dos. Try dos2unix on the offending script. From 11mjazbdg02 at sneakemail.com Mon Jun 7 12:07:31 2004 From: 11mjazbdg02 at sneakemail.com (Mark) Date: Mon Jun 7 12:07:37 2004 Subject: [Expat-discuss] (no subject) Message-ID: <10975-35845@sneakemail.com> Hi, [expat 1.95.6] I have an XML file which uses iso-8859-1 encoding. Therefore the file begins with: In the file I have some character data which includes an accented character (u umlaut - byte 0xFC). When I parse the file the charater code gets translated (by expat) to two bytes (0xC3, 0xBC). I can see this in my CharacterDataHandler function. What I am doing wrong? Do I have to preprocess the file to change this to a character reference? Thanks, Mark From karl at waclawek.net Mon Jun 7 12:15:13 2004 From: karl at waclawek.net (Karl Waclawek) Date: Mon Jun 7 12:15:23 2004 Subject: [Expat-discuss] (no subject) References: <10975-35845@sneakemail.com> Message-ID: <00a201c44caa$9d249c30$9e539696@citkwaclaww2k> ----- Original Message ----- From: "Mark" <11mjazbdg02@sneakemail.com> To: Sent: Monday, June 07, 2004 12:07 PM > Hi, > > > > [expat 1.95.6] > > > > I have an XML file which uses iso-8859-1 encoding. Therefore the > > file begins with: > > > > > > In the file I have some character data which includes an accented > > character (u umlaut - byte 0xFC). When I parse the file > > the charater code gets translated (by expat) to two bytes (0xC3, 0xBC). I can > > see this in my CharacterDataHandler function. > > > > What I am doing wrong? Do I have to preprocess the file to > > change this to a character reference? You are doing nothing wrong. Expat processes your encoding, but does not report the data to your handlers in the same encoding, but rather in UTF-8 or UTF-16 Unicode. This is standard behaviour for an XML parser. Karl From bhayes at dmsi.com Fri Jun 11 11:47:05 2004 From: bhayes at dmsi.com (Brad Hayes) Date: Fri Jun 11 11:47:15 2004 Subject: [Expat-discuss] Heading information in an xml file Message-ID: <4A9D10D49D4E39429E665FBAB939D35B3C6ADE@hera.dmsinet.com> I'm in the process of duplicating an xml file with updated tag values. At the top of most (all?) xml files there is information similar to this: The comment line comes to me if I set XML_SetCommentHandler, but I don't see how I can get the other information so I can pass it to the new file. Is this possible or am I going in the wrong direction. Brad Hayes From Greg.Martin at TELUS.COM Fri Jun 11 12:24:35 2004 From: Greg.Martin at TELUS.COM (Greg Martin) Date: Fri Jun 11 12:25:36 2004 Subject: [Expat-discuss] Heading information in an xml file Message-ID: There are functions to register document type handlers and DTD handlers in the API. >From expat.h: /* The XML declaration handler is called for *both* XML declarations and text declarations. The way to distinguish is that the version parameter will be NULL for text declarations. The encoding parameter may be NULL for XML declarations. The standalone parameter will be -1, 0, or 1 indicating respectively that there was no standalone parameter in the declaration, that it was given as no, or that it was given as yes. */ typedef void (*XML_XmlDeclHandler) (void *userData, const XML_Char *version, const XML_Char *encoding, int standalone); XMLPARSEAPI(void) XML_SetXmlDeclHandler(XML_Parser parser, XML_XmlDeclHandler xmldecl); /* This is called for the start of the DOCTYPE declaration, before any DTD or internal subset is parsed. */ typedef void (*XML_StartDoctypeDeclHandler)(void *userData, const XML_Char *doctypeName, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset); /* This is called for the start of the DOCTYPE declaration when the closing > is encountered, but after processing any external subset. */ typedef void (*XML_EndDoctypeDeclHandler)(void *userData); > -----Original Message----- > From: expat-discuss-bounces@libexpat.org > [mailto:expat-discuss-bounces@libexpat.org]On Behalf Of Brad Hayes > Sent: Friday, June 11, 2004 9:47 AM > To: expat-discuss@libexpat.org > Subject: [Expat-discuss] Heading information in an xml file > > > I'm in the process of duplicating an xml file with updated tag values. > At the top of most (all?) xml files there is information similar to > this: > > > > The comment line comes to me if I set XML_SetCommentHandler, > but I don't > see how I can get the other information so I can pass it to the new > file. Is this possible or am I going in the wrong direction. > > Brad Hayes > > > _______________________________________________ > Expat-discuss mailing list > Expat-discuss@libexpat.org > http://mail.libexpat.org/mailman/listinfo/expat-discuss > > From bluekarthik at yahoo.com Wed Jun 30 10:12:23 2004 From: bluekarthik at yahoo.com (karthik bala guru) Date: Wed Jun 30 10:12:27 2004 Subject: [Expat-discuss] parser generator for XHTML in opensource in C Message-ID: <20040630141223.8169.qmail@web90108.mail.scd.yahoo.com> Hi, Has anyone come across / used a XHTML Parser generator tool in Opensource community developed in C ? Do Kindly post the link / tool name . Does EXPAT got a simple setup with just the XHTML Parser and Generator alone developed in C ? Kindly let me know. Thanks & Regards, karthik bala guru __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From kevin.w.white at lmco.com Wed Jun 30 10:16:09 2004 From: kevin.w.white at lmco.com (White, Kevin W) Date: Wed Jun 30 10:16:13 2004 Subject: [Expat-discuss] parser generator for XHTML in opensource in C Message-ID: If you have a choice, TinyXml is the way to go. It is c++, though. -----Original Message----- From: expat-discuss-bounces@libexpat.org [mailto:expat-discuss-bounces@libexpat.org]On Behalf Of karthik bala guru Sent: Wednesday, June 30, 2004 10:12 AM To: expat-discuss@libexpat.org Subject: [Expat-discuss] parser generator for XHTML in opensource in C Hi, Has anyone come across / used a XHTML Parser generator tool in Opensource community developed in C ? Do Kindly post the link / tool name . Does EXPAT got a simple setup with just the XHTML Parser and Generator alone developed in C ? Kindly let me know. Thanks & Regards, karthik bala guru __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail _______________________________________________ Expat-discuss mailing list Expat-discuss@libexpat.org http://mail.libexpat.org/mailman/listinfo/expat-discuss From bluekarthik at yahoo.com Wed Jun 30 23:40:12 2004 From: bluekarthik at yahoo.com (karthik bala guru) Date: Wed Jun 30 23:40:15 2004 Subject: [Expat-discuss] parser generator for XHTML in opensource in C In-Reply-To: Message-ID: <20040701034012.40990.qmail@web90103.mail.scd.yahoo.com> Ok fine, But, Have anyone has made up an XHTML Generator parser using EXPAT ? If so, could you kindly tell the Tool name, link & availability in net ? Or anyohter XHTML Generator Parser Tool in C . Thanks & Regards, karthik bala guru --- "White, Kevin W" wrote: > If you have a choice, TinyXml is the way to go. It > is c++, though. > > -----Original Message----- > From: expat-discuss-bounces@libexpat.org > [mailto:expat-discuss-bounces@libexpat.org]On Behalf > Of karthik bala > guru > Sent: Wednesday, June 30, 2004 10:12 AM > To: expat-discuss@libexpat.org > Subject: [Expat-discuss] parser generator for XHTML > in opensource in C > > > Hi, > Has anyone come across / used a XHTML Parser > generator > tool in Opensource community developed in C ? > Do Kindly post the link / tool name . > > Does EXPAT got a simple setup with just > the XHTML Parser and Generator alone developed in C > ? > Kindly let me know. > > Thanks & Regards, > karthik bala guru > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > _______________________________________________ > Expat-discuss mailing list > Expat-discuss@libexpat.org > http://mail.libexpat.org/mailman/listinfo/expat-discuss > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail