Re: memory management

2001-04-11 Thread Miroslaw Dobrzanski-Neumann
On Wed, Apr 11, 2001 at 04:26:09PM -0400, Cem Karan wrote: > Anyone who wants to jump in and correct me, please do so. > > Xerces tries to use reference counting wherever possible to > automatically dispose of unused memory in much the same way that Java > does it. If you actually use new and de

RE: finding given node in copy of DOM_Document

2001-04-11 Thread Bovone Stefano
Hello everybody. I'm using Xerces on AIX and Visual Age 4.0; but I have problems compiling a program that uses STL library. The compiler gives errors during the compiling phase. Is this a known problem, or a my Visual Age problem ? Using Visual Age, Xerces and STL do I have to set features diffe

Re: [Fwd: RFC: XML::Xalan (was: Re: perl/xalan)] (fwd)

2001-04-11 Thread Jason E. Stewart
[EMAIL PROTECTED] writes: > At any rate, thanks again for doing these bindings. I believe the Xerces > bindings are kept in the Apache repository. I'm not sure what the > procedure is for including your bindings, but if you're interested, I can > find out how to go about doing that. It seems a

[Bug 1303] Changed - AttrImpl::setValue with null argument

2001-04-11 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1303 *** shadow/1303 Wed Apr 11 01:21:33 2001 --- shadow/1303.tmp.16723 Wed Apr 11 17:13:57 2001 *** *** 2,11 | AttrImpl::setValue with null argument| +--

Re: finding given node in copy of DOM_Document

2001-04-11 Thread Joseph_Kesselman
>I have a Dom_Document and I have a node. I create a new document with >the copy constructor. >From a purist's point of view, you should instead be using the DOM's cloneNode operation on the document, which will port more easily to other DOM implementations. >Is there any easy way to find the s

Re: finding given node in copy of DOM_Document

2001-04-11 Thread David_N_Bertoni
I'm not sure I understand your question. There is no "copy" constructor for the document, just the smart pointer to the document. For example: void foo( DOM_DocumenttheDoc, DOM_Node theChildNode) { /* * theLocalDoc and theDoc are smart pointers to the s

finding given node in copy of DOM_Document

2001-04-11 Thread Charlie Hart
I have a Dom_Document and I have a node. I create a new document with the copy constructor. Is there any easy way to find the same node in the new document? thanks...charlie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: memory management

2001-04-11 Thread Cem Karan
Anyone who wants to jump in and correct me, please do so. Xerces tries to use reference counting wherever possible to automatically dispose of unused memory in much the same way that Java does it. If you actually use new and delete, then the built-in garbage collection won't work because the ref

RE: How to change the HTTP user agent name of Xerces?

2001-04-11 Thread Dean Roddey
If the native transcoding services have enough encodings to do what you want, then you are fine just using Xerces with that native transcoder. However, be aware that what is available might change from workstation to workstation, and so you might have to require that users install any encodings th

RE: DOMPrint produces invalid xml.

2001-04-11 Thread Dean Roddey
Its probably just a simple bug in DOMPrint most likely. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Jiwoon Jeon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 8:38 AM To: [EMAIL PROTECTED] Subject: DOMPrint p

Re: memory management

2001-04-11 Thread Joseph_Kesselman
>Why can't I 'new' dom objects? Is this wrong practise >unconditionally, or I only must be very careful? Wrong practice pretty much unconditionally, unless you're a parser or otherwise need to access things in ways that the DOM APIs explicitly forbid for normal applications. The factory methods

memory management

2001-04-11 Thread Konstantin Kivi
From the xerces docs: >Key points to remember when using the C++ DOM classes: > Create them as local variables, or as member > variables of some other class. Never "new" a > DOM object into the heap or make an ordinary C > pointer variable to one, as this will greatly > confuse th

Re: [Fwd: RFC: XML::Xalan (was: Re: perl/xalan)] (fwd)

2001-04-11 Thread David_N_Bertoni
> "Jason E. Stewart" wrote: > > > > Hey Ed, > > > > I'm really glad to see someone making Perl bindings to Xalan, Thanks! > > > > I would definately use the XML::Xalan namespace, there was already > > some discussion about what namespace to use for XML::Xerces (in the > > xerces-p-dev list if you

Re: Newbie question

2001-04-11 Thread Tinny Ng
I think the documentation is out of date. The samples have been modified to use XMLFormatter for better transcoding support. Please refer to SAXPrintHandlers for latest sample code. You may want to open a Bugzilla bug to report this out-of-date documentation error. Tinny Rick Dearman wrote:

Re: How to search throw the list

2001-04-11 Thread Tinny Ng
Is this the Apache official mail archive? May be we should update the "mail archive" link from the Apache Xerces-C web page then. Tinny [EMAIL PROTECTED] wrote: > This mailing list is currently being archived at > http://marc.theaimsgroup.com/?l=xalan-dev&r=1&w=2 > There is a search f

Newbie question

2001-04-11 Thread Rick Dearman
Sorry if this is not the correct place to ask this question, however it appeared to be the only xerces-c mailing list. Basicly I have used the example given in the documention to create a program for parsing XML. When I get to the following portion of the code: MySAXHandler::startElement(cons

Re: DOMPrint produces invalid xml.

2001-04-11 Thread Tinny Ng
Jiwoon Jeon wrote: > The following XML shows the problem. > [snip] > > I found that the default #FIXED value at line 4 was missing. > What's wrong with me or DOMPrint? > I think you found a bug. I have checked in the fix which should be available in tomorrow nightly build. Regards, Tinny Ng

Re: How to search throw the list

2001-04-11 Thread Joseph_Kesselman
This mailing list is currently being archived at http://marc.theaimsgroup.com/?l=xalan-dev&r=1&w=2 There is a search function; I haven't tried using it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: DOM serialization

2001-04-11 Thread Evert Haasdijk
Yakov, I've modified the DOMPrint example to provide a class DOMSerializer. Included are the source and header for that class for you (and anyone else) to use. Hope this helps you. Ta, Evert DOMSerializer.cpp DOMSerializer.hpp -

Re: How to search throw the list

2001-04-11 Thread Vikas Jolly\(Yahoo\)
Thanks Peter bye vikas - Original Message - From: "Peter Murphy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 2:51 PM Subject: RE: How to search throw the list > > -Original Message- > > From: Vikas Jolly(Yahoo) [mailto:[EMAIL PROTECTED]] > > > >

Re: [Fwd: RFC: XML::Xalan (was: Re: perl/xalan)] (fwd)

2001-04-11 Thread Edwin Pratomo
"Jason E. Stewart" wrote: > > Hey Ed, > > I'm really glad to see someone making Perl bindings to Xalan, Thanks! > > I would definately use the XML::Xalan namespace, there was already > some discussion about what namespace to use for XML::Xerces (in the > xerces-p-dev list if you want to look at

How to change the HTTP user agent name of Xerces?

2001-04-11 Thread Li Guohua
Hi All, I am writing a VoiceXML interpreter which fetch documents from a HTTP server. And the server return VoiceXML/WML/HTML files according to the HTTP user agent name. Xerces's HTTP user agent name is '-', that's fine: can be distinguished from IE, Netscape and so on, but the name is too short

RE: How to search throw the list

2001-04-11 Thread Peter Murphy
> -Original Message- > From: Vikas Jolly(Yahoo) [mailto:[EMAIL PROTECTED]] > > Hi > > Please explain your problem in more detail > > vikas > > - Original Message - > From: "Konstantin Kivi" <[EMAIL PROTECTED]> > > > Hello All, > > > > I am new to this list. I have a couple >

[Bug 1306] New - memory leaks in DOM_Element::setAttribute

2001-04-11 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1306 *** shadow/1306 Wed Apr 11 02:11:15 2001 --- shadow/1306.tmp.6949Wed Apr 11 02:11:15 2001 *** *** 0 --- 1,27 + ++ + | memory leaks in DO

[Bug 1303] New - AttrImpl::setValue with null argument

2001-04-11 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1303 *** shadow/1303 Wed Apr 11 01:21:33 2001 --- shadow/1303.tmp.5401Wed Apr 11 01:21:33 2001 *** *** 0 --- 1,37 + ++ + | AttrImpl::setValue

Re: How to search throw the list

2001-04-11 Thread Vikas Jolly\(Yahoo\)
Hi Please explain your problem in more detail vikas - Original Message - From: "Konstantin Kivi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 1:41 PM Subject: How to search throw the list > Hello All, > > I am new to this list. I have a couple > of que

How to search throw the list

2001-04-11 Thread Konstantin Kivi
Hello All, I am new to this list. I have a couple of questions, but before I want to seach through the list. Is there any options to search the list (via www, etc)? -- Sincerely Yours, Konstantin Kivi, Russia, [EMAIL PROTECTED] -

Re: DOM serialization

2001-04-11 Thread Gareth Reakes
Hello, currently you will have to modify the DOMPrint example. Work on a serializer did start but was postponed as the DOM level 3 load/save spec deals with this. If you do use DOMPrint you have to be careful with edited/created documents that use namespaces as the documents you produce ma