Davide Brunato
Davide Brunato
Ok, I will take a look ASAP. Thank you On Thu, Apr 17, 2025 at 7:54 AM ぐるぐる ***@***.***> wrote: > When using an XsdUnion with multiple memberTypes as shown...
The last change of `XsdUnion.raw_encode()` is related to #442. This method is like `XsdUnion.raw_decode()`. For their definition `xs:union` types can produce many false errors, so a strict validation tentative on...
Checked the case. The problem is not on `xs:union` but in encoding of integers builtin data types, because a string value is not accepted. After checking builtin types there is...
Indeed, if you replace the value of attributes _revMinor_ and _revMinor_ with their numeric value: ```python def main(): obj = { "test": { "FileHeader": { "@revMajor": 1, "@revMinor": 0, "@date":...
Hi, in v4.1.0 the compatibility with `` has been extended to all XSD builtin types and `XsdUnion` should work better on these cases. Please try with your cases and then...
Ok, well ... but "True" and "False" are not castable as `xs:boolean`.
Hi, the schema validation is the validation of XSD schema file using the meta-schema (a schema built once using the XSD files in the directory [xmlschema/schemas/XSD_1.1](https://github.com/sissaschool/xmlschema/tree/059fd3bfb305809d5ebdede1bd68dff9dbaf3348/xmlschema/schemas/XSD_1.1)), and only checking the...
Closing this. Reopen it for any observations on the issue.
Hi, if you parse with `etree.XML` API the result tree in general is a fragment (an XML without a document node, an ElementTree instance in this case, that is wrapped...
A fix for *fragment* argument usage is available with v4.7.0. The default is changed to `None`, providing `False` a document node part is added to the tree. For default the...