You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/04/17 17:50:29 UTC
cvs commit: xml-xalan/java/src/org/apache/xpath/functions FuncLang.java
sboag 01/04/17 08:50:29
Modified: java/src/org/apache/xpath/functions Tag: DTM_EXP
FuncLang.java
Log:
Fixed call to getAttributeNode, which changed in the DTM interface.
Revision Changes Path
No revision
No revision
1.3.2.2 +1 -1 xml-xalan/java/src/org/apache/xpath/functions/FuncLang.java
Index: FuncLang.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/functions/FuncLang.java,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -r1.3.2.1 -r1.3.2.2
--- FuncLang.java 2001/04/10 18:45:30 1.3.2.1
+++ FuncLang.java 2001/04/17 15:50:26 1.3.2.2
@@ -95,7 +95,7 @@
{
if (DTM.ELEMENT_NODE == dtm.getNodeType(parent))
{
- int langAttr = dtm.getAttributeNode("http://www.w3.org/XML/1998/namespace", "lang");
+ int langAttr = dtm.getAttributeNode(parent, "http://www.w3.org/XML/1998/namespace", "lang");
if (DTM.NULL != langAttr)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org