dmitryh     2004/11/15 08:03:10

  Modified:    c/src/xalanc/XPath XPath.cpp
  Log:
  Fix for Solaris machine
  
  Revision  Changes    Path
  1.20      +8 -12     xml-xalan/c/src/xalanc/XPath/XPath.cpp
  
  Index: XPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XPath.cpp,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- XPath.cpp 14 Nov 2004 21:13:05 -0000      1.19
  +++ XPath.cpp 15 Nov 2004 16:03:10 -0000      1.20
  @@ -5326,6 +5326,14 @@
        }
   }
   
  +inline bool
  +XPath::NodeTester::matchLocalNameAndNamespaceURI(const XalanNode&    
context) const
  +{
  +     assert(m_targetNamespace != 0 && m_targetLocalName != 0);
  +
  +     return DOMServices::getLocalNameOfNode(context) == *m_targetLocalName &&
  +                context.getNamespaceURI() == *m_targetNamespace;
  +}
   
   
   XPath::eMatchScore
  @@ -5613,18 +5621,6 @@
   
        return context.getNamespaceURI() == *m_targetNamespace;
   }
  -
  -
  -
  -inline bool
  -XPath::NodeTester::matchLocalNameAndNamespaceURI(const XalanNode&    
context) const
  -{
  -     assert(m_targetNamespace != 0 && m_targetLocalName != 0);
  -
  -     return DOMServices::getLocalNameOfNode(context) == *m_targetLocalName &&
  -                context.getNamespaceURI() == *m_targetNamespace;
  -}
  -
   
   
   bool
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to