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.

Actions #1

Updated by Michael Kay almost 9 years ago

  • Status changed from New to Resolved

A pacth has been committed for 9.6 and 9.7 to remove these warnings.

Actions #2

Updated by O'Neil Delpratt almost 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.6

Bug fix applied in the Saxon 9.6.0.6 maintenance release.

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.6
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.6 added

Please register to edit this issue

Also available in: Atom PDF