Project

Profile

Help

Bug #2375

closed

Spurious warnings from xs:override

Added by Michael Kay almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
Start date:
2015-05-09
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

Using xs:override to override a schema document that imports or includes other schema documents is likely to result in spurious warnings such as

Warning: at /xs:schema/xs:override[10]

The model group definition info-types is ignored, because it does not override anything in

the target schema

This happens because the effect of xs:override propagates through the whole hierarchy of schema documents; the schema documents are transformed by replacing xs:include declarations by xs:override, and some of these generated xs:override declarations will have no effect.

Please register to edit this issue

Also available in: Atom PDF