Bug 19426 - [QT3TS] Error in unionListDefined.xsd
[QT3TS] Error in unionListDefined.xsd
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite
Working drafts
PC Windows NT
: P2 normal
: ---
Assigned To: O'Neil Delpratt
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-10 10:02 UTC by Tim Mills
Modified: 2012-10-10 13:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.