GNOME Bugzilla – Bug 337527
XML Schema: error handling of IDCs on non-declared elements/attributes
Last modified: 2021-07-05 13:22:18 UTC
Quoting Kasimier: <quote> The element "test-case" doesn't specify a type, so the type defaults to xs:anyType; an element of this type can have any content and any attributes (lax attribute wildcard). The spec is silent about the case when IDCs resolve to non-declared elements/attributes. In xmlschemas.c, xmlSchemaVAttributesComplex(), it reads: "Only "assessed" attribute information items will be visible to IDCs. I.e. not "lax" (without declaration) and "skip" wild attributes." XSV 2.10-1 won't report an error as well. On the other side Saxon 8.7 and Xerces-J 2.5.1 *do* report an error. I think we should go the Saxon/Xerces way here. </quote> Since the spec is silent on this area, has it been reported to the schema group? See thread "[xml] IDC bug?" on list xml@gnome.org. Also, you've forgot to bump the Bugzilla version for xmlllint; 2.6.22 is the latest allowed. Frans
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.