dbertoni 2002/09/05 00:08:13 Modified: c/src/XSLT NamespacesHandler.cpp NamespacesHandler.hpp Log: Removed obsolete strings. Revision Changes Path 1.21 +1 -42 xml-xalan/c/src/XSLT/NamespacesHandler.cpp Index: NamespacesHandler.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/XSLT/NamespacesHandler.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- NamespacesHandler.cpp 24 Jul 2002 23:19:43 -0000 1.20 +++ NamespacesHandler.cpp 5 Sep 2002 07:08:13 -0000 1.21 @@ -2,7 +2,7 @@ * The Apache Software License, Version 1.1 * * - * Copyright (c) 2000 The Apache Software Foundation. All rights + * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -368,9 +368,6 @@ // These are commone namespaces that are always excluded... if(equals(theURI, theXSLTNamespaceURI) || m_extensionNamespaceURIs.find(theURI) != m_extensionNamespaceURIs.end() - || equals(theURI, s_ApacheXSLTNamespaceURI) - || equals(theURI, s_LotusXSLTNamespaceURIWithSeparator) - || equals(theURI, s_LotusXSLTNamespaceURI) || equals(theURI, DOMServices::s_XMLNamespaceURI)) { return true; @@ -738,42 +735,4 @@ } } } -} - - - -static XalanDOMString s_ApacheXSLTNamespaceURI; - -static XalanDOMString s_LotusXSLTNamespaceURI; - -static XalanDOMString s_LotusXSLTNamespaceURIWithSeparator; - - -const XalanDOMString& NamespacesHandler::s_ApacheXSLTNamespaceURI = - ::s_ApacheXSLTNamespaceURI; - -const XalanDOMString& NamespacesHandler::s_LotusXSLTNamespaceURI = - ::s_LotusXSLTNamespaceURI; - -const XalanDOMString& NamespacesHandler::s_LotusXSLTNamespaceURIWithSeparator = - ::s_LotusXSLTNamespaceURIWithSeparator; - - - -void -NamespacesHandler::initialize() -{ - ::s_ApacheXSLTNamespaceURI = XALAN_STATIC_UCODE_STRING("http://xml.apache.org/xslt"); - ::s_LotusXSLTNamespaceURI = XALAN_STATIC_UCODE_STRING("http://xsl.lotus.com"); - ::s_LotusXSLTNamespaceURIWithSeparator = XALAN_STATIC_UCODE_STRING("http://xsl.lotus.com/"); -} - - - -void -NamespacesHandler::terminate() -{ - ::releaseMemory(::s_ApacheXSLTNamespaceURI); - ::releaseMemory(::s_LotusXSLTNamespaceURI); - ::releaseMemory(::s_LotusXSLTNamespaceURIWithSeparator); } 1.12 +0 -23 xml-xalan/c/src/XSLT/NamespacesHandler.hpp Index: NamespacesHandler.hpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/XSLT/NamespacesHandler.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- NamespacesHandler.hpp 18 Sep 2001 16:29:43 -0000 1.11 +++ NamespacesHandler.hpp 5 Sep 2002 07:08:13 -0000 1.12 @@ -92,29 +92,6 @@ { public: - /** - * Perform static initialization. See class XSLTInit. - */ - static void - initialize(); - - /** - * Perform static shut down. See class XSLTInit. - */ - static void - terminate(); - - - /* Some static strings for various namespace URIs... - * - */ - static const XalanDOMString& s_ApacheXSLTNamespaceURI; - - static const XalanDOMString& s_LotusXSLTNamespaceURI; - - static const XalanDOMString& s_LotusXSLTNamespaceURIWithSeparator; - - class NameSpaceExtended : public NameSpace { public:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]