From doep at onnerby.se Wed Jul 2 14:28:33 2008 From: doep at onnerby.se (=?ISO-8859-1?Q?Daniel_=D6nnerby?=) Date: Wed, 02 Jul 2008 14:28:33 +0200 Subject: [Expat-discuss] multiple root nodes Message-ID: <486B7471.2040203@onnerby.se> Hi all! I'm just wondering if there is a way to have multiple root nodes. I seem to be getting a "junk after doc" kind of error (do not remember the exact error message) when I start on a second root node. In normal cases this is what to expect, but in my case I'm using expat to parse continuously from a socket stream, so multiple root nodes are allowed. Best regards Daniel From karl at waclawek.net Wed Jul 2 14:53:08 2008 From: karl at waclawek.net (Karl Waclawek) Date: Wed, 02 Jul 2008 08:53:08 -0400 Subject: [Expat-discuss] multiple root nodes In-Reply-To: <486B7471.2040203@onnerby.se> References: <486B7471.2040203@onnerby.se> Message-ID: <486B7A34.2050501@waclawek.net> Daniel ?nnerby wrote: > Hi all! > > I'm just wondering if there is a way to have multiple root nodes. I > seem to be getting a "junk after doc" kind of error (do not remember > the exact error message) when I start on a second root node. > In normal cases this is what to expect, but in my case I'm using expat > to parse continuously from a socket stream, so multiple root nodes are > allowed. > Expat must be told when the document ends, as after the last end-element tag there can still be comments, processing instructions or whitespace. So you must detect the beginning of a new document outside of Expat and then re-start the parsing process. Karl From fpesposito at gmail.com Thu Jul 3 19:27:37 2008 From: fpesposito at gmail.com (Frank P Esposito) Date: Thu, 3 Jul 2008 13:27:37 -0400 Subject: [Expat-discuss] Bad characters in document Message-ID: Greetings -- Is there a way to get a "call back" from expat that it scanned a bad utf-8 sequence? Now, if that is the case, the scanner stops and returnes to the caller /Frank From warren at etr-usa.com Tue Jul 8 01:56:17 2008 From: warren at etr-usa.com (Warren Young) Date: Mon, 07 Jul 2008 17:56:17 -0600 Subject: [Expat-discuss] Parsing copyright symbol In-Reply-To: References: Message-ID: <4872AD21.20005@etr-usa.com> ?.?. wrote: > > ...copyright symbol (code 0xae)...utf8? You are confused on a number of fronts: First, 0xAE is not a valid UTF-8 code, by itself. Read this on how UTF-8 encodes multi-byte characters over 0x007F down to multiple bytes over 0x80 in value: http://en.wikipedia.org/wiki/UTF-8 Second, 0xAE is the registered trademark symbol in ISO 8859-1 (Latin-1), not a copyright symbol. The copyright symbol is 0xA9 in Latin-1. Third, XML defaults to UTF-8, so unless you declare the document's character set differently in the tag, that's what expat will use. Either convert your data into UTF-8 format, or tell Expat the truth about your document's content: I'm just guessing about it being 8859-1. It could be 8859-15, or probably several other encodings. From stijn at sandcat.nl Wed Jul 9 10:49:37 2008 From: stijn at sandcat.nl (Stijn Hoop) Date: Wed, 9 Jul 2008 10:49:37 +0200 Subject: [Expat-discuss] expat.m4 quoting Message-ID: <20080709104937.091405a7@tangaloor.kzp.sandcat.nl> Hello, aclocal of automake on my Fedora 9 system (version 1.10.1) complains about an underquoted definition when I try to use conftool/expat.m4 from the expat-2.0.1 tarball. Attached is a simple patch to correct this error. Could it be applied? Thanks! Regards, --Stijn -------------- next part -------------- A non-text attachment was scrubbed... Name: conftools-expat-m4.patch Type: text/x-patch Size: 484 bytes Desc: not available URL: From yuki.latt at gmail.com Thu Jul 17 11:54:06 2008 From: yuki.latt at gmail.com (yuki latt) Date: Thu, 17 Jul 2008 18:54:06 +0900 Subject: [Expat-discuss] cannot compile .c files under Expat 2.0.1\Source\examples folder :( Message-ID: Dear all, I am newbie in Expat XML parser and C programming. I have problems to compile examples of Expat. :( Expat : expat-win32bin-2.0.1 OS : Windows XP Compiler : Borland C++ Compiler 5.5 I followed the instructions as mentioned in Expat 2.0.1\Source\bcb5\readme.txt. When I tried to compile Source\examples\elements.c and outline.c, I found following errors. C:\Program Files\Expat 2.0.1\Source\examples>bcc32 outline.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland outline.c: Error E2209 outline.c 25: Unable to open include file 'stdio.h' Error E2209 outline.c 26: Unable to open include file 'expat.h' Error E2449 outline.c 49: Size of 'XMLCALL' is unknown or zero Error E2141 outline.c 49: Declaration syntax error *** 4 errors in Compile *** ------------------------------------------------------------------------------------------------------------------------------------ The followings are the contents of bcc32.cfg and ilink32.cfg under C:\Borland\BCC55 bcc32.cfg -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" -I"c:\Program Files\Expat 2.0.1\Source\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" ilink32.cfg -L"c:\Borland\Bcc55\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" Any help would be much appreciated. regards, yuki From yuki.latt at gmail.com Thu Jul 17 11:58:44 2008 From: yuki.latt at gmail.com (yuki latt) Date: Thu, 17 Jul 2008 18:58:44 +0900 Subject: [Expat-discuss] [resend] cannot compile .c files under Expat 2.0.1\Source\examples folder :( In-Reply-To: References: Message-ID: Dear all, I am newbie in Expat XML parser and C programming. I have problems to compile examples of Expat. :( Expat : expat-win32bin-2.0.1 OS : Windows XP Compiler : Borland C++ Compiler 5.5 I followed the instructions as mentioned in Expat 2.0.1\Source\bcb5\readme.txt. When I tried to compile Source\examples\elements.c and outline.c, I found following errors. C:\Program Files\Expat 2.0.1\Source\examples>bcc32 outline.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland outline.c: Error E2209 outline.c 25: Unable to open include file 'stdio.h' Error E2209 outline.c 26: Unable to open include file 'expat.h' Error E2449 outline.c 49: Size of 'XMLCALL' is unknown or zero Error E2141 outline.c 49: Declaration syntax error *** 4 errors in Compile *** ------------------------------------------------------------------------------------------------------------------------------------ The followings are the contents of bcc32.cfg and ilink32.cfg under C:\Borland\BCC55 bcc32.cfg -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" -I"c:\Program Files\Expat 2.0.1\Source\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" ilink32.cfg -L"c:\Borland\Bcc55\lib" -L"c:\Program Files\Expat 2.0.1\Source\lib" Any help would be much appreciated. regards, yuki From yuki.latt at gmail.com Fri Jul 18 11:58:46 2008 From: yuki.latt at gmail.com (yuki latt) Date: Fri, 18 Jul 2008 18:58:46 +0900 Subject: [Expat-discuss] Error: Unresolved external '_XML_ParserCreate' referenced from ... elements.exe Message-ID: Dear all, I am trying to compile the elements.c under examples folder using Borland C++ compiler. bcc32 -I"C:\Program Files\Expat 2.0.1\Source\lib" -L"C:\Program Files\Expat 2.0.1\Source\lib" -o"C:\Program Files\Expat 2.0.1\Source\examples\elements.exe" elements.c I got the following warnings and errors. Warning W8057 elements.c 34: Parameter 'atts' is never used in function startElement Warning W8057 elements.c 41: Parameter 'name' is never used in function endElement Warning W8057 elements.c 65: Parameter 'argc' is never used in function main Warning W8057 elements.c 65: Parameter 'argv' is never used in function main Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_XML_ParserCreate' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_SetUserData' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_SetElementHandler' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_Parse' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_GetCurrentLineNumber' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_GetErrorCode' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_ErrorString' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Error: Unresolved external '_XML_ParserFree' referenced from C:\PROGRAM FILES\EXPAT 2.0.1\SOURCE\EXAMPLES\ELEMENTS.EXE Please help me! From yuki.latt at gmail.com Fri Jul 18 17:49:21 2008 From: yuki.latt at gmail.com (yuki latt) Date: Sat, 19 Jul 2008 00:49:21 +0900 Subject: [Expat-discuss] [PATCH] Add pkg-config support Message-ID: Dear all, To cure "Error: Unresolved external '_XML_ParserCreate' referenced from ... \ELEMENTS.OBJ", I searched for two days on web and was waiting for any reply in mailing list. At last, I found a patch file that will "Add a pkg-config file for expat to allow easier linking with the library." - I downloaded "expat-pkgconfig.patch". - placed that patch file C:\Program Files\Expat 2.0.1 - typed as follows patch -p0 < expat-pkgconfig.patch - found out the followings. Cursor was blinking in the line of "File to patch". I dont know what file I'll have to patch. Please help me!!!!!!!! patching file expat.pc.in can't find file to patch at input line 24 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: .cvsignore |=================================================================== |RCS file: /cvsroot/expat/expat/.cvsignore,v |retrieving revision 1.10 |diff -p -u -r1.10 .cvsignore |--- .cvsignore 3 May 2007 19:54:50 -0000 1.10 |+++ .cvsignore 6 Jul 2007 14:40:26 -0000 -------------------------- File to patch: [cursor is waiting here] From yuki.latt at gmail.com Fri Jul 18 17:54:48 2008 From: yuki.latt at gmail.com (yuki latt) Date: Sat, 19 Jul 2008 00:54:48 +0900 Subject: [Expat-discuss] [PATCH] contents of "expat-pkgconfig.patch" Message-ID: Hi, I posted the contents of patch file. ---------------------------------------------------------------------------------------------------------- Add a pkg-config file for expat to allow easier linking with the libary. Must 'cvs add expat.pc.in'. --- /dev/null 2007-06-29 06:21:44.613798959 -0700 +++ expat.pc.in 2007-07-06 07:17:34.000000000 -0700 @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: expat +Version: @PACKAGE_VERSION@ +Description: expat XML parser +Libs: -L${libdir} -lexpat +Cflags: -I${includedir} Index: .cvsignore =================================================================== RCS file: /cvsroot/expat/expat/.cvsignore,v retrieving revision 1.10 diff -p -u -r1.10 .cvsignore --- .cvsignore 3 May 2007 19:54:50 -0000 1.10 +++ .cvsignore 6 Jul 2007 14:40:26 -0000 @@ -11,3 +11,4 @@ libtool expat.ncb expat.opt .project +expat.pc Index: Makefile.in =================================================================== RCS file: /cvsroot/expat/expat/Makefile.in,v retrieving revision 1.58 diff -p -u -r1.58 Makefile.in --- Makefile.in 9 May 2007 18:38:50 -0000 1.58 +++ Makefile.in 6 Jul 2007 14:40:26 -0000 @@ -31,6 +31,7 @@ bindir = @bindir@ libdir = @libdir@ includedir = @includedir@ man1dir = @mandir@/man1 +pkgconfigdir = $(libdir)/pkgconfig top_builddir = . @@ -48,9 +49,9 @@ DESTDIR = $(INSTALL_ROOT) default: buildlib xmlwf/xmlwf -buildlib: $(LIBRARY) +buildlib: $(LIBRARY) expat.pc -all: $(LIBRARY) xmlwf/xmlwf examples/elements examples/outline +all: $(LIBRARY) expat.pc xmlwf/xmlwf examples/elements examples/outline clean: cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs @@ -65,7 +66,7 @@ clobber: clean distclean: clean rm -f expat_config.h config.status config.log config.cache libtool - rm -f Makefile + rm -f Makefile expat.pc extraclean: distclean rm -f expat_config.h.in configure @@ -80,10 +81,11 @@ install: xmlwf/xmlwf installlib $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(DESTDIR)$(bindir)/xmlwf $(INSTALL_DATA) $(MANFILE) $(DESTDIR)$(man1dir) -installlib: $(LIBRARY) $(APIHEADER) - $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) +installlib: $(LIBRARY) $(APIHEADER) expat.pc + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(pkgconfigdir) $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY) for FN in $(APIHEADER) ; do $(INSTALL_DATA) $$FN $(DESTDIR)$(includedir) ; done + $(INSTALL_DATA) expat.pc $(DESTDIR)$(pkgconfigdir)/expat.pc uninstall: uninstalllib $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/xmlwf @@ -93,6 +95,7 @@ uninstalllib: $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY) rm -f $(DESTDIR)$(includedir)/expat.h rm -f $(DESTDIR)$(includedir)/expat_external.h + rm -f $(DESTDIR)$(pkgconfigdir)/expat.pc # for VPATH builds (invoked by configure) mkdir-init: @@ -125,6 +128,9 @@ LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo $(LIBRARY): $(LIB_OBJS) $(LINK_LIB) $(LIB_OBJS) +expat.pc: $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $@ + lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \ $(top_builddir)/expat_config.h lib/expat_external.h lib/internal.h Index: configure.in =================================================================== RCS file: /cvsroot/expat/expat/configure.in,v retrieving revision 1.45 diff -p -u -r1.45 configure.in --- configure.in 9 May 2007 13:26:48 -0000 1.45 +++ configure.in 6 Jul 2007 14:40:26 -0000 @@ -144,7 +144,7 @@ AC_DEFINE([XML_DTD], 1, AC_DEFINE([XML_CONTEXT_BYTES], 1024, [Define to specify how much context to retain around the current parse point.]) -AC_CONFIG_FILES(Makefile) +AC_CONFIG_FILES([Makefile expat.pc]) AC_OUTPUT abs_srcdir="`cd $srcdir && pwd`" From Philippe.Picard at slecs.ca Mon Jul 21 19:53:19 2008 From: Philippe.Picard at slecs.ca (Picard, Philippe) Date: Mon, 21 Jul 2008 13:53:19 -0400 Subject: [Expat-discuss] Need help on installing expat 2.0.1 with w3c-libwww Message-ID: <956790249DB95A44BCAF592F57BDB97DCF9C8E@sl-ecs-mail-01.slecs.ca> Hi, I am trying to upgrade my w3c-libwww package with a new XML parser. I am trying to install expat 2.0.1. I can compile expat on its own but I need help on how to interface it with w3c-libwww. How do I replace the w3c-libwww xmlparse with expat? I am running on Linux. Thank you, Philippe Picard From yuki.latt at gmail.com Tue Jul 22 07:56:42 2008 From: yuki.latt at gmail.com (yuki latt) Date: Tue, 22 Jul 2008 14:56:42 +0900 Subject: [Expat-discuss] extracting value other than element and attribute Message-ID: Hi all, I gave up using expat-win-32 on windows. :( Now I am using expat linux version on cygwin (OS: windows XP). Everything is OK. Please let me ask a question. Outline.c prints elements and their arguments. Let's say that there is - 2008-7-22 . Outline.c prints - date and id="1001" (element and its arguments). I want to retreive the value 2008-7-22. How should I do? thanks in advance, yuki From nickmacd at gmail.com Tue Jul 22 14:57:22 2008 From: nickmacd at gmail.com (Nick MacDonald) Date: Tue, 22 Jul 2008 08:57:22 -0400 Subject: [Expat-discuss] extracting value other than element and attribute In-Reply-To: References: Message-ID: To get the start and the end of the elements, you use callbacks, which in my code are called startElement and endElement: XML_SetElementHandler(parser, startElement, endElement); This is also where you get to know the parameters on the elements, such as your id="1001" But to get the data inside the elements, you need the following, which calls a callback elementText in my case: XML_SetCharacterDataHandler(parser, elementText); void XMLCALL elementText( void* userData, const char* text, int len ); NOTE you may get more than one of these callbacks, and YOU have to handle the concatenation. (This can occur depending on line breaks, and special embedded content, such as & and the like. I mention this, as it has been a stumbling block and often seems to surprise others who write to the list about it.) Good luck, Nick On Tue, Jul 22, 2008 at 1:56 AM, yuki latt wrote: > I gave up using expat-win-32 on windows. :( > > Now I am using expat linux version on cygwin (OS: windows XP). > Everything is OK. Please let me ask a question. > > Outline.c prints elements and their arguments. Let's say that there is - > 2008-7-22 . > > Outline.c prints - date and id="1001" (element and its arguments). > > I want to retreive the value 2008-7-22. How > should I do? From yuki.latt at gmail.com Thu Jul 24 07:32:35 2008 From: yuki.latt at gmail.com (yuki latt) Date: Thu, 24 Jul 2008 14:32:35 +0900 Subject: [Expat-discuss] extracting value other than element and attribute In-Reply-To: References: Message-ID: Hello, Thank you so much for your reply. As you said, I got more than one of that callbacks. Could you please tell me how I can fix this? regards, yuki On Tue, Jul 22, 2008 at 9:57 PM, Nick MacDonald wrote: > To get the start and the end of the elements, you use callbacks, which > in my code are called startElement and endElement: > XML_SetElementHandler(parser, startElement, endElement); > This is also where you get to know the parameters on the elements, > such as your id="1001" > > But to get the data inside the elements, you need the following, which > calls a callback elementText in my case: > XML_SetCharacterDataHandler(parser, elementText); > > void XMLCALL elementText( > void* userData, > const char* text, > int len > ); > > NOTE you may get more than one of these callbacks, and YOU have to > handle the concatenation. (This can occur depending on line breaks, > and special embedded content, such as & and the like. I mention > this, as it has been a stumbling block and often seems to surprise > others who write to the list about it.) > > Good luck, > Nick > > > On Tue, Jul 22, 2008 at 1:56 AM, yuki latt wrote: > > I gave up using expat-win-32 on windows. :( > > > > Now I am using expat linux version on cygwin (OS: windows XP). > > Everything is OK. Please let me ask a question. > > > > Outline.c prints elements and their arguments. Let's say that there is > - > > 2008-7-22 . > > > > Outline.c prints - date and id="1001" (element and its arguments). > > > > I want to retreive the value 2008-7-22. How > > should I do? > From nickmacd at gmail.com Thu Jul 24 14:02:24 2008 From: nickmacd at gmail.com (Nick MacDonald) Date: Thu, 24 Jul 2008 08:02:24 -0400 Subject: [Expat-discuss] extracting value other than element and attribute In-Reply-To: References: Message-ID: Well, getting more than one is not a bad thing if you have multiple tags ;-) But I assume you mean you're getting more than one for one specific tag. There are a number of ways to handle the problem, which one you choose has a lot to do with the particular application you were writing. Imagine if the was a tag definition for an email and it had tags and had big globs of text in there as the whole body of long emails would show up inside. In that case, you would be building something expecting large amounts of text and would design accordingly. However, if you're just getting the occasional second callback for the same tag, then you can probably get away with some calls to realloc() to make your memory block larger. Some basic design principals of event based (SAX) XML parsers: - you may need a stack (as in push/pop operations) to know the exact "path" you're at in the file. - you'll probably need to use "user data structures" outside of the parser to track your state (or use globals, depending on personal tastes) - You can't look forward in the document, so you need to design your XML handling routines accordingly, and you may even redesign your input XML to make like easier. So, in this case... you might have a pointer to the contents of the current tag, and you set it to NULL in the routine that receives the start of the tag, and then in the routine that handles the body you write code along the lines of: if (pointer to current tag content is null) current tag body size=length of current section of document as passed to handler pointer to current tag content =malloc(current tag body size) else current tag body size += length of current section of document as passed to handler pointer to current tag content = realloc(current tag body size) end if Hopefully that make some sense for you... if it does not, I suggest maybe you to some searching in the list archives on this topic... Good luck, Nick On Thu, Jul 24, 2008 at 1:32 AM, yuki latt wrote: > Thank you so much for your reply. As you said, I got more than one > of that callbacks. Could you please tell me how I can fix this? From jkim202 at aucklanduni.ac.nz Sun Jul 27 02:13:24 2008 From: jkim202 at aucklanduni.ac.nz (James Kim) Date: Sun, 27 Jul 2008 12:13:24 +1200 Subject: [Expat-discuss] Expat's XML_Parse() method does not return Message-ID: <001401c8ef7d$a80e7790$0201a8c0@JEMAS> Hi! I am using Expat to parse XML files. I have implemented start/end/data handlers for my parser. My parser is able to parse XML files, but it does not return after it has completed parsing. When I tracked down the problem, the cause was XML_Parse that does not return in its final call. I have checked that "done" changes to true on its final call. The final call to XML_Parse does not throw any exceptions, it is simply stuck. Below is the method which calls XML_Parse(). Any help would be appreciated. Thank you. 1.. void 2.. XMLParser::ParseXML(BFile* file) 3.. { 4.. char msg[1024]; 5.. 6.. XML_Parser parser = XML_ParserCreate(NULL); 7.. XML_SetUserData(parser, this); 8.. XML_SetElementHandler(parser, StartElementHandler, EndElementHandler); 9.. XML_SetCharacterDataHandler(parser, CharDataHandler); 10.. 11.. bool done = false; 12.. do { 13.. ssize_t len = file->Read(fBuffer, BUFSIZ); 14.. if (len < BUFSIZ) { 15.. done = true; 16.. } 17.. if (!XML_Parse(parser, fBuffer, len, done)) { 18.. sprintf(msg, "%s at line %d\n", 19.. XML_ErrorString(XML_GetErrorCode(parser)), 20.. XML_GetCurrentLineNumber(parser)); 21.. printf(msg); 22.. } 23.. } while (!done); 24.. 25.. XML_ParserFree(parser); 26.. } Regards, James Kim From weigelt at metux.de Thu Jul 31 19:06:09 2008 From: weigelt at metux.de (Enrico Weigelt) Date: Thu, 31 Jul 2008 19:06:09 +0200 Subject: [Expat-discuss] [PATCH] Add pkg-config support In-Reply-To: References: Message-ID: <20080731170609.GA22801@nibiru.local> * yuki latt wrote: > Dear all, > > To cure "Error: Unresolved external '_XML_ParserCreate' referenced from > ... \ELEMENTS.OBJ", I searched for two days on web and was waiting for any > reply in mailing list. At last, I found a patch file that will "Add a > pkg-config file for expat to allow easier linking with the library." quite funny that my now about 2 years old pkg-config patch is still not applied ;-O cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ ---------------------------------------------------------------------