spec/spec_helper.rb in schematic-0.5.0 vs spec/spec_helper.rb in schematic-0.5.1
- old
+ new
@@ -46,51 +46,58 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Integer">
<xs:simpleContent>
<xs:extension base="xs:integer">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Float">
<xs:simpleContent>
<xs:extension base="xs:float">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="String">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Text">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DateTime">
<xs:simpleContent>
<xs:extension base="xs:dateTime">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Date">
<xs:simpleContent>
<xs:extension base="xs:date">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Boolean">
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="nil" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="#{xsd_generator.names.element_collection}" type="#{xsd_generator.names.collection_type}">
#{header_element}