Davide Brunato

Results 129 comments of Davide Brunato

Hi version v4.1.0 should fix the erroneously parsed fragment part. Try that on your system. thanks

Considering this problem fixed, because it's checked by a specific test. Reopen if it's not. thanks

Hi, the problem is with Python 3.12.4 and Python 3.13.0b3, that fix path processing with URN like paths "//" (without scheme). It's a minor change in urlunsplit(), but probably the...

v3.3.2 fixes the problem with failing tests. A change in `LocationPath.from_uri()` has been necessary for fixing the 2nd test. Both tests are now version dependent (the change of `urlunsplit` with...

Hi, it should be in Debian _sid_ i suppose. The change is in Python 3.12.5, i will add a condition on `sys.version_info` for this test. Thank you

Fixed in v3.4.0+, the latest fix in v3.4.2 tests both the options in logical conjunction, that is less sharp but more safe than a check on `sys.version_info`, that would fail...

Hi, thank you for appreciations :sweat_smile: ... To obtain all errors listify the errors returned by `iter_errors()` API: ```python schema = xmlschema.XMLSchema11("schema.xsd") errors = list(schema.iter_errors("data.xml")) ``` Furthermore, if you need...

Hi, the validation counts the total occurs of the particles or nested groups of particles. In your case `ipxact:addressBlock` is part of a global group that has always minOccurs ==...

Hi, in version v4.1.0 there are new helper functions for elements and type to get the total maximum/minimum occurs of a model particle: ```python def overall_min_occurs(self, particle: ModelParticleType) -> int:...

Pretty confident that the new helper methods for XSD elements are useful for retrieving total min/max occurs. If not, reopen this issue. thanks