Merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba

Proposed by Markos Zaharioudakis
Status: Merged
Approved by: Markos Zaharioudakis
Approved revision: 11162
Merged at revision: 11537
Proposed branch: lp:~zorba-coders/zorba/markos-scratch
Merge into: lp:zorba
Diff against target: 50 lines (+4/-3)
4 files modified
ChangeLog (+1/-0)
src/compiler/translator/translator.cpp (+2/-1)
src/types/typeops.cpp (+1/-1)
test/fots/CMakeLists.txt (+0/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/markos-scratch
Reviewer Review Type Date Requested Status
Markos Zaharioudakis Approve
Review via email: mp+171029@code.launchpad.net

Commit message

Fixed bug #1188281 (casting to xs:anySimpleType not allowed)

Description of the change

Fixed bug #1188281 (casting to xs:anySimpleType not allowed)

To post a comment you must log in.
11162. By Markos Zaharioudakis

Fixed bug #1188281

Revision history for this message
Markos Zaharioudakis (markos-za) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job markos-scratch-2013-06-24T08-28-50.033Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2013-06-20 15:23:53 +0000
+++ ChangeLog 2013-06-24 08:18:27 +0000
@@ -44,6 +44,7 @@
44 * Fixed bug #1190710 (fn-format-date failures)44 * Fixed bug #1190710 (fn-format-date failures)
45 * Fixed bug #1190407 (wrong rewrite of if-then-else return clause in case45 * Fixed bug #1190407 (wrong rewrite of if-then-else return clause in case
46 of general flwor)46 of general flwor)
47 * Fixed bug #1188281 (casting to xs:anySimpleType not allowed)
47 * jn:members function takes item()* as aparameter (instead of item())48 * jn:members function takes item()* as aparameter (instead of item())
48 * jn:keys function takes item()* as aparameter (instead of item())49 * jn:keys function takes item()* as aparameter (instead of item())
49 * Fixed bug #1189996 (Relocate some public API headers to util)50 * Fixed bug #1189996 (Relocate some public API headers to util)
5051
=== modified file 'src/compiler/translator/translator.cpp'
--- src/compiler/translator/translator.cpp 2013-06-21 12:07:22 +0000
+++ src/compiler/translator/translator.cpp 2013-06-24 08:18:27 +0000
@@ -9345,7 +9345,8 @@
9345 if (TypeOps::is_equal(tm, *type, *theRTM.NOTATION_TYPE_ONE, loc) ||9345 if (TypeOps::is_equal(tm, *type, *theRTM.NOTATION_TYPE_ONE, loc) ||
9346 TypeOps::is_equal(tm, *type, *theRTM.NOTATION_TYPE_QUESTION, loc) ||9346 TypeOps::is_equal(tm, *type, *theRTM.NOTATION_TYPE_QUESTION, loc) ||
9347 TypeOps::is_equal(tm, *type, *theRTM.ANY_ATOMIC_TYPE_ONE, loc) ||9347 TypeOps::is_equal(tm, *type, *theRTM.ANY_ATOMIC_TYPE_ONE, loc) ||
9348 TypeOps::is_equal(tm, *type, *theRTM.ANY_ATOMIC_TYPE_QUESTION, loc))9348 TypeOps::is_equal(tm, *type, *theRTM.ANY_ATOMIC_TYPE_QUESTION, loc) ||
9349 TypeOps::is_equal(tm, *type, *theRTM.ANY_SIMPLE_TYPE, loc))
9349 {9350 {
9350 RAISE_ERROR(err::XPST0080, loc, ERROR_PARAMS(type->toString()));9351 RAISE_ERROR(err::XPST0080, loc, ERROR_PARAMS(type->toString()));
9351 }9352 }
93529353
=== modified file 'src/types/typeops.cpp'
--- src/types/typeops.cpp 2013-06-15 02:57:08 +0000
+++ src/types/typeops.cpp 2013-06-24 08:18:27 +0000
@@ -379,7 +379,7 @@
379 return false;379 return false;
380 }380 }
381381
382 switch(type1.type_kind()) 382 switch (type1.type_kind())
383 {383 {
384 case XQType::ATOMIC_TYPE_KIND:384 case XQType::ATOMIC_TYPE_KIND:
385 {385 {
386386
=== modified file 'test/fots/CMakeLists.txt'
--- test/fots/CMakeLists.txt 2013-06-22 10:59:44 +0000
+++ test/fots/CMakeLists.txt 2013-06-24 08:18:27 +0000
@@ -214,7 +214,6 @@
214EXPECTED_FOTS_FAILURE (prod-Annotation annotation-assertion-9 1172270)214EXPECTED_FOTS_FAILURE (prod-Annotation annotation-assertion-9 1172270)
215EXPECTED_FOTS_FAILURE (prod-Annotation annotation-assertion-10 1172270)215EXPECTED_FOTS_FAILURE (prod-Annotation annotation-assertion-10 1172270)
216EXPECTED_FOTS_FAILURE (prod-BaseURIDecl K2-BaseURIProlog-5 1133806)216EXPECTED_FOTS_FAILURE (prod-BaseURIDecl K2-BaseURIProlog-5 1133806)
217EXPECTED_FOTS_FAILURE (prod-CastableExpr K-SeqExprCastable-5a 1188281)
218EXPECTED_FOTS_FAILURE (prod-CastExpr CastAsNamespaceSensitiveType-11 1188279)217EXPECTED_FOTS_FAILURE (prod-CastExpr CastAsNamespaceSensitiveType-11 1188279)
219EXPECTED_FOTS_FAILURE (prod-CastExpr CastAsNamespaceSensitiveType-12 1188279)218EXPECTED_FOTS_FAILURE (prod-CastExpr CastAsNamespaceSensitiveType-12 1188279)
220EXPECTED_FOTS_FAILURE (prod-CastExpr.schema CastAs-UnionType-17 1110217)219EXPECTED_FOTS_FAILURE (prod-CastExpr.schema CastAs-UnionType-17 1110217)

Subscribers

People subscribed via source and target branches