We are porting a Java application based on XercesJ to a C++ one using
XercesC. I guess some people on this list have done that. Could you share
some experience with me? I'm most interested in some pitfalls I might run
into.
After I went through the XercesC doc, mailing list and some sample code,
u can do like this
Cheers
VInod
-Original Message-
From: Julia Larson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 7:22 AM
To: '[EMAIL PROTECTED]'
Subject: RE: DTD and DomParser
Right, of course. But the original question was how to tell the
parser where to find the dt
Hi Julia,
I posted this before I saw your code example in which you were using a
MemBufInputSource.
All you would need to do as append an XMLDecl and a Doctype with the
SYSTEM id set to the local file to the data in the buffer and the
parser/entityResolver will do it all for you.
I did appreci
see the DOMParser::setEntityResolver documentation.
-Original Message-
From: Julia Larson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 9:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: DTD and DomParser
Right, of course. But the original question was how to tell the
parser w
Right, of course. But the original question was how to tell the
parser where to find the dtd. In particular, I did not want to
specify a URL, but use a local file.
Cheers,
-Julie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 5
> Anyone knows what exception is thrown when I lie about the encoding
PinnochioException.
You shouldn't lie to your software!
Mike
--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com
[EMAIL PROTECTED]
Tilting at Windmills for a Better
Hi!
Anyone knows what exception is thrown when I lie about the encoding,
i.e. when I have this
in an UTF-8 file?
Ciao, Jürgen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi there,
I'd like to use Xerces for C++ in an ongoing project
which uses XML and schemas. Unfourtunately the
schema, which is defined/standardized by 3GPP,
contains an "xsd:all" group element. In 1.5.1 Xerces
complains about this "xsd:all".
Do you know how to solve this problem?
Might be inter
"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? local directory?
> Does it need a fully qualified path?
You don't. The XML file you are parsing sp
Nevermind, I found out how to do it, I think:
static const char* szMemBufId = "request";
MemBufInputSource* memBufIS = new MemBufInputSource(
(const XMLByte*)szRequest.c_str(),
_tcslen(szRequest.c_str()), szMemBufId, false );
Hi John,
Why not have a class that responsible for maintaining the DOM list and
have everything else make calls into it. That way you also hide all of
the xerces specific code in case you later need to swap out with another
parser. Also, if you want to thread your code, you'll need to protect
t
Hi,
I'm not sure what the best way to accomplish this task is. I would like to
create my own node list by collecting nodes from various DOM API's. Then
I'd like to use those nodes by passing the list around to different
functions in my code.
I know the following will not work:
DOM_No
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
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3347
I am writing an ISAPI server xtension which parses XML...
I have a custom made function for outputing data through the socket. This
function works exactly as printf.
myFunction("Message: %s", StrX(exception.getMessage());
This seems to be hagning the server extension. Is it possible to convert
Christoffer,
Thanks for the error message.
>Is there a reason why inline is not specified in the class XXX ?
>It seems that it would be more safe to just always put "inline" into the
>class declaration instead of reordering the functions.
Yes, I agree with you, adding the "inline"
Hi Peiyong,
Is there a reason why inline is not specified in the class XXX ?
It seems that it would be more safe to just always put "inline" into the
class
declaration instead of reordering the functions.
/Christoffer
Compiler output for the failing files:
xlC_r -qnotempinc -D_THREAD_SAFE -c
Christoffer,
Great!
But for the sake of consistency, we may go with
the re-order-caller-callee solution, could you send us the
error message (before you add 'inline' into the class construct)
on the following files? thanks.
"/home/kfat/nightly/include/util/XMLUri.hpp"
"/home/kfat/nightly
Hi,
It works if the inline declaration is made inside the class XXX {...}
construct.
We have successfully compiled all the source.
/Christoffer
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 28. august 2001 23:12
> To: [EMAIL PROTECTED]
> Subject: Re:
Christopher,
Would you mind sending us your version of the files?
thanks.
/src/runConfigure
/src/util/Platforms/IRIX/IRIXPlatformUtils.cpp
Regards,
Peiyong Zhang
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTE
Don,
Your latest change is in CVS now.
Regards,
Peiyong Zhang
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTED]
Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088
Don Mastrovito <[EMAIL PROTECTED]> on 08/29/2001
07:
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3328
I believe bug reports #2728 and 769 submitted by [EMAIL PROTECTED]
today might be fixed by using the latest copy of
src\util\Compilers\BorlandCDefs.hpp from the CVS repository. It recognizes
the different compiler versions and defines XMLCh appropriately. Note that
the BCB4 project files hav
Peiyong,
Everything checks out OK except a reference was added to
AnySimpleTypeDatatypeValidator since I last submitted the updates. The
attached zip file contains the one line additions to the project and make
files, along with the CVS difs.
Thanks again,
Don
At 04:45 PM 8/28/2001 -0400, y
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3335
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=769
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2728
While digging into another issue, I noticed that the library code apparently
relies on the new operator throwing an exception in case of failure.
A simple example of this can be found in
src/util/Transcoders/Win32/Win32TransService.cpp on or about line 881 of the
1.5.1 release.
A more serious exa
28 matches
Mail list logo