Hi Alexander,
At 12.37 22/07/2004 +0200, Alexander Broekhuis wrote:
Hi,
I wrote an ErrorHandler, and get an error on line 2 char 1. The string I
use is a wstring:
wstring record = L"\n";
record += L"\n";
record += L"\n";
record += L"\n";
When I want to parse it I create a Me
Hi,
I wrote an ErrorHandler, and get an error on line 2 char 1. The string I
use is a wstring:
wstring record = L"\n";
record += L"\n";
record += L"\n";
record += L"\n";
When I want to parse it I create a MemBufInputSrc. The fSrcBytes contain
the complete string. Why can'
throw SAX, XML and DOM exceptions.
Adam Heinz
Senior Software Developer
Exstream Software
-Original Message-
From: Alexander Broekhuis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 4:15 AM
To: [EMAIL PROTECTED]
Subject: RE: LPTSTR to DOMDocument
What I meant is, if the
(), szFilename, szMessage);
> }
> catch (...) {
> m_pLog->Write(ERR_IMPORT_UNKNOWN);
> }
>
> Adam Heinz
> Senior Software Developer
> Exstream Software
>
> -Original Message-
> From: Alexander Broekhuis [mailto:[EMAIL PROTECTED
ly 20, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: LPTSTR to DOMDocument
Is that error a DOMException? I allready catch DOM/SAX and XML
exception. Do I need a DOMErrorHandler to be able to catch a
DOMException? I will write a DOMErrorHandler, was planning to do, but
came across thi
ailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: RE: LPTSTR to DOMDocument
>
>
> Hi Adam and Alberto,
>
> You are right concerning that first char. But why does my program throw an
> exception when it wants to parse th
b, and check "Display Unicode strings". Then cast
> your narrow XMLByte* to an XMLCh* and take a look.
>
> Adam Heinz
> Senior Software Developer
> Exstream Software
>
> -Original Message-
> From: Alexander Broekhuis [mailto:[EMAIL PROTECTED]
> Sent
ent: Tuesday, July 20, 2004 10:44 AM
To: [EMAIL PROTECTED]
Subject: RE: LPTSTR to DOMDocument
Hi Adam and Alberto,
You are right concerning that first char. But why does my program throw an
exception when it wants to parse the xml?
If i catch the exception with VS it says this:
First-chance exception
EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 10:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: LPTSTR to DOMDocument
>
> This is an other problem then that i have, thx for the hint btw :), I
> changed that piece of code.
>
;. Then cast your narrow XMLByte* to an XMLCh* and take a look.
Adam Heinz
Senior Software Developer
Exstream Software
-Original Message-
From: Alexander Broekhuis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 10:02 AM
To: [EMAIL PROTECTED]
Subject: Re: LPTSTR to DOMDocument
Thi
At 16.02 20/07/2004 +0200, Alexander Broekhuis wrote:
Hi,
>>At the moment I am trying to use this:
>>
>>MemBufInputSource *memBufIS = new MemBufInputSource((const XMLByte*)xml,
>>wcslen(xml), "xmlRecord", false); // In this lin
Hi,
>>At the moment I am trying to use this:
>>
>>MemBufInputSource *memBufIS = new MemBufInputSource((const XMLByte*)xml,
>>wcslen(xml), "xmlRecord", false); // In this line xml is the LPTSTR that
>>contains the xml.
>
> The
Hi Alexander,
At 15.24 20/07/2004 +0200, Alexander Broekhuis wrote:
Hi,
I have a LPTSTR and want to create a DOM Document from that string. I use
a LPTSTR for unicode chars.
At the moment I am trying to use this:
MemBufInputSo
13 matches
Mail list logo