dbertoni    02/01/22 16:00:37

  Modified:    c/src/XPath FunctionLang.cpp
  Log:
  Use proper namespace URI for getting xml:lang attribute.
  
  Revision  Changes    Path
  1.11      +2 -2      xml-xalan/c/src/XPath/FunctionLang.cpp
  
  Index: FunctionLang.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/FunctionLang.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- FunctionLang.cpp  26 Sep 2001 20:58:46 -0000      1.10
  +++ FunctionLang.cpp  23 Jan 2002 00:00:37 -0000      1.11
  @@ -67,7 +67,7 @@
   
   
   FunctionLang::FunctionLang() :
  -     m_attributeName(XALAN_STATIC_UCODE_STRING("xml:lang"))
  +     m_attributeName(XALAN_STATIC_UCODE_STRING("lang"))
   {
   }
   
  @@ -106,7 +106,7 @@
   #endif
   
                        const XalanDOMString            langVal =
  -                             theElementNode->getAttribute(m_attributeName);
  +                             
theElementNode->getAttributeNS(DOMServices::s_XMLNamespaceURI, m_attributeName);
   
                        if(0 != length(langVal))
                        {
  
  
  

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

Reply via email to