xsi:type attribute ignored during validation
Bug #1023362 reported by
Markos Zaharioudakis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Cezar Andrei |
Bug Description
I think that the following query should return xs:integer, but it returns xs:untypedAtomic.
import module namespace schema = "http://
declare variable $doc :=
<numbers xmlns:xs="http://
<xs_long xsi:type=
<xs_long xsi:type=
<xs_long>
</numbers>
;
declare variable $vdoc := validate lax { $doc };
schema:
Related branches
lp:~zorba-coders/zorba/bug1023362-xsiTypeIgnored
- Matthias Brantner: Approve
- Markos Zaharioudakis: Approve
- Cezar Andrei: Approve
-
Diff: 485 lines (+84/-47)7 files modifiedChangeLog (+1/-0)
src/types/schema/EventSchemaValidator.cpp (+13/-13)
src/types/schema/SchemaValidatorFilter.cpp (+24/-17)
src/types/schema/XercSchemaValidator.cpp (+9/-1)
src/types/schema/XercSchemaValidator.h (+17/-16)
test/rbkt/ExpQueryResults/zorba/schemas/val-laxXsiType.xml.res (+2/-0)
test/rbkt/Queries/zorba/schemas/val-laxXsiType.xq (+18/-0)
Changed in zorba: | |
milestone: | none → 2.9 |
tags: | added: hotlist |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.