cziegeler 2003/03/03 02:14:27
Modified: src/java/org/apache/cocoon/components/xpath XPathUtil.java
Log:
Fixing bug and updating changes
Revision Changes Path
1.5 +3 -2
xml-cocoon2/src/java/org/apache/cocoon/components/xpath/XPathUtil.java
Index: XPathUtil.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/xpath/XPathUtil.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XPathUtil.java 31 Jan 2003 22:51:40 -0000 1.4
+++ XPathUtil.java 3 Mar 2003 10:14:27 -0000 1.5
@@ -60,6 +60,7 @@
* for simple XPath expressions and can create XPaths.
* If you know that your XPath expression is simple, you should use this
* helper instead.
+ * FIXME (CZ) : Move this to excalibur and remove it here
*
* @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
* @version CVS $Id$
@@ -153,7 +154,7 @@
}
if (isAttribute == true) {
try {
- newNode =
rootNode.getOwnerDocument().createAttributeNS(null, nodeName);
+ newNode =
rootNode.getOwnerDocument().createAttributeNS(null, nodeName.substring(1));
} catch (DOMException local) {
throw new ProcessingException("Unable to create new DOM
node: '"+nodeName+"'.", local);
}