File: 04_JDOM_StringFunction.patch

package info (click to toggle)
werken.xpath 0.9.4-16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,564 kB
  • sloc: java: 3,115; xml: 1,144; sh: 31; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: werken.xpath-0.9.4/src/com/werken/xpath/function/StringFunction.java
===================================================================
--- werken.xpath-0.9.4.orig/src/com/werken/xpath/function/StringFunction.java	2000-10-24 05:30:00.000000000 +0200
+++ werken.xpath-0.9.4/src/com/werken/xpath/function/StringFunction.java	2011-08-29 17:10:54.000000000 +0200
@@ -71,7 +71,7 @@
 
   public static String evaluate(Element elem)
   {
-    List content = elem.getMixedContent();
+    List content = elem.getContent();
 
     Iterator contentIter = content.iterator();
     Object each = null;