Re: Xerces 1.6 & BCB

2001-12-04 Thread Tinny Ng
Don, Your patch is in. Thanks! For the BCB binaries, instead of using the nightly build, I would prefer you use the stable build after the Xerces-C++ 1.6 is announced and made official Thursday. Thanks! Tinny Don Mastrovito wrote: > Oops! The zip file I just posted was missing a file. Use

Re: Xerces 1.6 & BCB

2001-12-04 Thread Don Mastrovito
Oops! The zip file I just posted was missing a file. Use the attached updated zip. don At 02:33 PM 12/4/2001 -0500, you wrote: >Tinny, > >The attached zip file contains an updated BCB5 project and make file for >the version 1.6. I used the zipped sources from xerces-c-src_2001-12-04, >as t

DO NOT REPLY [Bug 2454] - Got the Access violation exception when called getFormattedContentModel()

2001-12-04 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

Xerces 1.6 & BCB

2001-12-04 Thread Don Mastrovito
Tinny, The attached zip file contains an updated BCB5 project and make file for the version 1.6. I used the zipped sources from xerces-c-src_2001-12-04, as the CVS tree has not been updated yet. Do you want the binaries now or after the you update the source tree? don BCBProject.zip Des

Re: Small patch to 1.5.2

2001-12-04 Thread Tinny Ng
Edward, But the runConfigure has something like this: # Get the command line parameters if test -x /usr/bin/getopt; then set -- `getopt p:c:x:dm:n:t:r:l:z:h $*` else set -- `getopts p:c:x:dm:n:t:r:l:z:h `$*`` fi if [ $? != 0 ] then usage exit ${ERROR_EXIT_CODE}

RE: Use of Transcode...

2001-12-04 Thread Samar Lotia
IMHO, in the best scenario, you should pass in the buffer yourself. This way you can optimzie whether the buffer is allocated on the stack or the heap. Also, you can control how you release the memory for the buffer, i.e. what particular allocator you are using etc. On the other hand, the method

Re: Finding namespaces in DOM

2001-12-04 Thread Richard Jinks
Thanks for your help, Richard - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 3:33 PM Subject: Re: Finding namespaces in DOM > > There's nothing experimental about DOM_Node::getNamespaceURI() since it's > part of DOM2 core. The

Re: Plan for Xerces-C++ 1.6 / sane_include patch

2001-12-04 Thread Murray Cumming
On Tue, 2001-12-04 at 18:31, Murray Cumming wrote: > On Tue, 2001-12-04 at 18:06, Tinny Ng wrote: > > I've reviewed Murray's patch for sane_include, it looks ok. But since the patch is > > only for UNIX platforms, I think I need more time to integrate the changes to > > Windows/OS2/BCB/MacOS proj

Re: Plan for Xerces-C++ 1.6 / sane_include patch

2001-12-04 Thread Murray Cumming
On Tue, 2001-12-04 at 18:06, Tinny Ng wrote: > I've reviewed Murray's patch for sane_include, it looks ok. But since the patch is > only for UNIX platforms, I think I need more time to integrate the changes to > Windows/OS2/BCB/MacOS project files, and update the documentation as well. I agree.

Re: Plan for Xerces-C++ 1.6 / sane_include patch

2001-12-04 Thread Tinny Ng
I've reviewed Murray's patch for sane_include, it looks ok. But since the patch is only for UNIX platforms, I think I need more time to integrate the changes to Windows/OS2/BCB/MacOS project files, and update the documentation as well. I agreed with Jason that we shouldn't stop the users from ge

Use of Transcode...

2001-12-04 Thread jalal
Hi All I notice that XMLString::Transcode(...) creates a buffer that the user must free up. Or the user can pass a buffer for the transcoder to use. Which is the better way of doing Transcoding? i.e.[pseudo code] char* res = XMLString::transcode( mystring ); // do something delete [] char; or

tests for FreeBSD

2001-12-04 Thread Sergey Matveychuk
Hi! What about to add a target for FreeBSD in tests/{runConfigure,configure.in, Makefile.incl}? Sem. --- Sergey Matveychuk | System Administrator E-Mail: [EMAIL PROTECTED] | Institute Of Aviation Motors Tel: +7

How TO Insert Elements in between XML String !!!!

2001-12-04 Thread Bharatbhushan_Shetty
Hi, I am new to XML and need some help on the same. I am reading an XML file and and parsing it using a DOM parser. Now I need to insert some elements in between. Could someone tell me how I am supposed to do this... ( a bit of code fragment will do...) Input file -

C Linkage errors with templates

2001-12-04 Thread Altenau, Maureen D CECOM RDEC C2D
I am getting errors when I compile my application code and I include .hpp files that define templates. These files are found in the util directory such as ValueArrayOf.hpp, ValueStackOf.hpp and ValueVectorOf.hpp. The error I get is "Template with C Linkage". It was explained to me that if the c

Re: Finding namespaces in DOM

2001-12-04 Thread Cyberthymia
That looks like it will do the job, thanks. (Not sure how I missed it - it's in the DOM 2 core spec as well - oops...) The documentation says that this method is "Experimental - subject to change". Is this anything to worry about (i.e. is it really likely to be dropped in a later version)? What c

RE: XERCES EXCEPTION HELP

2001-12-04 Thread suresh
Thanks a million erik.I struggled for two days without knowing this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Finding namespaces in DOM

2001-12-04 Thread Erik Rydgren
DOM_Node::getNamespaceURI() should do the trick for you. Regards Erik Rydgren Mandarinen systems AB Sweden -Original Message- From: Richard Jinks [mailto:[EMAIL PROTECTED]] Sent: den 4 december 2001 11:46 To: [EMAIL PROTECTED] Subject: Finding namespaces in DOM I'm currently using the

RE: Incremental /progressive parsing

2001-12-04 Thread Erik Rydgren
Here is an idea for you. Setup the parser in a separate worker thread (WT). Set WT to parse a document from your own implemented input stream. In the YourInputStream::ReadBytes method let WT wait for data from the main thread. The setup will then simulate a progressive parse. Each time the main t

Finding namespaces in DOM

2001-12-04 Thread Richard Jinks
I'm currently using the DOM parser in Xerces-C 1.5.2 (W2000, VC6, SP5) Is there any way to identify all namespaces used in a DOM tree? I've had a look through both DOM 2 Core spec, and the Xerces-C API, but can't find anything useful. I've found methods that allow you to find nodes with a given n

Incremental /progressive parsing

2001-12-04 Thread Coursimault, Jean-marc
Hello, My application can only provide a buffer at a time to Xerces, not a whole file neither a buffer containing the whole document. How can I feed Xerces that way (as in expat, XML_parse() does ?) ==>expat : ==>XML_Parse(XML_Parser p,const char *s,int len, int isFinal) ==>Parse some more of th

RE: XERCES EXCEPTION HELP

2001-12-04 Thread Erik Rydgren
It looks like that you call XMLPlatformUtils::Initialize() and XMLPlatformUtils::Terminate() several times (in XMLParser::parse). Once you have called Terminate you can't Initialize again. I'm not sure but it might be fixed in the newest version. Check it out or just do not call terminate until it

RE: XERCES EXCEPTION HELP

2001-12-04 Thread suresh
hi all, I have a JNI application running on PIII win2000.The java application loads a runtime vc dll that parses the content. i pick up the a message from the queue and call dispatcher(java) which loads the parser dll and returns back info. this all happens fine for the first time but o