You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/02/11 05:37:09 UTC

cvs commit: xml-xalan/c/src/DOMSupport DOMServices.cpp DOMServices.hpp

dbertoni    01/02/10 20:37:09

  Modified:    c/src/DOMSupport DOMServices.cpp DOMServices.hpp
  Log:
  Added new string.
  
  Revision  Changes    Path
  1.25      +7 -1      xml-xalan/c/src/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- DOMServices.cpp	2001/02/08 21:41:45	1.24
  +++ DOMServices.cpp	2001/02/11 04:37:09	1.25
  @@ -85,10 +85,11 @@
   
   
   
  -// These four XalanDOMString instances will hold the actual
  +// These XalanDOMString instances will hold the actual
   // data.  This way, the DOMSupport references can be const,
   // but we can initialize the data when we want to.
   static XalanDOMString	s_XMLString;
  +static XalanDOMString	s_XMLStringWithSeparator;
   static XalanDOMString	s_XMLNamespaceURI;
   static XalanDOMString	s_XMLNamespace;
   static XalanDOMString	s_XMLNamespaceWithSeparator;
  @@ -97,6 +98,7 @@
   
   
   const XalanDOMString&	DOMServices::s_XMLString = ::s_XMLString;
  +const XalanDOMString&	DOMServices::s_XMLStringWithSeparator = ::s_XMLStringWithSeparator;
   const XalanDOMString&	DOMServices::s_XMLNamespaceURI = ::s_XMLNamespaceURI;
   const XalanDOMString&	DOMServices::s_XMLNamespace = ::s_XMLNamespace;
   const XalanDOMString&	DOMServices::s_XMLNamespaceWithSeparator = ::s_XMLNamespaceWithSeparator;
  @@ -109,6 +111,7 @@
   // data.  This way, the DOMSupport references can be const,
   // but we can initialize the data when we want to.
   static unsigned int		s_XMLStringLength = 0;
  +static unsigned int		s_XMLStringWithSeparatorLength = 0;
   static unsigned int		s_XMLNamespaceURILength = 0;
   static unsigned int		s_XMLNamespaceLength = 0;
   static unsigned int		s_XMLNamespaceWithSeparatorLength = 0;
  @@ -117,6 +120,7 @@
   
   
   const unsigned int&		DOMServices::s_XMLStringLength = ::s_XMLStringLength;
  +const unsigned int&		DOMServices::s_XMLStringWithSeparatorLength = ::s_XMLStringWithSeparatorLength;
   const unsigned int&		DOMServices::s_XMLNamespaceURILength = ::s_XMLNamespaceURILength;
   const unsigned int&		DOMServices::s_XMLNamespaceLength = ::s_XMLNamespaceLength;
   const unsigned int&		DOMServices::s_XMLNamespaceWithSeparatorLength = ::s_XMLNamespaceWithSeparatorLength;
  @@ -176,12 +180,14 @@
   DOMServices::initialize()
   {
   	::s_XMLString = XALAN_STATIC_UCODE_STRING("xml");
  +	::s_XMLStringWithSeparator = XALAN_STATIC_UCODE_STRING("xml:");
   	::s_XMLNamespaceURI = XALAN_STATIC_UCODE_STRING("http://www.w3.org/XML/1998/namespace");
   	::s_XMLNamespace = XALAN_STATIC_UCODE_STRING("xmlns");
   	::s_XMLNamespaceWithSeparator = XALAN_STATIC_UCODE_STRING("xmlns:");
   	::s_XMLNamespaceSeparatorString = XALAN_STATIC_UCODE_STRING(":");
   
   	::s_XMLStringLength = length(DOMServices::s_XMLString);
  +	::s_XMLStringWithSeparatorLength = length(DOMServices::s_XMLStringWithSeparator);
   	::s_XMLNamespaceURILength = length(DOMServices::s_XMLNamespaceURI);
   	::s_XMLNamespaceLength = length(DOMServices::s_XMLNamespace);
   	::s_XMLNamespaceWithSeparatorLength = length(DOMServices::s_XMLNamespaceWithSeparator);
  
  
  
  1.19      +2 -0      xml-xalan/c/src/DOMSupport/DOMServices.hpp
  
  Index: DOMServices.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.hpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- DOMServices.hpp	2001/01/26 16:22:14	1.18
  +++ DOMServices.hpp	2001/02/11 04:37:09	1.19
  @@ -88,12 +88,14 @@
   public:
   
   	static const XalanDOMString&	s_XMLString;
  +	static const XalanDOMString&	s_XMLStringWithSeparator;
   	static const XalanDOMString&	s_XMLNamespaceURI;
   	static const XalanDOMString&	s_XMLNamespace;
   	static const XalanDOMString&	s_XMLNamespaceWithSeparator;
   	static const XalanDOMString&	s_XMLNamespaceSeparatorString;
   
   	static const unsigned int&		s_XMLStringLength;
  +	static const unsigned int&		s_XMLStringWithSeparatorLength;
   	static const unsigned int&		s_XMLNamespaceURILength;
   	static const unsigned int&		s_XMLNamespaceLength;
   	static const unsigned int&		s_XMLNamespaceWithSeparatorLength;