summaryrefslogtreecommitdiff
path: root/textproc/py-xmlschema
AgeCommit message (Collapse)AuthorFilesLines
2022-11-14py-xmlschema: updated to 2.1.1adam3-10/+7
`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
2022-07-02py-xmlschema: updated to 1.11.3adam2-6/+6
v1.11.3 * Fix invalid element not detected with empty particle * Fix Sphinx warnings
2022-06-17py-xmlschema: updated to 1.11.2adam2-6/+6
v1.11.2 * Fix 'replace_existing' argument usage in `XsdElement.get_binding` method * Add Russian full translation
2022-05-23py-xmlschema: updated to 1.11.1adam2-6/+6
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)
2022-05-15py-xmlschema: updated to 1.11.0adam3-7/+16
v1.11.0 * Add localization for validation related error messages * Add Italian translation * Add Russian partial translation
2022-04-11py-xmlschema: updated to 1.10.0adam3-24/+23
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
2022-01-05python: egg.mk: add USE_PKG_RESOURCES flagwiz1-2/+4
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.
2022-01-04*: bump PKGREVISION for egg.mk userswiz1-1/+2
They now have a tool dependency on py-setuptools instead of a DEPENDS
2021-12-30py-xmlschema: updated to 1.9.2adam2-6/+6
v1.9.2: * Fix for global simple type naming
2021-12-30py-xmlschema: patch for Python 3.6 is no longer neededadam2-17/+1
2021-12-15py-xmlschema: updated to 1.9.1adam2-6/+6
v1.9.1 * Improve error reporting for encoded data * Fix attribute duplicates in attribute group * Add process_skipped optional argument to decoding/encoding
2021-12-02py-xmlschema: updated to 1.9.0adam2-6/+6
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
2021-11-12py-xmlschema: updated to 1.8.2adam3-10/+10
v1.8.2 * Fix for issues * Fix type annotation of XMLSchema source argument
2021-10-26textproc: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
2021-10-22py-xmlschema: updated to 1.8.1adam3-7/+10
v1.8.1 * Near compliance with strict type annotations * Removed ModelGroup class, merged with XsdGroup * Some optimizations and fixes from static analysis
2021-10-11py-xmlschema: updated to 1.8.0adam2-6/+6
v1.8.0: * Refactor XMLSchemaMeta deprecating BUILDER attribute * Extend type annotations to package API * Add static typing tests with checked mypy runs
2021-10-07textproc: Remove SHA1 hashes for distfilesnia1-2/+1
2021-09-10py-xmlschema: updated to 1.7.1adam3-9/+10
`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
2021-06-11py-xmlschema: updated to 1.6.4adam3-15/+15
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
2021-05-03py-xmlschema: updated to 1.6.2adam2-7/+7
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
2021-04-15py-xmlschema: updated to 1.6.1adam2-7/+7
v1.6.1: * Add multi-source initialization and add_schema() to schema class * Add bytes strings to accepted XML sources
2021-04-06py-xmlschema: updated to 1.6.0adam2-8/+7
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
2021-03-15py-xmlschema: updated to 1.5.3adam2-7/+7
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
2021-03-05py-xmlschema: updated to 1.5.2adam2-7/+7
v1.5.2 * Improve empty content checking * Fix simple content restriction of xs:complexType * Fix facets retrieving for xs:complexType with simple content
2021-02-14py-xmlschema: updated to 1.5.1adam3-11/+10
v1.5.1 * Optimize NamespaceView read-only mapping * Add experimental XML data bindings with a DataBindingConverter * Add experimental PythonGenerator for static codegen with Jinja2
2021-02-05py-xmlschema: updated to 1.5.0adam3-14/+47
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)
2021-01-26py-xmlschema: updated to 1.4.2adam2-7/+7
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).
2021-01-03py-xmlschema: updated to 1.4.1adam3-12/+21
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
2020-11-16py-xmlschema: updated to 1.3.1adam2-7/+7
v1.3.1: * Apply patches for packaging
2020-11-10py-xmlschema: updated to 1.3.0adam3-22/+26
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
2020-09-29py-xmlschema: updated to 1.2.5adam2-7/+7
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
2020-09-14py-xmlschema: updated to 1.2.4adam4-28/+17
v1.2.4: * Use the regex engine of *elementpath* library * Fix and extend tests on xs:assert
2020-08-27Needs pipjoerg1-1/+2
2020-08-21py-xmlschema: updated to 1.2.3adam3-9/+9
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
2020-06-20py-xmlschema: updated to 1.2.2adam2-7/+7
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
2020-06-01py-xmlschema: updated to 1.2.0adam4-8/+24
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
2020-05-31Explicitly read files as unicode for Python 3. The content is convertedjoerg2-1/+21
using the system locale with Python 3.6 otherwise, falling back to ASCII.
2020-04-29py-xmlschema: updated to 1.1.3adam2-7/+7
v1.1.3: * Clean component parsing * Fix namespace loading for chameleon schemas * Fix UPA checks with nested choice/all models * Fixed issues
2020-03-23py-xmlschema: updated to 1.1.2adam2-7/+11
v1.1.2: * Extension of validation tests with *XMLSchema11* validator * Fixed several bugs * Extended testing with Travis CI
2020-02-21py-xmlschema: updated to 1.1.1adam3-11/+11
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)
2020-01-24py-xmlschema: updated to 1.1.0adam3-244/+24
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
2020-01-08py-xmlschema: mark as incompatible with Python 2.7adam1-1/+3
2019-12-30py-xmlschema: updated to 1.0.18adam2-7/+7
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
2019-11-20py-xmlschema: updated to 1.0.16adam3-9/+16
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
2019-10-22py-xmlschema: added version 1.0.15adam4-0/+374
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.