You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by vi...@apache.org on 2012/06/13 22:15:05 UTC
svn commit: r1349998 -
/incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java
Author: vinayakb
Date: Wed Jun 13 20:15:05 2012
New Revision: 1349998
URL: http://svn.apache.org/viewvc?rev=1349998&view=rev
Log:
Added partial implementation of type serialization
Modified:
incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java
Modified: incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java?rev=1349998&r1=1349997&r2=1349998&view=diff
==============================================================================
--- incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java (original)
+++ incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java Wed Jun 13 20:15:05 2012
@@ -1842,7 +1842,14 @@ public class XMLQueryTranslator {
break;
}
case BuiltinTypeConstants.XSEXT_TYPE_TYPE_ID: {
- throw new UnsupportedOperationException();
+ SequenceType st = (SequenceType) value;
+ baaos.reset();
+ try {
+ dOut.write((byte) BuiltinTypeConstants.XSEXT_TYPE_TYPE_ID);
+ } catch (IOException e) {
+ throw new SystemException(ErrorCode.SYSE0001, e);
+ }
+ break;
}
default:
throw new SystemException(ErrorCode.SYSE0001);