Project

Profile

Help

Bug #1637

closed

Namespace context not available for XSD 1.1 assertions

Added by Michael Kay over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema conformance
Sprint/Milestone:
-
Start date:
2012-10-17
Due date:
% Done:

100%

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

Description

When an assertion is made against a complex type, Saxon creates a copy of the subtree being validated, and runs the assertion as an XPath expression against this subtree. The copy fails to copy all the in-scope namespace bindings for the element being validated, so if the assertion relies on these namespace bindings being present, it will fail.

A patch is being raised for the 9.4 branch. A test case is being added to the W3C schema test suite.

Please register to edit this issue

Also available in: Atom PDF