Re: BSTR

2002-02-08 Thread David Hoffer
Another VC++ thought...if you are using MFC you can very easily get a BSTR from a CString by calling CString::AllocSysString().  If CString is already UNICODE there is no code page conversion to get to the  BSTR. In addition, I think the Win32 API function SysAllocString() does the same thin

experimental 1.6 release problem

2002-02-08 Thread John Utz
hi; trying to use the samples described on the samples page blow up. bash-2.04$ ./DOMCount.pl DOMCount.pl Can't locate auto/XML/Xerces/SAXParser/setDoValida.al in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux

Re: howto build xerces-c from src with CygWin/gcc on a Windows box?

2002-02-08 Thread Jason E. Stewart
"John Utz" <[EMAIL PROTECTED]> writes: > hi; > > (cross post is poor netiquette, but this is relevant to both) > > has anybody built xerces-c 1.6 on a Windows box with gcc? Hey John, <[EMAIL PROTECTED]> is the person who most recently tried getting Xerces-C working on cygwin. I believe he had

howto build xerces-c from src with CygWin/gcc on a Windows box?

2002-02-08 Thread John Utz
hi; (cross post is poor netiquette, but this is relevant to both) has anybody built xerces-c 1.6 on a Windows box with gcc? i just tried, and i knew i was looking for trouble because there are no build instructions for same and runConfigure knows nothing about win32 or CygWin. I believe that i

xerces-c-1.7?

2002-02-08 Thread Jason E. Stewart
Hey Tinny et. al., I may have missed this earlier, but what are your group's plans for new features in 1.7? Also what is your time frame for releasing it? Thanks, jas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: WinNT vs Win2000

2002-02-08 Thread Charles Prosser
Hello, >> Have you installed an ErrorHandler to see if there are any problems parsing >> the file? It seems to me from your message that you're assuming that the >> file was successfully parsed on NT, and the bug is in walking the DOM >> instance, but that may not be true. Right, I was assumin

Re: xerces 2.0

2002-02-08 Thread Jason E. Stewart
"Bavishi, Pankij" <[EMAIL PROTECTED]> writes: > What's the difference betn xerces 1.0 and 2.0? Xerces-C has no version 2.0. Xerces-J does. If you want to know about Xerces-J-2.0, you should probably ask it on the xerces-j-dev list. jas. ---

Re: Again: Xerces not server proof ?

2002-02-08 Thread Tinny Ng
Martin, I agree that we should fix any potential memory leak that remains after exception scenario, and that Xerces-C++ should be exception-safe. In fact we do try to eliminate them. Bugzilla bug like 3565 was an example of such kind of leak fix. But our current approach is to fix them one b

DO NOT REPLY [Bug 6336] New: - Output of XMLString::transcode not freed?

2002-02-08 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

xerces 2.0

2002-02-08 Thread Bavishi, Pankij
Title: RE:node Sorry if this is a repeat mail... What's the difference betn xerces 1.0 and 2.0?   -Original Message- From: Jesse Pelton [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 8:24 AM To: '[EMAIL PROTECTED]' Subject: RE: appendChild   Once you've got the

RE: appendChild

2002-02-08 Thread Bavishi, Pankij
Title: RE:node What's the difference between xerces 1.0 and 2.0?   -Original Message- From: Jesse Pelton [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 8:24 AM To: '[EMAIL PROTECTED]' Subject: RE: appendChild   Once you've got the element, you can use DOM_Node::a

Re: picking apart XMLSchema with 1.6

2002-02-08 Thread John Utz
hi Tinny! On Fri, 8 Feb 2002, Tinny Ng wrote: > Please check the sample SEnumVal and see if that helps. oh, excellent! looking at http://xml.apache.org/xerces-c/senumval.html, the sample output looks to have all the facts that i am looking for! i am going to try and adapt this example

Re: picking apart XMLSchema with 1.6

2002-02-08 Thread Tinny Ng
Please check the sample SEnumVal and see if that helps. Tinny John Utz wrote: > hello; > > after the schema has been read in, there must be a representation of it in > memory somewhere, right? > > so how can access that data structure? XMLValidator has a > getGrammar() method that returns a Gra

RE: picking apart XMLSchema with 1.6

2002-02-08 Thread Elisha Berns
Hi All, John, I tried to get a validation object to use during parsing with the following code: long nGrammarType = parser->getValidator().getGrammar()->getGrammarType(); if ( nGrammarType == Grammar::SchemaGrammarType ) {

DO NOT REPLY [Bug 1685] - memory leak after parsing document with validation error

2002-02-08 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

DO NOT REPLY [Bug 6325] - Memory leak using DOM Parser.

2002-02-08 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

Re: Again: Xerces not server proof ?

2002-02-08 Thread Jason E. Stewart
"Cornelius, Martin" <[EMAIL PROTECTED]> writes: > Some weeks ago i posted a message on this list, where i pointed out > that Xerces, as it currently is, cannot survive temporary > out-of-memory conditions without punching memory leaks, and thus > looks not really fit to be used in a 'cruel-real-w

Again: Xerces not server proof ?

2002-02-08 Thread Cornelius, Martin
Some weeks ago i posted a message on this list, where i pointed out that Xerces, as it currently is, cannot survive temporary out-of-memory conditions without punching memory leaks, and thus looks not really fit to be used in a 'cruel-real-world' server application. ( The Subject was : "Xerces in

picking apart XMLSchema with 1.6

2002-02-08 Thread John Utz
hello; after the schema has been read in, there must be a representation of it in memory somewhere, right? so how can access that data structure? XMLValidator has a getGrammar() method that returns a Grammar, but i couldnt find any docs that described the Grammar data structure. is this the one

DO NOT REPLY [Bug 6325] - Memory leak using DOM Parser.

2002-02-08 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

DO NOT REPLY [Bug 6330] New: - Base64::encode does not work

2002-02-08 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

RE: Circular Definitions

2002-02-08 Thread Joseph Kesselman/CAM/Lotus
On Thursday, 02/07/2002 at 04:11 CST, "Lenny Hoffman" <[EMAIL PROTECTED]> wrote: > BTW, I tried to submit a bug report in Bugzilla for this one as you > suggested, but for some reason it would always time out saying it could not > find the server after I hit commit. Connections to Apache's webse

RE: appendChild

2002-02-08 Thread Jesse Pelton
Title: RE:node Once you've got the element, you can use DOM_Node::appendChild(). Perhaps the problem is that you're using getElementsByTagName() and you're getting back a node list rather than a single element, in which case you need to choose which element to operate upon.   I think you'll

DO NOT REPLY [Bug 6325] - Memory leak using DOM Parser.

2002-02-08 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

DO NOT REPLY [Bug 6325] - Memory leak using DOM Parser.

2002-02-08 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

DO NOT REPLY [Bug 6319] - Undefined symbols from AIX link

2002-02-08 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

Re: running DOM level 2 tests

2002-02-08 Thread Tinny Ng
Giorgio Sidari wrote: > ... > We set the XERCESCROOT as full path to xerces-c-src1_6_0 and the > LIBRARY_PATH as .../xerces-c-src1_6_0/include The LD_LIBRARY_PATH should point to where the Xerces-C++ library (libxerces-c1_6_0.so ) resides. Either build it using the source package (do runConfi

running DOM level 2 tests

2002-02-08 Thread Giorgio Sidari
Hi, We had some problems while trying to run tests implemented in Xerces c++ (xerces-c-src1_6_0/tests/IDom/IDOMtest). We are working on Linux, Mandrake 8.0. We set the XERCESCROOT as full path to xerces-c-src1_6_0 and the LIBRARY_PATH as .../xerces-c-src1_6_0/include We run the file tests/runConfi

DO NOT REPLY [Bug 6325] New: - Memory leak using DOM Parser.

2002-02-08 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