Merge lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba

Proposed by Cezar Andrei
Status: Merged
Approved by: Chris Hillery
Approved revision: 11337
Merged at revision: 11363
Proposed branch: lp:~zorba-coders/zorba/bug1160028-valType
Merge into: lp:zorba
Diff against target: 26 lines (+3/-2)
2 files modified
src/types/schema/SchemaValidatorFilter.cpp (+3/-1)
test/fots/CMakeLists.txt (+0/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug1160028-valType
Reviewer Review Type Date Requested Status
Sorin Marian Nasoi Approve
Cezar Andrei Approve
Review via email: mp+157193@code.launchpad.net

Commit message

Fix for bug1160028. Fix URI of the type when validating with xsi:type attribute specified.

Description of the change

Fix for bug1160028. Fix URI of the type when validating with xsi:type attribute specified.

To post a comment you must log in.
Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

Fix for bug1160028. Fix URI of the type when validating with xsi:type attribute specified.

review: Approve
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

I see that the proposed change fixes only one failure from bug lp:1160028.

If you want I can approbe the change but you have to open a new bug for the remaining 13 failures from bug lp:1160028,

The alternative off course if to keep the bind to lp:1160028 and try to fix the remaining 13 failures.

Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

since they are different bugs I would merge this one and keep the bug opened or add a new bug for the rest.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

> since they are different bugs I would merge this one and keep the bug opened
> or add a new bug for the rest.
Added lp:1167400 for the 9 remaining failures.

The 4 failures in "prod-FunctionCall": "FunctionCall-003, FunctionCall-005, FunctionCall-007, FunctionCall-008"
are fixed: checked in r11361.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.

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 bug1160028-valType-2013-04-10T15-50-06.234Z 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
1=== modified file 'src/types/schema/SchemaValidatorFilter.cpp'
2--- src/types/schema/SchemaValidatorFilter.cpp 2013-02-26 04:12:43 +0000
3+++ src/types/schema/SchemaValidatorFilter.cpp 2013-04-04 21:42:22 +0000
4@@ -1028,7 +1028,9 @@
5 {
6 const ElemStack::StackElem* topElem = fElemStack.topElement();
7 DatatypeValidator *currentDV = 0;
8- if(topElem->fThisElement->isDeclared())
9+ if(topElem->fThisElement->isDeclared() ||
10+ theXsiType // this is when there is no schema import but xsiType is used
11+ )
12 {
13 ComplexTypeInfo *currentTypeInfo = ((XercSchemaValidator*)fValidator)->getCurrentTypeInfo();
14 if(currentTypeInfo)
15
16=== modified file 'test/fots/CMakeLists.txt'
17--- test/fots/CMakeLists.txt 2013-04-04 11:51:59 +0000
18+++ test/fots/CMakeLists.txt 2013-04-04 21:42:22 +0000
19@@ -537,7 +537,6 @@
20 EXPECTED_FOTS_FAILURE (prod-SchemaImport cbcl-validated-schema-element-4 0)
21 EXPECTED_FOTS_FAILURE (prod-TypeswitchExpr typeswitch-in-xpath 0)
22 EXPECTED_FOTS_FAILURE (prod-TypeswitchExpr typeswitch-113 0)
23-EXPECTED_FOTS_FAILURE (prod-ValidateExpr validateexpr-36 0)
24 EXPECTED_FOTS_FAILURE (prod-ValidateExpr validateexpr-38 0)
25 EXPECTED_FOTS_FAILURE (prod-ValidateExpr validateexpr-41 0)
26 EXPECTED_FOTS_FAILURE (prod-ValidateExpr validate-as-101 0)

Subscribers

People subscribed via source and target branches