XSD 1.1 failing test cases

Bug #1156154 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
High
Cezar Andrei

Bug Description

After the change from XSD 1.0 to XSD 1.1 in
http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/revision/11287

there are 11 new FOTS test case failures that may be seen here:
http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/revision/11287#test/fots/CMakeLists.txt

Please note that 2 of them from "prod-CastExpr" test set:
- K2-SeqExprCast-231
- K2-SeqExprCast-232
already have a W3C bug assigned, a.k.a.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21263

Related branches

summary: - XSD 1.1 failing test cases
+ FOTS: XSD 1.1 failing test cases
Chris Hillery (ceejatec)
Changed in zorba:
milestone: none → 2.9
importance: Undecided → High
tags: added: hotlist
Revision history for this message
Cezar Andrei (cezar-andrei) wrote : Re: FOTS: XSD 1.1 failing test cases

- xs-double xs-double-004 works fine but it fails because it has a dependency on xsd 1.0 only and not on xsd 1.1.
    $zorba -q 'exists(xs:double("+INF"))'
      <?xml version="1.0" encoding="UTF-8"?>
      true

Changed in zorba:
status: New → In Progress
summary: - FOTS: XSD 1.1 failing test cases
+ XSD 1.1 failing test cases
tags: added: schema
Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

The following cases in prod-SchemaImport: substitution-020 to 025 fail because they all make use of substitution11.xsd which uses a new feature in xsd11 that current Xerces doesn't implement it.

The schema contains:
  <xs:element name="A" abstract="true" substitutionGroup="s:H1 s:H2" nillable="true"/>

In xsd10 the attribute substitutionGroup is defined as QName, while in xsd11 is defined as List of QName. Since Xerces expects a QName and value "s:H1 s:H2" is not, hence the error.

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

Tests fn-adjust-dateTime-to-timezone/cbcl-adjust-dateTime-to-timezone-001 and 004 pass correctly.

Tests prod-CastExpr/K2-SeqExprCast-231 and K2-SeqExprCast-232 already have a W3C bug assigned, a.k.a.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21263 See Sorin's original bug description.

Test xs-double/xs-double-004 works fine is missing xsd11 dependency. See my comment#1.

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

Opened lp:1170441 for the remaining failures.

Changed in zorba:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.