http://www.w3.org/TR/REC-xml#charsets
Perhaps you could encode the data in BASE64?
-Original Message-
From: Ranjana Srivastava [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 7:36 AM
To: [EMAIL PROTECTED]
Subject: binary data in an XML file
I have a file that has some bin
Make sure your project is using the same runtime as the Xerces DLL. If you
are using a release build of the DLL, then your project's _release_ build
should be set to Multithreaded DLL (Project settings | C/C++ tab | "Code
Generation" category | "Use run-time library" setting); the project's
_debu
Title: RE: parsing an empty xml file
I get
the following when I try to parse a 0 byte file using SAXPrint and SAXCount,
Xerces 1.4, on NT4.0.
C:\Temp>saxprint c:\temp\empty.xml
Fatal
Error at file c:\temp\empty.xml, line 1, char 1 Message: The main XML
document cannot be empty
-O
Check the FAQ. You are mixing runtimes.
-Original Message-
From: nacho [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 11:53 AM
To: XERCES C list
Subject: problem with DOMString::transcode
Hi,
I'm having a problem while using this method in a little
example I wrote in MSVC.
Aren't the calls to XMLPlatformUtils::Initialize() and
XMLPlatformUtils::Terminate() reference counted? So it would be more
accurate to say something like [and this is horribly rough] "one should not
call XMLPlatformUtils::Initialize() after calling
XMLPlatformUtils::Terminate() the same number o
Try progressive parsing. Check out the PParse sample; also check out
SAXParser::parseFirst and SAXParser::parseNext.
-Original Message-
From: Feng Tian
To: [EMAIL PROTECTED]
Sent: 9/6/01 5:36 PM
Subject: Parse a huge file, piece by piece
Hi,
I got a question when use XML4C. I got a h
Sounds like you are calling XMLPlatformUtils::Initialize(), doing the
parsing, then XMLPlatformUtils::Terminate(), over and over again in the same
process.
Don't do that.
See http://xml.apache.org/xerces-c/faq-parse.html#faq-25
! --- Additional Comments From [EMAIL PROTECTED] 2001-09-01
16
Not sure about the best way to bring this up, but isn't the buffer returned
by transcode() allocated with new[]? If so, the proposal is flawed, since
it is using free() and not delete[]... If this type of "solution" is chosen
to be implemented, maybe it would be best to localize the solution a b
This is an interesting query, since it doesn't seem to be a concern of many
(any other?) people. This may seem strange, but would you care to elaborate
by explaining what your definition of a page fault is, and why you are
concerned about them? What tool are you using to measure paging operation
>>> Why is there bool operator== (const string& str_)const
>> Are you sure that there is? I thought that there was no use of
>> std::string in Xerces-C? In the DOMString class?
>Sorry, it should have said why _isn't_ there
Seems like this has been already addressed in responses to a prio
orts (if,
indeed, the desire is to satiate those who worry that their Favorite Tool
reports leaks...)?
-Original Message-
From: Ing. Hans Pesata [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 4:36 AM
To: Erik Schroeder
Subject: Xerces 1.5.1 with MFC
Hi !
sorry if I contact you d
Hi,
>>I also realized, that if I just remove XMLPlatformUtils::Terminate(),
there are a lot more memory-leaks:
Yes; Terminate was added to eliminate the reports of memory leaks by various
tools; my take on it is that it basically cleans up a bunch of static data
that is initialized / alloc'd and
I take it then, that if you remove the calls to
XMLPlatformUtils::Initialize() and XMLPlatformUtils::Terminate(), and you
don't load your extension DLL, the memory leaks aren't present?
Presumably, you downloaded the Xerces DLL - you didn't build it - so can you
verify that the runtime library
The .lib, in this case, is not a "standard" static library, but an import
library.
Import libraries contain information about exports in other programs (in
this case, the Xerces DLL). The Xerces DLL exports numerous classes that
your application imports... This is pretty typical of Windows DLLs.
Can you paste the _exact_ linker error?
"_declspec(dllimport) public: ..."
Doesn't say much.
×¿× Erik ©**
--
Thought for the day/week/month/year:*
PRO BOZO PUBLICO
(Support your local clown.)
-Original Message-
From: Barry Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
Is m_domParser a member variable of a _global_ object within the DLL?
Perhaps its constructor is called prior to XMLPlatformUtils::Initialize().
You are calling XMLPlatformUtils::Initialize(), right?
What happens if you change the member var to be DOMParser* m_domParser, and
then "new" the DOMPar
Throw an exception from within your document handler when it is time to
prematurely end the parse.
-Original Message-
From: Williamson, Siehnai
To: '[EMAIL PROTECTED]'
Sent: 7/11/01 3:45 PM
Subject: Stopping in the middle of a parse
Hi,
How do you prematurely end parsing, using the
Has XMLPlatformUtils::Initialize() been called prior to the construction of
the object?
-Original Message-
From: anand awasthi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 11:34 AM
To: [EMAIL PROTECTED]
Subject: access violation problem !!
Hi,
may be that this question is
Install an error handler, much like you installed a document handler.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 12:27 PM
To: [EMAIL PROTECTED]
Subject: RE: DOMParser does not report errors for XML that are not well-fo
rmed
Peter,
Erik,
This may be a strange request, and I'm sorry to bother you, but for some
reason I have had difficulty getting through to the Xerces list as of late.
If this fails to make it to the list, would you mind posting it for me?
Thanks,
Erik
-
Perhaps
This may be a dumb question, but...
You say you "set both documents to NULL and create new ones for each
"transaction"". Do you "delete" the documents prior to setting them to
NULL?
-Original Message-
From: Uthus Ivan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 1:52 AM
To:
21 matches
Mail list logo