MemBufInputSource/XercesDOMParser wierdness

2002-06-12 Thread Jason E. Stewart
Hey Tinny and others, I grabbed the latest from CVS to test out the new DOM and the DOM Level 3 stuff to make it work with Xerces-P. I've got a very odd problem: whenever I use a MemBufInputSource and the XercesDOMParser, I get a bogus comment node as the first node of the document. This does no

Xerces 1.2.0 on Windows 2000

2002-06-12 Thread Nikita Sawant
Hi, Are there any known issues with using Xerces 1.2.0 on WIndows 2000 (particularly related to XMLString::transcode()) Any kind of information will be helpful. I currently get errors which indicate that a memory location cannot be read / written. Thanks, Nikita begin:vcard n:Sawant;Nikita

Re: convert dom_document to char*

2002-06-12 Thread PeiYong PY Zhang
Hi, there, The lastest nightly build has an implementation for DOMWriter and the updated sample DOMPrint which shows how to make use of the new interface. In the case you need a char* representation of XML Stream, simply invoke DOMWriter::writeToString(node) followed by XMLString::tr

Re: Possible Memory leaks when running CreateDOMDocument sample program

2002-06-12 Thread PeiYong PY Zhang
Tim, We've experienced similar "leak report" from BoundsChecker as well. Boundschecker, some times, thought not always, issue false alarm on many occasions, especially for object created in one place and released some where else, it insists that this is a memory leak while ac

DO NOT REPLY [Bug 7278] - Memory leak in XMLReaderFactory::createXMLReader

2002-06-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

XML Conformance Test Suite

2002-06-12 Thread Arnaud Le Hors
The W3C, which now owns the official XML Conformance Test Suite, just released a new version. This supersedes the previous version available from OASIS, as well as any variant one might find elsewhere. See http://www.w3.org/XML/Test/ -- Arnaud Le Hors - IBM, XML Standards Strategy Group / W3C

DO NOT REPLY [Bug 9561] - XMLRefVectorOf holding arrays: new[] vs. plain delete

2002-06-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Possible Memory leaks when running CreateDOMDocument sample program

2002-06-12 Thread Tim Howson
Hi,   we have compiled the CreateDOMDocument sample application with bounds checker and it reports several memory leaks in:-   crtdll.c cerrinit.cpp ciniit.cpp cloginit.cpp iostrini.cpp streamb.cpp mtlock.c   Are there known leaks in the DOM classes or is bounds check being misleading and thi

Re: getting attribute values

2002-06-12 Thread Tinny Ng
PParse is using SAX parser. So I assume you are using SAX. So I would recommend SAXPrint which is a relatively simple sample and shows you how to get attribute values while parsing an XML file. Tinny - Original Message - From: "Markku Pirila" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: getting attribute values

2002-06-12 Thread Tinny Ng
> ... Personally I am using the IDOM interface which I > understand is going to be the standard DOM interface in the next release > (probably somebody can confirm that?). > Gert Yes. IDOM will be the standard DOM interface in the next release, BUT it will be also be RENAMED. Thus if you are us

Re: getting attribute values

2002-06-12 Thread Gert van Spijker
Just spend some time looking at the various DOM examples and try to understand what they do. Personally I am using the IDOM interface which I understand is going to be the standard DOM interface in the next release (probably somebody can confirm that?). Gert > > #> -Original Message- > #

RE: getting attribute values

2002-06-12 Thread Markku Pirila
#> -Original Message- #> From: Gert van Spijker [mailto:[EMAIL PROTECTED]] #> Sent: Wednesday, June 12, 2002 11:16 AM #> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] #> Subject: Re: getting attribute values #> #> #> Why do you want to use the PParse sample? Why don't you create and walk a #>

Re: getting attribute values

2002-06-12 Thread Gert van Spijker
Why do you want to use the PParse sample? Why don't you create and walk a DOM tree? > I would like to use PParse sample application to parse my xml file. It > counts attributes, but how to get their values? Does anyone have (very) > simple example about how to get attribute values while parsing x