No, it is guaranteed by the language that the deletion of a zeroed pointer
will be legal.
--
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com
"Why put off until tomorrow what you can
put off until the day after tom
Hello,
I've been getting some crashes in the library (1.4.0, Solaris 8)
in the ReadeMgr::reset call. By looking at the code (addmittedly
not very thouroughly), I think there is a chance that this
method is called twice in a row (from XMLScan, when certain exceptions
happen). However, there is
> Basically, they all start with code like:
>
> // Check if sky is on fire and output appropriate message
> // Check if earth is on fire
> // Check if house is on fire
> // Check if computer is on file
> // Proceed as if there are landmines everywhere
> //
>
Which is
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1448
*** shadow/1448 Fri Apr 20 17:00:31 2001
--- shadow/1448.tmp.11488 Fri Apr 20 17:00:31 2001
***
*** 0
--- 1,22
+ ++
+ | Xerces-C crashes w
If you are not making a call to DOM_Document::importNode() before adding
adding a DOM_Node from another DOM_Document, then thats not correct. Using
importNode() should solve your problem... as far as I know, this is not a
bug.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAI
If it is big or too complicated to put into one message,
then put it on a web site somewhere and post a URL here.
It is very hard to know what you are proposing from
your description. Maybe it is a reaction to the
extremely verbose samples that come with Xerces-C,
the code can be greatly simplif
(Still can't figure out what Bugzilla wants as my password...)
Normal DOM operation. See http://www.w3.org/DOM/faq.html#ownerdoc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Post your ideas here, and the relevant parts of the code if they aren't too
big, or an outline or pseudo code of what it does, etc... It will be
discussed and taken if considered a fit.
--
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1446
*** shadow/1446 Fri Apr 20 15:05:11 2001
--- shadow/1446.tmp.11343 Fri Apr 20 15:05:11 2001
***
*** 0
--- 1,27
+ ++
+ | Problems with repl
Hi,
I have some code available that will significantly reduce the amount of work
someone has to do to read in an XML file. Please let me know the modus operandi
for contributing code. Thanks!
Karun
-
To unsubscribe, e-mail:
I'd looking to support XML on all of our platforms at Credit Suisse First
Boston and was wondering if a formal OS/390 installation is available?
Thanks, Mark Blair
Mark Blair
> CREDIT | FIRST
> SUISSE | BOSTON
> In New York: (212)325-1239
In California: (619)437-4601
This message is for the n
If anyone can point me in the right direction, it
would be greatly appreciated.
I am re-building my XML parsing application
using the gcc complier (I was using the Sun Workshop). During linking, I
am getting Undefined symbol errors: _ex_rethrow, _ex_throw
etc.
I am missing a link o
If anyone can point me in the right direction, it
would be greatly appreciated.
I am on Solaris 2.6..
I am re-building my XML parsing application
using the gcc complier (I was using the Sun Workshop). During linking, I
am getting Undefined symbol errors: _ex_rethrow, _ex_throw
etc.
I compiled the xerces-c version 1_1_4 on IRIX in a Onyx2 . When I use
the DOM parser in my project, the compiler give me multiple time the
same REMARK.
CC: REMARK File = .../DOM_Attr.hpp, line 121
The destructor for base class "DOM_Node" is not virtual.
Thanks
-
I've been laying the groundwork for taking a shot at completing
Andy Heninger's "new" DOM for Xerces-C++ and supporting
DOM 2 events. Since there has been
a lot of discussion about the DOM recently, I thought that I would
let you know my intentions and current thoughts. I need this for
my own in
I don't see it as a programming error at all. In my opinion, a .DLL should
be a "black box" for all intents and purposes. The memory that the .DLL
allocates, it should be able to free, and you should call a .DLL provided
function to free that memory. After all, who's to say that the allocation
Admittedly, I'm the one who suggested modifying the documentation.
But I can't imagine an approach which would require less effort. No
coding. No debugging. No maintenance. No legacy code problems.
Just cut and paste from the FAQ, which evidently is not being read, to
the transcode() method.
I kind of answered this in a long post I just made so see that one. But
basically, the deal is that yes, you can possibly have multiple versions of
the runtime installed. And, as long as everyone knows exactly what they are
doing, you can make it work. But, from our perspective, if we are trying t
Use /MDd when you are building against our debug libraries, or against your
own Xerces version built with the same options. use /MD when building
against our production libraries, or against your own Xerces version built
with the same options.
I.e. use the same runtime option in both places, that
There've been extensive discussions about this. I think the consensus is
that it doesn't make sense to add code to work around (and hide) a
programming error (however common) that surfaces on one of the many
supported platforms.
On the other hand, I'm not sure it makes any more sense for the long
I submitted several months ago a small series of patches
(http://marc.theaimsgroup.com/?l=xerces-c-dev&m=97996829301593&w=2)
, that would have provided a clean way to deallocate the memory that would
not have been affected by differing RTL's and would allow you to
do transcoding to the stack if y
Title: Deleting char* returned from DOMString.transcode() in VC++ 6.0
The DLL that is at issue here is the runtime,
because of the fact that it provides the heap management code. If everyone
doesn't share the same runtime, then they will be allocating from different
heaps. If they never pass
It seems as though the cleaner way to solve this problem is to provide a
function from within the .DLL which de-allocates the memory allocated by the
.DLL. This gets rid of compiler run-time errors such as threading,
debugging, statically dynamically built libraries, etc.
My own personal rule
Yes. I'm trying to understand something that has come up in the past. Dean
has suggested that people should look at the list of DLLs brought in by
their program to see if the wrong runtime is getting brought in. (I just did
the same thing, but I'm trying to figure out whether that was helpful in
t
At 07:31 AM 4/20/2001, you wrote:
>This raises a question for me. The runtime DLL issue has never come up for
>me, because we link statically. I just ran Depends.exe against our
>program, and discovered that ws2_32.dll brings in msvcrt.dll. As far as
>I'm aware, Xerces needs Winsock (at least i
For anyone who uses cl.exe (MSVC command line compiler) from the command
line (like those of us who build on multiple platforms so we use a make
system), you should use the /MDd option. This:
"Defines _DEBUG, _MT, and _DLL so that debug multithread- and DLL-specific
versions of the run-time rout
The changes are now in CVS. I have not changed the XMLCh
to the intrinsic wchar_t. I have kept it as unsigned int,
as the parser always assumes that it is UTF-16.
Regards,
Khaled Noaman
[EMAIL PROTECTED] wrote:
Tinny, Dean, etc.,
I didn't get any feedback to my questions below, so I will proceed
Quick reminder: Another solution would be to generate an XPath expression
pointing to the node you're talking about, and then use an XPath engine
such as the one in Xalan to evaluate it when you need to find that node
again. This also has the advantage of being much more self-descriptive than
a r
> So I get all the parameters from the form of the user and want to
>store them in an XML. How can I achieve this ?
"Store them in an XML" -- do you mean updating an existing XML file, or
writing a new one?
If you want to update an existing flat XML file, you have to read the file,
find the pla
In case you are not subscribed to [EMAIL PROTECTED], someone
proposed to move the XML standards-based files and common tools (e.g.
DOM in xml-xerces/c/src/dom, SAX in xml-xerces/c/src/sax ..) to a common
apache project - AXDK (Apache XML Development Kit, xml-commons/c).
Please discuss your idea in
Title: Deleting char* returned from DOMString.transcode() in VC++ 6.0
You appear to
be doing The Right Thing, but if you're using other libraries, it's possible
that one of them is bringing in the wrong runtime. Try using Depends.exe (http://www.dependencywalker.com/) to
inspect the list of D
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1327
*** shadow/1327 Wed Apr 18 07:06:55 2001
--- shadow/1327.tmp.6986Fri Apr 20 05:31:19 2001
***
*** 2,8
| DOMParser crashes if XML source has damaged structure. |
+---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1153
*** shadow/1153 Thu Mar 29 13:25:17 2001
--- shadow/1153.tmp.6977Fri Apr 20 05:30:35 2001
***
*** 2,8
| tar checksum erro when extracting files|
+---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1122
*** shadow/1122 Mon Mar 26 14:01:19 2001
--- shadow/1122.tmp.6970Fri Apr 20 05:30:18 2001
***
*** 2,8
| cannot unpack the tar ball |
+---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1050
*** shadow/1050 Tue Mar 20 12:10:00 2001
--- shadow/1050.tmp.6962Fri Apr 20 05:29:52 2001
***
*** 2,8
| gzip file corrupted|
+---
The fix for question 2 should now in nightly build,
http://xml.apache.org/dist/xerces-c/nightly/2001-04-20/, please verify.
Tinny
Tinny Ng wrote:
> Alexey,
>
> For question 1):
>
> If a DTD is specified, the parser will always scan it even if the
> validation is off, because DTDs can provide m
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1427
*** shadow/1427 Fri Apr 20 04:33:16 2001
--- shadow/1427.tmp.6823Fri Apr 20 04:33:16 2001
***
*** 0
--- 1,33
+ ++
+ | AttributeList.getV
Hi All,
Related to storing DATA IN XML file if anyone worked in SERVLETS & HTML
I have read a lot about XML & have explored the DOM & SAX.
Now I have a simple html form with firstname,lastname & phone has textfields
for the user to enter. Now has soon as the user submits the servlets doPost
is c
38 matches
Mail list logo