Compile with mingw32

2002-01-23 Thread Yue Ma
Hi there, How can I let g++ recognize the xerces-c_1.lib? The "-l" option doesn't work, and I've tried to use "impdef" and "dlltool" together to generate a "libxerces.a" file, doesn't work neither. The g++ complained can not find many SAX API references... Thanks!! Yue -

RE: Questions about Schema Support in Xerces 1.60

2002-01-23 Thread Elisha Berns
Hi Khaled,   Thanks for the reply.  Here is the zip file with all of the schema files I am using and the sample XML instance file and error logs.   I ran the test with two different command lines, and they produced different errors.  For the first test the command line was:   DOMPrin

RE: VC++ /Zp1....failure

2002-01-23 Thread David N Bertoni/CAM/Lotus
Changing the default packing for the compiler is a tricky thing -- You have no idea what will be affected, because _any_ structure defined in any included could cause problems. If you really have rebuilt things using /Zp1, then there are most likely other libraries which Xerces depends on that a

RE: VC++ /Zp1....failure

2002-01-23 Thread Gopi Krishna
hi, Ya read the faq. I think I am setting correctly. Because my program works with /zp8 settings and not with /zp1 settings. ok, I wrote a dll which basically gets the data from the server in XML and parses it. I also wrote a small test program to check this. >From my test program, I call only 2

RE: VC++ /Zp1....failure

2002-01-23 Thread David N Bertoni/CAM/Lotus
Are you using the correct run-time? Read the FAQ: http://xml.apache.org/xerces-c/faq-parse.html#faq-26 Dave "Gopi Krishna"

RE: VC++ /Zp1....failure

2002-01-23 Thread David N Bertoni/CAM/Lotus
Yes, he can post anywhere he wants, but it's a question of where it's most relevant, and where he'll get the best help. If people post to a mailing list without really taking the time to determine what's the most appropriate place to ask a question, the signal-to-noise ratio would be unmanageabl

RE: VC++ /Zp1....failure

2002-01-23 Thread Gopi Krishna
HI, I took the Xerces source files and built the library with /Zp1 option set. Still I get the same error at the same point. what could be wrong??? thanks and regards, Gopi -Original Message- From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 3:

RE: VC++ /Zp1....failure

2002-01-23 Thread Tuan Hoang
On Wed, 23 Jan 2002, David N Bertoni/CAM/Lotus wrote: > > You should be asking such questions in a Visual-C++ forum, not a Xerces > forum. Why should he? He has an application that requires 1 byte packing on structures. When he changed the byte packing, Xerces-C++ was giving him grief. He w

RE: VC++ /Zp1....failure

2002-01-23 Thread David N Bertoni/CAM/Lotus
You should be asking such questions in a Visual-C++ forum, not a Xerces forum. There is a compiler pragma that allows changing structure packing at the source code level. You can place these pragmas before and after the header files for which you want to change the packing. See the online hel

DO NOT REPLY [Bug 5545] - Parser trashes when encountering "

2002-01-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: VC++ /Zp1....failure

2002-01-23 Thread Jesse Pelton
You might try using something like the following in the headers that define structures and/or classes that must have 1-byte alignment:   #pragma pack (push, 1) // structure/class definition #pragma pack (pop)   I may not have the syntax quite right, but it should be close. You'd compile wi

RE: VC++ /Zp1....failure

2002-01-23 Thread Gopi Krishna
HI,   Thanks for the reply The problem is, Our application has been divided into 3 layers. Presentation,control and the data communication layers. I am writing the Data comm layer.  I will get the C data structures from the other layers in the zp1 format and I need to populate the st

Re: VC++ /Zp1....failure

2002-01-23 Thread david_n_bertoni
You must use the same structure alignment in your application the pre-compiled Xerces library uses. You could try rebuilding Xerces with the structure alignment you want to use, but I wouldn't recommend it. The bottom line is you shouldn't be mucking with such an option unless you understand the

VC++ /Zp1....failure

2002-01-23 Thread Gopi Krishna
HI,   I have a small cpp file where I will create a parser object as   DOMParser    parser  = new DOMParser(); ,,     and call   delete parser after that in the same block.   I created this in a VC++ Debug Mode. If I set the structure alignment option as /Zp8 ( default ), everythi

Entity resolution

2002-01-23 Thread Hamoudi Haddad