You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jd...@locus.apache.org on 2000/01/28 15:43:22 UTC

cvs commit: xml-xalan/c/src/XPath QName.cpp

jdonohue    00/01/28 06:43:22

  Modified:    c/src/XPath QName.cpp
  Log:
  Linux changes
  
  Revision  Changes    Path
  1.4       +9 -9      xml-xalan/c/src/XPath/QName.cpp
  
  Index: QName.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/QName.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- QName.cpp	2000/01/26 20:33:48	1.3
  +++ QName.cpp	2000/01/28 14:43:22	1.4
  @@ -59,7 +59,7 @@
   
   
   
  -#include <include/DOMHelper.hpp>
  +#include <Include/DOMHelper.hpp>
   
   
   
  @@ -206,8 +206,8 @@
   		{
   			for(int j = namespaces.size()-1; j >= 0; j--)
   			{
  -				const NameSpace&	ns = namespaces.at(j);
  -				const DOMString&	thisPrefix = ns.getPrefix();
  +				const NameSpace ns = namespaces[j];
  +				const DOMString& thisPrefix = ns.getPrefix();
   				if((0 != thisPrefix.length()) && prefix.equals(thisPrefix))
   					return ns.getURI();
   			}
  @@ -216,8 +216,8 @@
   		{
   			for(int j = 0; j < namespaces.size(); j++)
   			{
  -				const NameSpace&	ns = namespaces.at(j);
  -				const DOMString&	thisPrefix = ns.getPrefix();
  +				const NameSpace ns = namespaces[j];
  +				const DOMString& thisPrefix = ns.getPrefix();
   				if((0 != thisPrefix.length()) && prefix.equals(thisPrefix))
   					return ns.getURI();
   			}
  @@ -233,7 +233,7 @@
   	int depth = nsStack.size();
   	for(int i = depth-1; i >= 0; i--)
   	{
  -		const NamespaceVectorType& namespaces = nsStack.at(i);
  +		const NamespaceVectorType& namespaces = nsStack[i];
   		nsURI = QName::getNamespaceForPrefix(namespaces, prefix, reverse);
   		if (! ::isEmpty(nsURI))
   			return nsURI;
  @@ -246,7 +246,7 @@
   {
   	for(int j = namespaces.size()-1; j >= 0; j--)
   	{
  -		const NameSpace& ns = namespaces.at(j);
  +		const NameSpace& ns = namespaces[j];
   		const DOMString& thisPrefix = ns.getURI();
   		if((0 != thisPrefix.length()) && uri.equals(thisPrefix))
   			return ns.getPrefix();
  @@ -263,7 +263,7 @@
   	{
   		for(int i = depth-1; i >= 0; i--)
   		{
  -			const NamespaceVectorType& namespaces = nsStack.at(i);
  +			const NamespaceVectorType& namespaces = nsStack[i];
   			prefix = QName::getPrefixForNamespace(namespaces, uri, reverse);
   			if (! ::isEmpty(prefix))
   				return prefix;
  @@ -273,7 +273,7 @@
   	{
   		for(int i = 0; i < depth; i++)
   		{
  -			const NamespaceVectorType& namespaces = nsStack.at(i);
  +			const NamespaceVectorType& namespaces = nsStack[i];
   			prefix = QName::getPrefixForNamespace(namespaces, uri, reverse);
   			if (! ::isEmpty(prefix))
   				return prefix;