Skip to content

Commit

Permalink
Release v20.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Jan 14, 2020
1 parent c05f208 commit f420ac1
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 19 deletions.
15 changes: 13 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
20.1.2 (2020-01-13)
-------------------
- Generate anonymous Enumerations
- Generate attributes from List and Union elements
- Fix restriction inheritance
- Officially support python 3.8
- Completely migrate to setup.cfg
- Introduce integration test suite


20.1.1 (2020-01-09)
------------------
-------------------

- Change print mode to print rendered output
- Added new format PlantUML class diagram to replace the old print/debug mode


20.1 (2020-01-07)
------------------
-----------------

- Initial release
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = xsdata
version = 2.1.3
version = 20.1.2
description = Python XML Binding
long_description = file: README.rst
long_description_content_type = text/x-rst
Expand All @@ -24,6 +24,7 @@ keywords = xml,binding,xsd,schema,cli,dataclass
project_urls =
Source=https://github.com/tefra/xsdata
Documentation=https://xsdata.readthedocs.io/
Changelog=https://xsdata.readthedocs.io/en/latest/changelog.html

[options]
packages = xsdata
Expand Down
12 changes: 6 additions & 6 deletions tests/fixtures/defxmlschema/chapter07/example0703.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
</xs:simpleType>
</xs:attribute>
<xs:attribute name="anything" />
<xs:complexType name="attributes">
<xs:attribute ref="anything" />
<xs:attribute ref="color" />
<xs:attribute ref="dim" />
<xs:attribute ref="system" />
</xs:complexType>
<xs:complexType name="attributes">
<xs:attribute ref="anything" />
<xs:attribute ref="color" />
<xs:attribute ref="dim" />
<xs:attribute ref="system" />
</xs:complexType>
</xs:schema>
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter10/example1012.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<xs:enumeration value="large" />
</xs:restriction>
</xs:simpleType>
<xs:element name="AvailableSizesType" type="AvailableSizesType" />
<xs:element name="AvailableSizesType" type="AvailableSizesType" />
</xs:schema>
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter10/example1013.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:element name="AvailableSizesType" type="AvailableSizesType" />
<xs:element name="AvailableSizesType" type="AvailableSizesType" />
</xs:schema>
4 changes: 2 additions & 2 deletions tests/fixtures/defxmlschema/chapter10/example1014.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Definitive XML Schema by Priscilla Walmsley (c) 2012 Prentice Hall PTR -->
<!-- Example 10-14 Enumeration correctly applied to a list type -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="example1002.xsd" />
<xs:include schemaLocation="example1002.xsd" />
<xs:simpleType name="ApplicableSizesType">
<xs:restriction>
<xs:simpleType>
Expand All @@ -11,5 +11,5 @@
<xs:enumeration value="2 4 6 8 10 12 14 16 18" />
</xs:restriction>
</xs:simpleType>
<xs:element name="ApplicableSizesType" type="ApplicableSizesType" />
<xs:element name="ApplicableSizesType" type="ApplicableSizesType" />
</xs:schema>
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter12/example1207.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Definitive XML Schema by Priscilla Walmsley (c) 2012 Prentice Hall PTR -->
<!-- Example 12-7 Complex type with element-only content -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:complexType name="ProductType">
<xs:sequence>
<xs:element name="number" type="xs:integer" />
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter12/example1212.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Definitive XML Schema by Priscilla Walmsley (c) 2012 Prentice Hall PTR -->
<!-- Example 12-12 Element references -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:element name="number" type="xs:integer" />
<xs:element name="name" type="xs:string" />
<xs:element name="size" type="SizeType" />
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter12/example1215.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Definitive XML Schema by Priscilla Walmsley (c) 2012 Prentice Hall PTR -->
<!-- Example 12-15 A sequence group -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:complexType name="ProductType">
<xs:sequence>
<xs:element name="number" type="xs:integer" />
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/defxmlschema/chapter12/example1226.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Definitive XML Schema by Priscilla Walmsley (c) 2012 Prentice Hall PTR -->
<!-- Example 12-26 An illegal all group -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:import schemaLocation="../chapter10/example1001.xsd" />
<xs:complexType name="ProductType">
<xs:sequence>
<xs:element name="number" type="xs:integer" />
Expand Down
3 changes: 1 addition & 2 deletions tests/fixtures/defxmlschema/chapter12/example1247.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<!-- SKIPTEST -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ProductType">
<xs:sequence>
</xs:sequence>
<xs:sequence />
<xs:anyAttribute namespace="##other" processContents="lax" />
</xs:complexType>
</xs:schema>

0 comments on commit f420ac1

Please sign in to comment.