dmitri 02/05/28 17:38:07
Modified: jxpath/src/java/org/apache/commons/jxpath/ri/model/beans
DynamicPropertyPointer.java
Log:
Fix for bugs #9336 & #9381
Revision Changes Path
1.6 +5 -5
jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/beans/DynamicPropertyPointer.java
Index: DynamicPropertyPointer.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/beans/DynamicPropertyPointer.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DynamicPropertyPointer.java 8 May 2002 23:05:05 -0000 1.5
+++ DynamicPropertyPointer.java 29 May 2002 00:38:07 -0000 1.6
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/beans/DynamicPropertyPointer.java,v
1.5 2002/05/08 23:05:05 dmitri Exp $
- * $Revision: 1.5 $
- * $Date: 2002/05/08 23:05:05 $
+ * $Header:
/home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/model/beans/DynamicPropertyPointer.java,v
1.6 2002/05/29 00:38:07 dmitri Exp $
+ * $Revision: 1.6 $
+ * $Date: 2002/05/29 00:38:07 $
*
* ====================================================================
* The Apache Software License, Version 1.1
@@ -75,7 +75,7 @@
* Pointer pointing to a property of an object with dynamic properties.
*
* @author Dmitri Plotnikov
- * @version $Revision: 1.5 $ $Date: 2002/05/08 23:05:05 $
+ * @version $Revision: 1.6 $ $Date: 2002/05/29 00:38:07 $
*/
public class DynamicPropertyPointer extends PropertyPointer {
private DynamicPropertyHandler handler;
@@ -193,7 +193,7 @@
* collection, otherwise - 1.
*/
public int getLength(){
- return ValueUtils.getLength(getNodeValue());
+ return ValueUtils.getLength(getBaseValue());
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>