You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/02/23 07:29:41 UTC

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

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 <da...@apache.org>
Authored: Tue Feb 23 07:29:13 2016 +0100
Committer: Claus Ibsen <da...@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