You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2003/09/11 13:12:21 UTC

cvs commit: xml-security/c/src/samples simpleHMAC.cpp simpleValidate.cpp

blautenb    2003/09/11 04:12:21

  Modified:    c/src/samples simpleHMAC.cpp simpleValidate.cpp
  Log:
  Cleaned up usage of Xerces namespace - no longer inject into global namespace in headers
  
  Revision  Changes    Path
  1.5       +1 -5      xml-security/c/src/samples/simpleHMAC.cpp
  
  Index: simpleHMAC.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/samples/simpleHMAC.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- simpleHMAC.cpp	5 Aug 2003 11:36:09 -0000	1.4
  +++ simpleHMAC.cpp	11 Sep 2003 11:12:21 -0000	1.5
  @@ -90,11 +90,7 @@
   XALAN_USING_XALAN(XalanTransformer)
   #endif
   
  -
  -XSEC_USING_XERCES(DOMImplementation);
  -XSEC_USING_XERCES(XMLPlatformUtils);
  -XSEC_USING_XERCES(XMLException);
  -XSEC_USING_XERCES(DOMImplementationRegistry);
  +XERCES_CPP_NAMESPACE_USE
   
   DOMDocument *createLetter(DOMImplementation *impl) {
   
  
  
  
  1.5       +1 -4      xml-security/c/src/samples/simpleValidate.cpp
  
  Index: simpleValidate.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/samples/simpleValidate.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- simpleValidate.cpp	5 Aug 2003 11:36:09 -0000	1.4
  +++ simpleValidate.cpp	11 Sep 2003 11:12:21 -0000	1.5
  @@ -88,10 +88,7 @@
   #include <xercesc/parsers/XercesDOMParser.hpp>
   #include <xercesc/framework/MemBufInputSource.hpp>
   
  -XSEC_USING_XERCES(XMLPlatformUtils);
  -XSEC_USING_XERCES(XercesDOMParser);
  -XSEC_USING_XERCES(MemBufInputSource);
  -XSEC_USING_XERCES(XMLException);
  +XERCES_CPP_NAMESPACE_USE
   
   #ifndef XSEC_NO_XALAN