DO NOT REPLY [Bug 20921] - I cannot use Xerces.so within a third party software.

2003-07-30 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

SV:Linking error

2003-07-30 Thread Gröndal Daniel
Hi! I don't really know how to solve this, but perhaps you can try to link with the threads library (named something like libpthread.so) explicitely and see if anything changes? //daniel Suchit Batheja (2003-07-29 21:28): >Hi, > > I get this error & have no clue what I am doing wrong. I hav

DO NOT REPLY [Bug 22008] New: - DOMErrorImpl's destructor deletes a void pointer

2003-07-30 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

API for size of DOMDocment.

2003-07-30 Thread Mike Duong
Hi,   I am using XercesDOMParser class and parse the XML Doc successfully and I need to query the parser for the size of the XML Doc without traversing through the DOM tree.  Is there an API that does this?   Thanks!

RE: thread safe problem

2003-07-30 Thread Koifman Roman-BRK038
Hi Dave. I can not upgrade to new version. Does it mean I have to synchronize the all transcode calls in my handler ? Other solutions without external synchronizations ? Roma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 July, 2003 18:32 To:

Re: thread safe problem

2003-07-30 Thread david_n_bertoni
> Hi. > > I am using 1.7.0 in multithread environment. Each thread has it's > own SAXParser and according to xerces FAQ the SAXParser is thread > safe when no multithread accesses to one SAXParser instance. But > if I do not synchronize the call to parse method, the module cores. > See below th

Validation with another DTD than specified in XML file

2003-07-30 Thread Andreas B. Thun
> What header files are you including? Do you have #include > ? Thx David. This was the missing include... Unfortunately, parser->loadGrammar does not affect the parsing. It is still the DTD specified in the XML file validated // create parser and do some settings

thread safe problem

2003-07-30 Thread Koifman Roman-BRK038
Hi. I need help with some user problem. I am using 1.7.0 in multithread environment. Each thread has it's own SAXParser and according to xerces FAQ the SAXParser is thread safe when no multithread accesses to one SAXParser instance. But if I do not synchronize the call to parse method, the mo

Re: Warning when compiling using xlC3

2003-07-30 Thread Gareth Reakes
Hi, as far as I am aware the definition is out of line. Anyone throw any light on this? Gareth On Wed, 30 Jul 2003, Ilan Nehama wrote: > Hi > > I am using xerces 2.2. > When I compile using xlC3 I get the following warning: > BaseRefVector.hpp line 79.12 (W) A pure virtual destructor

Re: In Memory Schema

2003-07-30 Thread Gareth Reakes
Hi, you want to cache the grammar. Something like this DOMBuilder *parser = ((DOMImplementationLS*)impl)->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0); parser->loadGrammar("test.xsd" , XERCES_CPP_NAMESPACE_QUALIFIER Grammar::SchemaGrammarType ,true); parser->

Re: Validation with another DTD than specified in XML file

2003-07-30 Thread David Cargill
Hi, The proposed patch would not resolve a compiler error. What header files are you including? Do you have #include ? Regards, David A. Cargill

Warning when compiling using xlC3

2003-07-30 Thread Ilan Nehama
Hi I am using xerces 2.2. When I compile using xlC3 I get the following warning: BaseRefVector.hpp line 79.12 (W) A pure virtual destructor needs an out-of-line definition in order for its class to be base of another class. (I) The previous message applies to the definition of template "BaseRefVec

DO NOT REPLY [Bug 21990] New: - ICULCPTranscoder::transcode memory leak

2003-07-30 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

retrieve document from url

2003-07-30 Thread Ildefons Magrans
Hello,     Is there any class in the xerces 1.6 that could be used to access documents (binary files in general) just giving its URL?   Cheers, Ildefons

Re: AW: AW: AW: Validation with another DTD than specified in XMLfil e

2003-07-30 Thread Andreas B. Thun
parser->loadGrammar(myDTD, Grammar::DTDGrammarType, true); Still wasn´t able to compile: DOMParse.cpp:: error: incomplete type `xercesc_2_3::Grammar' does not have member `DTDGrammarType' - To unsubscribe, e-mail: [EMAIL PROTEC

Re: UTF8 problems ( TESTPROGRAM INSIDE )

2003-07-30 Thread Gareth Reakes
Hi, I have adjusted some of your code. Note I have not compiled it as I do not have AutoXMLCh etc. You want to avoid changing from XMLCh to string because you will lose information. string does not support unicode in any way. You will see that you now store XMLCh in your maps and when y

In Memory Schema

2003-07-30 Thread Matthew Berry
 Hi,   I would like to perform SAX2 validation with an in memory schema. How is this possible? At the moment I am manually setting the externalLocation to a file, but I don't want to allow user to see the .xsd file (so that he can't modify it)   Thanks Matt    

Re: UTF8 problems ( FORGOT THE CONF FILE - IT's IN HERE )

2003-07-30 Thread Damien Damien
Forgot a file in the zip archive Sorry Best regards Daniel From: Gareth Reakes <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject: Re: UTF8 problems Date: Tue, 29 Jul 2003 15:42:49 +0100 (BST) Hi, I don't know what SDL_ttf is but here goes

Re: UTF8 problems ( TESTPROGRAM INSIDE )

2003-07-30 Thread Damien Damien
I have included a testprogram with comments on what I want it to do... and what it doesn't do. If anyone has the time to look at it and help me out I would be happy. I'm new to both unicode and XML... So bear with me ;) Best regards Daniel From: Gareth Reakes <[EMAIL PROTECTED]> Reply-To: [EMA

Validation with another DTD than specified in XML file

2003-07-30 Thread Andreas B. Thun
If you have: XercesDOMParser* parser3 = new XercesDOMParser(); parser3->loadGrammar(filename, Grammar::DTDGrammarType, true); then you will get a seg fault, unless you use the patch for 21001. I have ...: // create parser and do some settings XercesDOMParser* parser = new XercesDO