You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by pa...@apache.org on 2001/07/05 20:23:14 UTC

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

pauldick    01/07/05 11:23:13

  Modified:    c/src/DOMSupport DOMServices.cpp DOMServices.hpp
  Log:
  Added code to get URI for namespace nodes
  
  Revision  Changes    Path
  1.29      +5 -0      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.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- DOMServices.cpp	2001/06/06 20:47:14	1.28
  +++ DOMServices.cpp	2001/07/05 18:23:09	1.29
  @@ -94,6 +94,7 @@
   static XalanDOMString	s_XMLNamespace;
   static XalanDOMString	s_XMLNamespaceWithSeparator;
   static XalanDOMString	s_XMLNamespaceSeparatorString;
  +static XalanDOMString	s_XMLNamespacePrefixURI;
   
   
   
  @@ -103,6 +104,7 @@
   const XalanDOMString&	DOMServices::s_XMLNamespace = ::s_XMLNamespace;
   const XalanDOMString&	DOMServices::s_XMLNamespaceWithSeparator = ::s_XMLNamespaceWithSeparator;
   const XalanDOMString&	DOMServices::s_XMLNamespaceSeparatorString  = ::s_XMLNamespaceSeparatorString;
  +const XalanDOMString&	DOMServices::s_XMLNamespacePrefixURI = ::s_XMLNamespacePrefixURI;
   const XalanDOMString	DOMServices::s_emptyString;
   
   
  @@ -116,6 +118,7 @@
   static unsigned int		s_XMLNamespaceLength = 0;
   static unsigned int		s_XMLNamespaceWithSeparatorLength = 0;
   static unsigned int		s_XMLNamespaceSeparatorStringLength = 0;
  +static unsigned int		s_XMLNamespacePrefixURILength = 0;
   
   
   
  @@ -185,6 +188,7 @@
   	::s_XMLNamespace = XALAN_STATIC_UCODE_STRING("xmlns");
   	::s_XMLNamespaceWithSeparator = XALAN_STATIC_UCODE_STRING("xmlns:");
   	::s_XMLNamespaceSeparatorString = XALAN_STATIC_UCODE_STRING(":");
  +	::s_XMLNamespacePrefixURI = XALAN_STATIC_UCODE_STRING("http://www.w3.org/2000/xmlns/");
   
   	::s_XMLStringLength = length(DOMServices::s_XMLString);
   	::s_XMLStringWithSeparatorLength = length(DOMServices::s_XMLStringWithSeparator);
  @@ -192,6 +196,7 @@
   	::s_XMLNamespaceLength = length(DOMServices::s_XMLNamespace);
   	::s_XMLNamespaceWithSeparatorLength = length(DOMServices::s_XMLNamespaceWithSeparator);
   	::s_XMLNamespaceSeparatorStringLength = length(DOMServices::s_XMLNamespaceSeparatorString);
  +	::s_XMLNamespacePrefixURILength = length(DOMServices::s_XMLNamespacePrefixURI);
   }
   
   
  
  
  
  1.23      +3 -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.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- DOMServices.hpp	2001/06/06 21:12:54	1.22
  +++ DOMServices.hpp	2001/07/05 18:23:11	1.23
  @@ -94,6 +94,7 @@
   	static const XalanDOMString&	s_XMLNamespace;
   	static const XalanDOMString&	s_XMLNamespaceWithSeparator;
   	static const XalanDOMString&	s_XMLNamespaceSeparatorString;
  +	static const XalanDOMString&	s_XMLNamespacePrefixURI;
   
   	static const unsigned int&		s_XMLStringLength;
   	static const unsigned int&		s_XMLStringWithSeparatorLength;
  @@ -101,6 +102,8 @@
   	static const unsigned int&		s_XMLNamespaceLength;
   	static const unsigned int&		s_XMLNamespaceWithSeparatorLength;
   	static const unsigned int&		s_XMLNamespaceSeparatorStringLength;
  +	static const unsigned int&		s_XMLNamespacePrefixURILength;
  +
   
   	// A dummy string to return when we need an emtpy string...
   	static const XalanDOMString		s_emptyString;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org