After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337527 - XML Schema: error handling of IDCs on non-declared elements/attributes
XML Schema: error handling of IDCs on non-declared elements/attributes
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: xmlschema
2.6.22
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-06 16:37 UTC by Frans Englich
Modified: 2021-07-05 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frans Englich 2006-04-06 16:37:23 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
Comment 1 GNOME Infrastructure Team 2021-07-05 13:22:18 UTC
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.