zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #20099
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
Cezar Andrei has proposed merging lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba.
Requested reviews:
Cezar Andrei (cezar-andrei)
Sorin Marian Nasoi (sorin.marian.nasoi)
Related bugs:
Bug #1160028 in Zorba: "validate type failures (at least 14)"
https://bugs.launchpad.net/zorba/+bug/1160028
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug1160028-valType/+merge/157193
Fix for bug1160028. Fix URI of the type when validating with xsi:type attribute specified.
--
https://code.launchpad.net/~zorba-coders/zorba/bug1160028-valType/+merge/157193
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/types/schema/SchemaValidatorFilter.cpp'
--- src/types/schema/SchemaValidatorFilter.cpp 2013-02-26 04:12:43 +0000
+++ src/types/schema/SchemaValidatorFilter.cpp 2013-04-04 18:24:31 +0000
@@ -1028,7 +1028,9 @@
{
const ElemStack::StackElem* topElem = fElemStack.topElement();
DatatypeValidator *currentDV = 0;
- if(topElem->fThisElement->isDeclared())
+ if(topElem->fThisElement->isDeclared() ||
+ theXsiType // this is when there is no schema import but xsiType is used
+ )
{
ComplexTypeInfo *currentTypeInfo = ((XercSchemaValidator*)fValidator)->getCurrentTypeInfo();
if(currentTypeInfo)
Follow ups
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: noreply, 2013-04-10
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Zorba Build Bot, 2013-04-10
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Zorba Build Bot, 2013-04-10
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Chris Hillery, 2013-04-10
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Zorba Build Bot, 2013-04-10
-
Re: [Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Zorba Build Bot, 2013-04-10
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Chris Hillery, 2013-04-10
-
Re: [Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Sorin Marian Nasoi, 2013-04-10
-
Re: [Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Cezar Andrei, 2013-04-10
-
Re: [Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Sorin Marian Nasoi, 2013-04-04
-
[Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Cezar Andrei, 2013-04-04
-
Re: [Merge] lp:~zorba-coders/zorba/bug1160028-valType into lp:zorba
From: Cezar Andrei, 2013-04-04