This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19426 - [QT3TS] Error in unionListDefined.xsd
Summary: [QT3TS] Error in unionListDefined.xsd
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 10:02 UTC by Tim Mills
Modified: 2012-10-10 13:19 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2012-10-10 10:02:04 UTC
The .NET schema compiler complains about the use of xs:sequence here.  It's expecting a complexType or simpleType.


  <xs:element name="elementContainingApproximateDate">
    <xs:sequence>
      <xs:element name="e" type="s:approximateDate"/>
    </xs:sequence>
  </xs:element>
  
  <xs:element name="elementContainingDateTime" substitutionGroup="s:elementContainingApproximateDate">
    <xs:sequence>
      <xs:element name="e" type="xs:dateTime"/>
    </xs:sequence>
  </xs:element>
Comment 1 Michael Kay 2012-10-10 11:15:37 UTC
Fixed, the schema is now valid.
Comment 2 Tim Mills 2012-10-10 13:19:42 UTC
Thanks.