Davide Brunato

Results 129 comments of Davide Brunato

Hi, you have to iterate components and access their annotation property (annotations are build lazy because they are not needed for validation): ```pycon >>> import xmlschema >>> schema = xmlschema.XMLSchema("")...

I don't understand where the `XMLSchemaParseError` is raised. In XSD 1.1 the `all` groups still have maxOccurs 0 or 1, but can contain other groups. The repetitions are originated by...

> isn't because of my wrong maxOccurs="3" in the highlighted line? > I wonder why it gets validated when using `schema.is_valid()`. anyway maxOccurs="3" is admitted with XSD 1.1. For clarity...

> As a side note: using the maps global recursion alternative method, spits out a lot of internal docs, just to mention now also as self reminder. This because it...

> I don't know much well the system yet, I only expect that an user xsd should be parsed to extract only his data, not the "system' libraries" one Meta-schema...

Hi, i will include your enumeration case for extending and sharpening annotations processing. This can be planned for a minor release of version 3 of the package.

Hi, the v3.1.0 has a resolution for this. Each component and the schema have a property called *annotations* that returns a list with all the annotations detected for it. The...

> I believe that the attributes are meant to be included in the iteration since it should iterate over the XPath nodes. Let me know if that is a false...

I found also a typo in `iter_document()`. After an analysis of the code I've decided to rename `iter()` as `iter_lazy()` and `iter_document()` as `iter()` (keeping also _iter_document_ as an alias...

@robbert-harms Finally a new release is out! Please check if the new API for nodes sounds better. Thank you