DO NOT REPLY [Bug 7022] New: - DOMString::transcode ( and XMLString::transcode() ) fails on SuSE LINUX 7.3 for non UTF-8 Strings

2002-03-11 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: Borland C++ includes problem

2002-03-11 Thread Don Mastrovito
Rhys, I think I understand your problem, but it was a little hard to follow. You keep mentioning BC++, but that is a very different product from BCB. However, your path statement contains references to CBuilder and you are trying to use the BCB5 stuff, so I'll assume you are really running

Re: Borland C++ includes problem

2002-03-11 Thread Herb Chong
you are going to build makefiles for Borland, right? Herb --- I would also suggest you stick with Xerces 1.6.0 if you have BCB5. The older stuff had a number of problems (getting it to build and in using it) and I have no plans to update the project file to work with 1.7.0. HTH, Do

RE: SysAllocString

2002-03-11 Thread Murphy, James
You get 3 guesses... :) It frees the BSTR allocated with SysAllocString(X)(). consider using the ATL CComBSTR class or the MFC CString class - they manage much of this for you. Jim > -Original Message- > From: Bavishi, Pankaj [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 09, 2002

select all nodes

2002-03-11 Thread pankaj bavishi
Hello, I need to select all nodes matching a pattern or string in the document using DOM parser. How can I do this? In MSXML you can use something like: Node->selectNodes("Hello"); Please help.Get your FREE download of MSN Explorer at http://explorer.msn.com. -

RE: select all nodes

2002-03-11 Thread Erik Rydgren
Sounds like you should use DOM_Element::getElementsByTagName(const DOMString& name) method. If you need more then that then take a look at the Xalan XPath implementation at www.apache.org. Regards Erik Rydgren Mandarinen systems AB Sweden -Original Message-From: pankaj bavishi

RE: select all nodes

2002-03-11 Thread pankaj bavishi
yeah I am using it. Its more to it than that. Does XERCESC support recursive searching? like say I have to find nodes with key Hello01/hello02, such that it should find all the nodes having Hello01 as tag name and then node name of children as hello02.? do we have any apior I have to do it har

RE: select all nodes

2002-03-11 Thread Joseph Kesselman/CAM/Lotus
Or, as a midpoint between the two -- I'm not sure whether Xerces-C implements the DOM Level 2 Traversal APIs, but if so a NodeIterator or TreeWalker with the appropriate filter settings might do what you need. - To unsubscribe

Bug #1601

2002-03-11 Thread PeiYong PY Zhang
Hi, there, We have tried to reproduce it on our side, our configuration: code base: xerces-c-src_2002-03-06.tar.gz platform: Linux 2.2.12-20 gcc: egcs-2.91.66 19990314/Linux (egx-1.1.2 release) sample: the piece of sample instance document and dtd file provided by

RE: select all nodes

2002-03-11 Thread pankaj bavishi
how do I use: DOM_Document dummy.getElementsByTagName("hello"); how should I pass ("hello")...it should be a DOMString. I can't do: DOMString st = "hello"; please helpGet your FREE download of MSN Explorer at http://explorer.msn.com. -

Re: select all nodes

2002-03-11 Thread Tinny Ng
> > Or, as a midpoint between the two -- I'm not sure whether Xerces-C > implements the DOM Level 2 Traversal APIs Yes it does. Tinny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: select all nodes

2002-03-11 Thread Erik Rydgren
Use DOMString::transcode. Read the Xerces FAQ for common questions using it. Regards Erik Rydgren Mandarinen systems AB Sweden -Original Message- From: pankaj bavishi [mailto:[EMAIL PROTECTED]] Sent: den 11 mars 2002 17:05 To: [EMAIL PROTECTED] Subject: RE: select all nodes how do I

parser

2002-03-11 Thread pankaj bavishi
I have a xml file to parse. I am using: parser->parse(strXml.c_str()); DOM_Document doc = parser->getDocument(); But it returns 0 elements. why?  Send and receive Hotmail on your mobile device: Click Here - To unsubscribe, e

Re: SysAllocString

2002-03-11 Thread Hal DeVore
> On Mon, 11 Mar 2002, "James" == Murphy, James wrote: James> ATL CComBSTR class or the MFC CString class James> they manage much of this for you. Or the ATL/WTL CString class. But you still have to understand the underlying semantics or it's easy to create memory leaks and/or access

please help!!!

2002-03-11 Thread pankaj bavishi
please help asap..   I have a string say str, and I want to parse it. Can I do: DOMParser* parser ; parser->parse(str_cstr());   thanks so much Great minds discuss ideas, Average ones discuss events, Small minds discuss people **Pankaj Bavishi 10, Westgate Drive A

RE: select all nodes

2002-03-11 Thread pankaj bavishi
does xerces-c support anything similar to stringreader in xerces-j I have to pass an inputstream as string. Please suggest.Join the world’s largest e-mail service with MSN Hotmail. Click Here - To unsubscribe, e-mail: [EMAIL PRO

RE: Performance Issues on Solaris 2.7

2002-03-11 Thread Bhushan Khanal
You could try and parse a in-memory document. Just make sure that its not too large that the OS might page it out (thereby running into the original problem). Bhusan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:58 PM To: [EMAIL PRO

Re: Borland C++ includes problem

2002-03-11 Thread Don Mastrovito
There should be a make file there. It worked for me, but then I have the full development environment on my system. I'd appreciate someone with just the free compiler checking it out. Thanks, Don At 09:53 AM 3/11/2002 -0500, you wrote: >you are going to build makefiles for Borland, right? >

Re: please help!!!

2002-03-11 Thread Don Mastrovito
Pankaj, This ought to get you started.  While this code snippet was not compiled and tested, it was extracted from one of my projects.  It demonstrates loading from either a file or a stream.     const bool  LoadFromStream = true;    // Set to false for file i/o     const char *MyFileName = "C:\TE

Tornado 1 - Makefile

2002-03-11 Thread TU ANH NGUYEN
Hello, I have a dump question. Hope it does not bother you guys. How do I write a makefile for Tornado 1 that will compile all of my .cpp files from one folder to run on vxWorks? Please help. Thank you. Tu - Original Message - From: "Don Mastrovito" <[EMAIL PROTECTED]> To: <[EMA

Re: Tornado 1 - Makefile

2002-03-11 Thread TU ANH NGUYEN
I forgot to mention that I am trying to port XML to vxWorks. - Original Message - From: "TU ANH NGUYEN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 11:25 AM Subject: Tornado 1 - Makefile > Hello, > > I have a dump question. Hope it does not bother you

Re: parser

2002-03-11 Thread Matt Leinhos
Which parser are you using? How have you set it up (via set___() methods)? What are the contents of strXml? Does the document you are parsing really exist? We need way more details. Matt On Mar 11, pankaj bavishi wrote: - > > > >I have a xml file to parse. > >I am using: > >pa

RE: select all nodes

2002-03-11 Thread Matt Leinhos
Look at the InputSource class. On Mar 11, pankaj bavishi wrote: - > >does xerces-c support anything similar to stringreader in xerces-j > >I have to pass an inputstream as string. > >Please suggest. > > >___

RE: Tornado 1 - Makefile

2002-03-11 Thread Bob Vaughn
I doubt if you can use Tornado I (VxWorks) as Xerces uses quite a bit of exception handling. You'll need to upgrade to Tornado II. As far as makefiles go... I had makefiles for existing code that I just added Xerces files to. I think you can build a "project" in Tornado with all of the Xerces

Re: parser

2002-03-11 Thread pankaj bavishi
Here are the details: I am using xerces-c, DOM parser (DOMParser* DP = new DOMParser); I have a string (that has xml nodes) like: std::string strXml(pOrg) here char*pOrg . I have to parse this string as a DOM tree and get hold of root node. So I am doing: Parser->parse(pOrg) DOM_Document doc =

RE: select all nodes

2002-03-11 Thread David N Bertoni/Cambridge/IBM
See the MemParse sample application. Make sure you review all of the sample applications before you post questions. There's lots of stuff there. Dave

DO NOT REPLY [Bug 7000] - UnixHTTPURLInputStream.cpp (Version 1.7 and 1.6)

2002-03-11 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 3170] - URLs with ? type fragments in them don't work.

2002-03-11 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 7000] - UnixHTTPURLInputStream.cpp (Version 1.7 and 1.6)

2002-03-11 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

Linking Error on Solaris 8, Xerces C 1_7_0

2002-03-11 Thread Todd Keen
I receive the following link errors when I attempt to build Xerces into my executable: -L/space/u01/downloads/xerces-c-src1_7_0/lib/ ild: (undefined symbol) __RTTI__1nMXMLException_ -- referenced in the data segment of bin/forte32dbg/DVT.o ild: (undefined symbol) void XMLPlatformUtils::Terminate

Re: Borland C++ includes problem

2002-03-11 Thread Rhys Black
--- Don Mastrovito <[EMAIL PROTECTED]> wrote: > Rhys, > > I think I understand your problem, but it was a > little hard to follow. You > keep mentioning BC++, but that is a very different > product from > BCB. However, your path statement contains > references to CBuilder and you > are tryi