I have posted a bug report and a solution on this topic (Bug #27898) at the
24th of march this year. Nobody of the xerces people commented it yet. :^(
HolgeR
Joanne Bogart schrieb:
Hi,
I noticed the same thing some time ago, but just assumed it was my
misunderstanding of how entity references we
Hi,
I am testing the xerces-c on the MontaVista Linux in a Power PC
platform.
I am able to compile the library by,
./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
However, I run into some R_PPC_REL24 relocation problems, when I try to
run any of the sample programs,
./DOMMemTest
I'm having some problems with Xerces on AIX.
I'm using AIX 5.2 and xlC 5. I downloaded Xerces 5.2.0 and built it from
source (no problems, built successfully) the other day. Now, when I try to
compile my code, I get the following errors:
xlC_r -c -qrtti=all -DNOPACK -g -I.
-I/home/wetaylor/
Hi,
I noticed the same thing some time ago, but just assumed it was my
misunderstanding of how entity references were supposed to work and
didn't consult the XML spec. Because of the directory structure in
which the different physical files composing my documents are stored, I
was able to come
Nice work. It makes sense now that you've explained it.
Pity we don't have a knowledge base to add this tidbit to. (I don't think it
qualifies as a frequently asked question, since I don't think it has come up
before.)
From: T A [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 1:59 PM
After more investigation, I finally got it using only DOM2 methods. Here is the trick, and it is kind of subtle, at least to me anyway, when using
virtual DOMAttr * createAttributeNS (const XMLCh *namespaceURI, const XMLCh *qualifiedName)
or
virtual void setAttributeNS (const XMLCh *namesp
> Why do all that? If XMLCh is not a typedef for wchar_t
> on your platform just cast the string to wchar_t*. Or am
> I missing some subtlety?
On some platforms wchar_t is a 32-bit integral, while on others it's a
16-bit integral, and there are very few platforms where wchar_t contains
Unicode cod
Note that Adam's approach works by avoiding Xerces'
namespace processing. He appears to be mixing DOM 1 non-namespace aware calls
with DOM 2 namespace-aware calls, which is documented as potentially dangerous.
You may get away with it if you know enough about Xerces internals (and
they don't
I took a look at W3C (http://www.w3.org/TR/2004/REC-xml-names11-20040204/)
and it looks to me like a urn: declaration should be valid for a
namespace.
Adam Heinz Senior
Software Developer Exstream Software
-Original Message-From: T A
[mailto:[EMAIL PROTECTED]Sent: Friday, June
> Xerces has a version of XMLString::transcode that goes from XMLCh* to
> const
> char* and another one that goes from const char* to XMLCh*.
> Also, on Windows, XMLCh* can be treated like a wchar_t*, as they are the
> same UTF-16 data.
>
> Alberto
Didn`t know that XMLCh* is treated as wchar_t*
Why do all that? If XMLCh is not a typedef for wchar_t on your platform just
cast the string to wchar_t*. Or am I missing some subtlety?
>-Original Message-
>From: Andre Stock [mailto:[EMAIL PROTECTED]
>Sent: 21 June 2004 10:50
>To: [EMAIL PROTECTED]
>Subject: Re: How to transcode an uni
At 11.49 21/06/2004 +0200, Andre Stock wrote:
Do i have to use icu or is there any function to call transforming an
wchar_t array to local codepage and vice versa?
I thought to transcode the unicode stream to local codepage, call the parser
with this local stream and then transcode for example the
Do i have to use icu or is there any function to call transforming an
wchar_t array to local codepage and vice versa?
I thought to transcode the unicode stream to local codepage, call the parser
with this local stream and then transcode for example the found elementname
back into a wchar_t* in the
Is it possible to change the typedef of XMLCh* to wchar_t*,so that i can
parse the unicode stream? If this is possible, where can i find the typedef
of XMLCh*?
> Hi,
> need to parse a unicode stream (i`m receiving wchar_t*)and print the
> elementnames and corresponding values in unicode again! Whe
Hi,
need to parse a unicode stream (i`m receiving wchar_t*)and print the
elementnames and corresponding values in unicode again! When i call
XMLString::transcode the result is transcoded into the local codepage. Is
there any other method to call or another way to achieve what i want?
Thanks in adva
15 matches
Mail list logo