DO NOT REPLY [Bug 25727] - namespace macros not used

2003-12-23 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 25727] - namespace macros not used

2003-12-23 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 25727] - namespace macros not used

2003-12-23 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: Disabling C++ Namespace

2003-12-23 Thread MARobertson
Stephanie, I'm not sure exactly what your problem is, but here's a suggestion that may help you narrow things down a bit. From your description, I assume that you have some code that uses your PrintDOMTree function, and its when linking that code you get the error. If your PrintDOMTree functi

RE: Disabling C++ Namespace

2003-12-23 Thread Adam Heinz
Have you looked for forward declarations of DOM_Node? Adam Heinz Development Consultant Exstream Software -Original Message-From: Stephanie L Milchak [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 23, 2003 10:51 AMTo: [EMAIL PROTECTED]Subject: RE: Disabling C++ NamespaceI

RE: Disabling C++ Namespace

2003-12-23 Thread Stephanie L Milchak
I agree.  I did a search on PrintDOMTree and the class is only referenced in 3 of our files (2 cpp files, plus the hpp file we've been talking about).  I added the XERCES_CPP_NAMESPACE_USE to the cpp files that didn't already have it.  I cannot find any forward declarations of PrintDOMTree (the he

RE: Tutorials

2003-12-23 Thread Karl Schultz
I've been working with this stuff for hte first time over the past month, and I just had to chug through it by studying the examples that come with the source code and reading the Xerces C++ documentation. The test programs were also good to look at. Anyway, here's how I would approach your probl

RE: Disabling C++ Namespace

2003-12-23 Thread Adam Heinz
I think the problem doesn't lie in the declaration of the function, but in its invocation.  I suspect that you have a non-XERCES_CPP_NAMESPACE:: forward declaration of DOM_Node somewhere and that is causing the linker to look for PrintDOMTree(class DOM_Node instead of PrintDOMTree(class XERC

RE: Disabling C++ Namespace

2003-12-23 Thread Alberto Massari
You should prefix all the Xerces symbols with XERCES_CPP_NAMESPACE_QUALIFIER (or XERCES_CPP_NAMESPACE:: if you want a shorter macro), like in char *PrintDOMTree(XERCES_CPP_NAMESPACE_QUALIFIER DOM_Node &domNode, int &nLength); or be sure that you added the XERCES_CPP_NAMESPACE_USE macro in ever

RE: Disabling C++ Namespace

2003-12-23 Thread Stephanie L Milchak
Okay, but I'm not having a problem with class InputSource... I'm still having the problem linking to a function that is defined in one of our hpp files. In my header file, I have this statement: char *PrintDOMTree(DOM_Node &domNode, int &nLength); PrintDOMTree is defined in our Print.cpp file.

RE: Disabling C++ Namespace

2003-12-23 Thread Adam Heinz
Well, if you look in the headers, the documentation is incorrect (just submitted as bug 25727).  Alberto suggested that you use:   XERCES_CPP_NAMESPACE_BEGIN class InputSource; XERCES_CPP_NAMESPACE_END   instead of   namespace xercesc { class InputSource; } Adam Heinz Development Consultant E

DO NOT REPLY [Bug 25727] New: - namespace macros not used

2003-12-23 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: Disabling C++ Namespace

2003-12-23 Thread Stephanie L Milchak
Using xercesc:: is correct according to the apache documentation: http://xml.apache.org/xerces-c/program-others.html#CPPNamespace I can see that this is correct, because as I was trying various scenarios I would get compilation errors and all of my "xercesc::" were translated to "xercesc_2_2" in

RE: Tutorials

2003-12-23 Thread Purdy, Edgar M
Can someone recommend URL's for XML tutorials that apply to c++. Functionality eluded to in the Java tutorials is not available in c++. In Java the properties class is utilized, no such class exists in c++ and my efforts to create my own c++ equivalent of the Java properties class has not been succ

RE: Disabling C++ Namespace

2003-12-23 Thread Adam Heinz
You need to use XERCES_CPP_NAMESPACE:: instead of xercesc::, since that is just wrong (see util/XercesVersion.hpp).  The namespaces are named according to the release version; the namespace macro expands to something like xercesc_2_3.   Adam Heinz Development Consultant Exstream Software

RE: Disabling C++ Namespace

2003-12-23 Thread Stephanie L Milchak
But the DOM_* class isn't what causes the linking error... when I disable the namespace in xerces I have no errors.  I still haven't solved any problems. Thanks, Stephanie Milchak Software Engineer WebSphere Business Integration Research Triangle Park, NC "Adam Heinz" <[EMAIL PROTECTED]>

RE: Disabling C++ Namespace

2003-12-23 Thread Adam Heinz
All the DOM_* classes have been moved into dom/deprecated, so I would suggest migrating away from their use. Adam Heinz Development Consultant Exstream Software   -Original Message-From: Stephanie L Milchak [mailto:[EMAIL PROTECTED]Sent: Monday, December 22, 2003 3:00 PMTo: [E

RE: Tutorials

2003-12-23 Thread Purdy, Edgar M
Gareth, The problem with the all the DOM tutorials that I've found is that they are ALL Java based. -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:51 PM To: [EMAIL PROTECTED] Subject: Re: Tutorials Hi, go and take a look at a XM

DO NOT REPLY [Bug 25164] - Add regenerating the (API) documentation to the FAQ

2003-12-23 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