Project

Profile

Help

Bug #6033

closed

Invalid warning about field in xs:key

Added by Octavian Nadolu about 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2023-05-11
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

When I validate the attached XSD file with Saxon 11.4 I get an warning: "The field expression (t:UnitName) may select no nodes, which would make the instance document invalid"

I think that Saxon should not display this warning.

The attached file is a small example from an Oxygen user that has a bigger schema.


Files

bleep2.xsd (1.76 KB) bleep2.xsd Octavian Nadolu, 2023-05-11 16:06

Please register to edit this issue

Also available in: Atom PDF