camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-9534: Applied the 0005 patch with thanks to Karsten Blees.
Date Tue, 23 Feb 2016 06:29:41 GMT
Repository: camel
Updated Branches:
  refs/heads/master 4e32ac6c3 -> 11ce32132


CAMEL-9534: Applied the 0005 patch with thanks to Karsten Blees.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/11ce3213
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/11ce3213
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/11ce3213

Branch: refs/heads/master
Commit: 11ce321321e1a0b5f6d763bb69f18908f81fc4cd
Parents: 4e32ac6
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Feb 23 07:29:13 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Feb 23 07:29:13 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/11ce3213/camel-core/src/main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java
b/camel-core/src/main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java
index 89a17b0..ccb4366 100644
--- a/camel-core/src/main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java
+++ b/camel-core/src/main/java/org/apache/camel/converter/jaxp/StAX2SAXSource.java
@@ -241,7 +241,7 @@ public class StAX2SAXSource extends SAXSource implements XMLReader {
             if (!checkIndex(index)) {
                 return null;
             }
-            return nullToEmpty(streamReader.getAttributeType(index));
+            return nullToEmpty(streamReader.getAttributeValue(index));
         }
 
         @Override


Mime
View raw message