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
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
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
Julia Larson would like to recall the message, "Stripping out whitespace".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
INGLE_QUOTE ) ||
( noQuotes && testchar == DOUBLE_QUOTE ) ) ) {
newString.erase( cnt-1, 1 );
}
// cerr << "|" << newString << "|" << endl;
return newString;
}
===
: 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
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
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
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
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?
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
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
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
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
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]>
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 "
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]
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
19 matches
Mail list logo