Age | Commit message (Collapse) | Author | Files | Lines |
|
`v2.1.1`_ (2022-10-01)
======================
* Fix *schema_path* usage in `XMLSchemaBase.iter_errors()`
* Add *allow_empty* option to `XMLSchemaBase` validation API
`v2.1.0`_ (2022-09-25)
======================
* Add *to_etree()* to document API
* Improve generic encoding with wildcards
* Clean document API and schema decoding
`v2.0.4`_ (2022-09-08)
======================
* Add *use_location_hints* argument to document API for giving the option
of ignoring XSI schema locations hints
* Fix import from locations hints with namespace mismatch
`v2.0.3`_ (2022-08-25)
======================
* Add *keep_empty* and *element_hook* options to main `iter_decode()` method
* Fix default namespace mapping in `BadgerFishConverter`
* Fix type restriction check if restricted particle has `maxOccurs==0`
`v2.0.2`_ (2022-08-12)
======================
* Fix XSD 1.1 assertions effective scope
* Add support for Python 3.11
`v2.0.1`_ (2022-07-21)
======================
* Remove warnings during the build of the package using package_data specs in setup.py
* Fix decoding with `process_namespaces=False` and xsi:type in XML instance
* Refactor `DataElement.get()`, restore `DataElement.set()`
* Add *map_attribute_names* argument to `DataElementConverter`
`v2.0.0`_ (2022-07-18)
======================
* Refactor XPath interface for the full XPath node implementation of elementpath v3.0
* Fix BadgerFishConverter with mixed content
* Improve `get()` and `set()` of DataElement
|
|
v1.11.3
* Fix invalid element not detected with empty particle
* Fix Sphinx warnings
|
|
v1.11.2
* Fix 'replace_existing' argument usage in `XsdElement.get_binding` method
* Add Russian full translation
|
|
v1.11.1
* Protect converter calls in iter_decode()/iter_encode()
* Extend XSD type matching for code generators (fallback to schema types with a local name)
|
|
v1.11.0
* Add localization for validation related error messages
* Add Italian translation
* Add Russian partial translation
|
|
v1.10.0:
* Add 'nonlocal' option to *defuse* argument of `XMLResource` (also for schema classes)
* Add 'none' option to *allow* argument of `XMLResource`
* Fix too strict parsing on XSD annotations
* Drop support for Python 3.6
|
|
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.
Set this flag for packages that need it and bump PKGREVISION.
|
|
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
|
v1.9.2:
* Fix for global simple type naming
|
|
|
|
v1.9.1
* Improve error reporting for encoded data
* Fix attribute duplicates in attribute group
* Add process_skipped optional argument to decoding/encoding
|
|
v1.9.0
* Add iter_decode() to document level API
* Enhance XMLResource class adding usage of pathlib.Path objects
for source and base_url arguments
* Fix for issue 273
|
|
v1.8.2
* Fix for issues
* Fix type annotation of XMLSchema source argument
|
|
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
|
v1.8.1
* Near compliance with strict type annotations
* Removed ModelGroup class, merged with XsdGroup
* Some optimizations and fixes from static analysis
|
|
v1.8.0:
* Refactor XMLSchemaMeta deprecating BUILDER attribute
* Extend type annotations to package API
* Add static typing tests with checked mypy runs
|
|
|
|
`v1.7.1`_ (2021-09-03)
======================
* Activate mypy checks for package
* Fix for issues 257 and 259
`v1.7.0`_ (2021-08-02)
======================
* Make XSD annotation parsing lazy
* Add lazy annotations to schema instances
* Add get_annotation() method to multiple-facets classes
|
|
v1.6.4
* Add testing config for Python 3.10 (Tox and CI)
* Fix internal _PurePath class with Python 3.10
* Remove redundant xmlns="" declaration when encoding with lxml
v1.6.3
* Refactor normalize_url() using pathlib.PurePath
* Support UNC paths
* Fix API docs
|
|
v1.6.2
* Fix for issue 245 (key/keyref with dynamic types)
* Change default decoding of mixed content with only text to a string
instead of a dictionary
|
|
v1.6.1:
* Add multi-source initialization and add_schema() to schema class
* Add bytes strings to accepted XML sources
|
|
v1.6.0
* XML data bindings and code generators are now considered stable
* Add arguments 'max_depth' and 'extra_validator' to validation methods
* Enhance decoding with 'value_hook' argument
|
|
v1.5.3:
* Remove unnecessary bindings with schema proxy from ElementPathMixin
to avoid conflicts when schema is used by an XPath 3 parser
* Fix schema logger
|
|
v1.5.2
* Improve empty content checking
* Fix simple content restriction of xs:complexType
* Fix facets retrieving for xs:complexType with simple content
|
|
v1.5.1
* Optimize NamespaceView read-only mapping
* Add experimental XML data bindings with a DataBindingConverter
* Add experimental PythonGenerator for static codegen with Jinja2
|
|
v1.5.0
* Add DataElement class for creating objects with schema bindings
* Add DataElementConverter for decode to structured objects
* Add an experimental abstract base class for building jinja2 based
code generators (jinja2 as an optional dependency)
|
|
v1.4.2
* Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary)
* Fix encoding from string values for some builtin datatypes
(decimal, binary, duration and datetime).
|
|
v1.4.1
* Include the pull request (fix xml.etree import)
* Additional tests for schema components
v1.4.0
* Fix for issues
* Code cleaning and optimizations on schema components
* Reducing and grouping helper functions
|
|
v1.3.1:
* Apply patches for packaging
|
|
v1.3.0:
* Drop support for Python 3.5
* Add XmlDocument and Wsdl11Document classes
* Refactoring of XMLResource to support ElementTree-like XPath API
on both full and lazy modes
|
|
v1.2.5
* Add schema export API to schema and global maps
* Fix decoding with lax/skip validation modes
* Add *keep_unknown* optional argument for *iter_decode()* methods
|
|
v1.2.4:
* Use the regex engine of *elementpath* library
* Fix and extend tests on xs:assert
|
|
|
|
v1.2.3:
* Full coverage of W3C tests (excluding ones for unavailable or unimplemented features)
* Update and restrict elementpath dependency to v2.0.x
* Fix check and iteration of empty model group
* Fix substitution group iteration for local elements
|
|
v1.2.2:
* Fix XPath context for schema nodes
* Fix XPath parser and context for identities
v1.2.1:
* Fix content type classification
* Make sandbox mode more explicit
* Allow alphanumeric prefixes for the base converter
* Fix XPath issues with default namespace
* Fix W3C tests on XSD identities
|
|
v1.2.0:
* Add ColumnarConverter class
* Add command-line interface utility for document API
* Fix a stable public API for XSD types, elements and attributes
* Add security modes for accessing URLs
|
|
using the system locale with Python 3.6 otherwise, falling back to
ASCII.
|
|
v1.1.3:
* Clean component parsing
* Fix namespace loading for chameleon schemas
* Fix UPA checks with nested choice/all models
* Fixed issues
|
|
v1.1.2:
* Extension of validation tests with *XMLSchema11* validator
* Fixed several bugs
* Extended testing with Travis CI
|
|
v1.1.1:
* Change of *skip* validation mode with errors filtering in decode() or encode()
* Extension of location hints by argument to imported/included schemas
* Fixed lazy validation with identity constraints
* Fixed many W3C instance tests (remain ~100 over 15344 tests)
|
|
v1.1.0:
* Removed Python 2 compatibility code
* Removed tests code from binary package
* Improved identity constraints validation
* Added JSON lazy decoding as experimental feature
|
|
|
|
v1.0.18:
* Fix for *ModelVisitor.iter_unordered_content()*
* Fixed default converter, AbderaConverter and JsonMLConverter for xs:anyType decode
* Fixed validation tests with all converters
* Added UnorderedConverter to validation tests
|
|
v1.0.16:
* Improved XMLResource class for working with compressed files
* Fix for validation with XSD wildcards and 'lax' process content
* Fix ambiguous items validation for xs:choice and xs:sequence models
|
|
The xmlschema library is an implementation of XML Schema for Python (supports
Python 2.7 and Python 3.5+).
This library arises from the needs of a solid Python layer for processing XML
Schema based files for MaX (Materials design at the Exascale) European project.
A significant problem is the encoding and the decoding of the XML data files
produced by different simulation software. Another important requirement is the
XML data validation, in order to put the produced data under control. The lack
of a suitable alternative for Python in the schema-based decoding of XML data
has led to build this library. Obviously this library can be useful for other
cases related to XML Schema based processing, not only for the original scope.
|