RE: STL List assignment error.

2001-10-04 Thread Julia Larson
Hi suresh,   Your function is const and you are trying to assign a value to a member variable in it. You can't do that in a const function, unless you make the member mutable, might as well make it a non-const function   -Julie   -Original Message-From: suresh [mailto:[EMAIL

RE: Specify DTD file to verify XML

2001-09-18 Thread Julia Larson
nymore I still don't know yet if the call to replicate is going to result in a memory leak or not. If anyone has a better suggestion of getting an stl::string into a XMLCh*, please let me know... -Julie -Original Message- From: Debienne Eric [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Se

RE: Stripping out whitespace

2001-08-30 Thread Julia Larson
D'OH I'm so sorry. I see the problem with my code! I'm asking for the children of the wrong element! :*0 *** Nevermind! *** argh! :I :I :I -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 2:40 PM To: [EMAIL PROTECTED] Cc: '[EMAIL

Recall: Stripping out whitespace

2001-08-30 Thread Julia Larson
Julia Larson would like to recall the message, "Stripping out whitespace". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Stripping out whitespace

2001-08-30 Thread Julia Larson
Okay, here is the code Thanks -Julie DOMParser parser; parser.setValidationScheme( DOMParser::Val_Auto ); parser.setDoNamespaces( false ); parser.setDoSchema( false ); parser.setDoValidation( true ); parser.setValidationSchemaFullChecking( false ); DOMTreeErrorReporter errReporter; parser.setEr

RE: Stripping out whitespace

2001-08-30 Thread Julia Larson
INGLE_QUOTE ) || ( noQuotes && testchar == DOUBLE_QUOTE ) ) ) { newString.erase( cnt-1, 1 ); } // cerr << "|" << newString << "|" << endl; return newString; } ===

RE: Stripping out whitespace

2001-08-30 Thread Julia Larson
: Thursday, August 30, 2001 1:56 PM To: '[EMAIL PROTECTED]' Subject: RE: Stripping out whitespace please send us the DTD. -Original Message----- From: Julia Larson [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:33 PM To: '[EMAIL PROTECTED]' Subject: RE: Stripping

RE: Stripping out whitespace

2001-08-30 Thread Julia Larson
An amendment to my last message: Actually, in the latter case The parser tells me it only has one child - the Domain "0" child. Why doesn't it recognize the second child? Please help Thank you -Julie -Original Message----- From: Julia Larson Sent: Thursday, August 3

Stripping out whitespace

2001-08-30 Thread Julia Larson
Hello all, Sorry if this has been brought up before, but is there a way to tell the parser to strip out or ignore extraneous tabs and spaces. The problem I'm having is parsing the following text: When this is parsed by Xerces, it tells me that there is one node NSAPI

RE: Static build on win32

2001-08-30 Thread Julia Larson
I had the same problem. I added a function to XMLString to deal with this. XMLString.hpp static void XMLString::deleteBuffer( char* ptr ); XMLString.cpp // JL void XMLString::deleteBuffer( char* ptr ) { delete [] ptr; } hth, -J -Original Message- From: Armistead, Pe

RE: DTD and DomParser

2001-08-29 Thread Julia Larson
5:02 PM To: [EMAIL PROTECTED] Subject: Re: DTD and DomParser "Julia Larson" <[EMAIL PROTECTED]> writes: > Please help a newbie who can't find it in the docs > > How do I specify a DTD to use with a DomParser instance? > > Where does it look for the dtd?

RE: DTD and DomParser

2001-08-29 Thread Julia Larson
cate( strPath.rawBuffer() ) ); Thanks for any comments, especially if there is a better way to use DOMString and get an XMLCh* out of it -Julie -Original Message- From: Julia Larson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 2:38 PM To: '[EMAIL PROTECTED]' Sub

DTD and DomParser

2001-08-29 Thread Julia Larson
Please help a newbie who can't find it in the docs How do I specify a DTD to use with a DomParser instance? Where does it look for the dtd? local directory? Does it need a fully qualified path? Help! Thank you - To unsubsc

XMLPlatformUtilities::Terminat

2001-08-23 Thread Julia Larson
What are the consequences of not running XMLPlatformUtilities::Terminate ever? I noticed that one of the Xerces example programs does not bother to do that. -Julie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Problems with XMLSTring::transcod() method - Running xerces 1_5_1 from within a COM wrapper.

2001-08-23 Thread Julia Larson
I'm rather a newbie. But I had a similar problem. I found that I could only really run XMLPlatformUtilsInitialize() once at executable startup and could only run the XMLPlatformUtils::Terminate() command once, e.g. in the dtor. Otherwise, it would throw exceptions when attempts were made to

RE: Linking with Xerces as a static library with VC++?

2001-08-21 Thread Julia Larson
from Use run-time library, select "MultiThreaded". Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088 Julia Larson <[EMAIL PROTECTED]>

RE: Linking with Xerces as a static library with VC++?

2001-08-20 Thread Julia Larson
BuildAll - 47 error(s), 3 warning(s) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 1:00 PM To: [EMAIL PROTECTED] Subject: Re: Linking with Xerces as a static library with VC++? Julia, You may build the XercesClib using "

Document root element is missing

2001-08-20 Thread Julia Larson
What does it mean to get this error: Here is the XML "\r\n\r\n\tMessage here\r\n" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Linking with Xerces as a static library with VC++?

2001-08-20 Thread Julia Larson
Hello, We have a huge product that uses all static libraries built with the "Multithreaded" run-time library option. Xerces uses the "Multithreaded DLL" which produces horrible link errors when I try to link with the library in release mode. What can I do about this? Please help Thanks -Juli