Re: Parsing XML in the middle of a file text file...

2001-06-01 Thread Dean Roddey
You would have to write your own InputSource and BinInStream derivatives. Look at how LocalFileInputSource and BinFileInStream work together. If you write your own derivatives, you can control how the input gets fed to the parser. -- Dean Roddey The CIDLib C++ Frameworks C

Parsing XML in the middle of a file text file...

2001-06-01 Thread Amato, Matt
I have a problem in that I have to parse XML that is located in the middle of a text file. I am handed a file ptr who's current position is the beginning of the XML section. The parser will read in the data and parse it fine until it hits past the end of the XML and the starts to try an

RE: example of DOM parser instance pool

2001-06-01 Thread Awasthi, Anand
thanks a lot. I am sorry but that was pseudo code , just meant to show the pool. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: Re: example of DOM parser instance pool Did you even try to c

Re: example of DOM parser instance pool

2001-06-01 Thread David_N_Bertoni
Did you even try to compile this code? This is a Xerces-C mailing list, not a C++ language mailing list! Either: const size_t XMLparserpoolsize = 10; DOMParser arrayDOM[XMLparserpoolsize]; or: const size_t XMLparserpoolsize = 10; DOMParser* arrayDOM[XMLparserpoolsize];

example of DOM parser instance pool

2001-06-01 Thread Awasthi, Anand
hi, I want to create a pool of DOM Parser instances in my program and later use that pool for handling councurrent parsing requests. i wrote following lines : DOMParser arrayDOM[XMLparserpoolsize]; for (int idx=0;idx< XMLparserpoolsize ; idx++) { arrayD

xerces-c & redhat linux 7.1

2001-06-01 Thread harm de laat
Hi all, please forgive me if this is not the right mailing list for my question. I did a clean redhat linux 7.1 install. And I installed xerces-c. A have all set all my variables like this in .bashrc: PATH="$PATH:$HOME/xerces-c1_4_0-linux/bin" XERCESCROOT="$HOME/xerces-c1_4_0-linux" ICUROOT="/u

Re: add two methods, pls.

2001-06-01 Thread Joseph_Kesselman
Could you provide usecases for these (explain why you want them)? I'm having trouble thinking of cases where I'd want to expose the DOM before it is completely assembled; the potential for damage seems quite severe. - To unsubs

add two methods, pls.

2001-06-01 Thread Peter A. Volchek
DOMParser.hpp Please provide with two additional protected members: DOM_Node getCurrentParent(); void setCurrentParent(DOM_Node toSet); inline DOM_Node DOMParser::getCurrentParent() { return fCurrentParent; } inline void DOMParser::setCurrentParent(DOM_Node toSet) {

some more VC5 errors

2001-06-01 Thread Peter A. Volchek
F:\code\Xerces\src\ibmxml\xerces\src\util/RefHashTableOf.c(113) : error C2955: 'hash' : use of class template requires template argument list template RefHashTableOf::RefHashTableOf(const unsigned int modulus, const bool adoptElems, HashBase* hash) : fAdoptedElems(adoptElems), fBucketList(0),

Re: VC5 compiler errors

2001-06-01 Thread Peter A. Volchek
> >> Re: Error C1083 in IDNodeIteratorImpl.cpp, IDRangeImpl.cpp, > IDTreeWalkerImpl.cpp > > These 3 files are incomplete, and should be EXCLUDE from your file list. I am > trying very hard to finish them but not yet. So in the meantime, please exclude > them from your project file, don't even com

Re: VC5 compiler errors

2001-06-01 Thread Tinny Ng
Peter, >> Re: Error C1083 in IDNodeIteratorImpl.cpp, IDRangeImpl.cpp, IDTreeWalkerImpl.cpp These 3 files are incomplete, and should be EXCLUDE from your file list. I am trying very hard to finish them but not yet. So in the meantime, please exclude them from your project file, don't even compi

VC5 compiler errors

2001-06-01 Thread Peter A. Volchek
Here some errors that I got, when compiled xerces with VC5 compiler. F:\code\Xerces\src\ibmxml\xerces\src\util/regx/Op.hpp(324) : error C2561: 'getSize' : function must return a value F:\code\Xerces\src\ibmxml\xerces\src\util/regx/Op.hpp(329) : error C2561: 'getDa

RE: [xerces+borland C++]

2001-06-01 Thread Evert Haasdijk
As Kiuma says, you can'y use the MSVC DLL with borland. You can either build the xerces DLL with Borland. There's a BCB4 project (which you can use with BCB5 without hassle) at: http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/Projects/Win32/BCB4/ Regards, evert > -Original Message-