Title: RE: Error

I don;t know what version you are talking about but the one I am using does support namespaces. and thats how I am avoiding xerces code to conflict with MSXML parser code.

-----Original Message-----
From: Anthony Zawacki [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 13, 2003 2:09 PM
To: [EMAIL PROTECTED]
Subject: RE: Error






Xerces doesn't use a namespace.  Since Xerces is highly portable to a
variety of platforms, namespaces are avoided because some compilers do not
support namespaces.

Thanks,
Anthony Zawacki

410-571-7161
[EMAIL PROTECTED]



                                                                                                                                      

                      "Kohli, Naveen"                                                                                                 

                      <[EMAIL PROTECTED]        To:       "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>                

                      ites.com>                cc:                                                                                    

                                               Subject:  RE: Error                                                                    

                      03/13/2003 02:01                                                                                                

                      PM                                                                                                              

                      Please respond to                                                                                               

                      xerces-c-dev                                                                                                    

                                                                                                                                      

                                                                                                                                      




Clean solution will be to use xercesc namespace in your code.


xercesc::DOMDocument





-----Original Message-----
From: John Meyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 13, 2003 1:41 PM
To: [EMAIL PROTECTED]
Subject: Error





XMLPlatformUtils::Initialize();
DOMImplementation *impl =
DOMImplementationRegistry::getDOMImplementation(XMLString::transcode("core")

);
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc =
impl->createDocument(0,XMLString::transcode("files"),0);
DOMWriter *wri = impl->createDOMWriter();


//error:
[C++ Error] Unit1.cpp(172): E2015 Ambiguity between 'DOMDocument' and
'Msxml::DOMDocument'


_________________________________________
John Meyer
Programmer
ICQ#: 63450423
More ways to contact me: http://wwp.icq.com/63450423
_________________________________________





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to