From d4cb1f400fa91e1804e29c0f8285d9bccaf30bc7 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 24 Jun 2008 14:34:56 +0000 Subject: TUSCANY-2427 move back to saxon 8.7 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@671193 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/databinding/saxon/SimpleType2ValueTransformer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java') diff --git a/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java b/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java index 11d2fd0d56..67d89a6e0b 100644 --- a/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java +++ b/branches/sca-java-1.3/modules/databinding-saxon/src/main/java/org/apache/tuscany/sca/databinding/saxon/SimpleType2ValueTransformer.java @@ -23,7 +23,7 @@ import java.math.BigDecimal; import net.sf.saxon.value.DecimalValue; import net.sf.saxon.value.DoubleValue; import net.sf.saxon.value.FloatValue; -import net.sf.saxon.value.Int64Value; +import net.sf.saxon.value.IntegerValue; import net.sf.saxon.value.ObjectValue; import net.sf.saxon.value.StringValue; import net.sf.saxon.value.Value; @@ -63,13 +63,13 @@ public class SimpleType2ValueTransformer extends BaseTransformer public Value transform(Object source, TransformationContext context) { Value result = null; if (source instanceof Integer) { - result = new Int64Value((Integer)source); + result = new IntegerValue((Integer)source); } else if (source instanceof Long) { - result = new Int64Value((Long)source); + result = new IntegerValue((Long)source); } else if (source instanceof Short) { - result = new Int64Value((Short)source); + result = new IntegerValue((Short)source); } else if (source instanceof Byte) { - result = new Int64Value((Byte)source); + result = new IntegerValue((Byte)source); } else if (source instanceof Double) { result = new DoubleValue((Double)source); } else if (source instanceof Float) { -- cgit v1.2.3