Project

Profile

Help

Bug #1731

closed

XSD 1.1 assertions cause loss of comments and PIs

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

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

100%

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

Description

If XSD 1.1 assertions are used with the (default) setting of the configuration property ASSERTIONS_CAN_SEE_COMMENTS = false, then comments and processing instructions are stripped not only from the tree seen by the XPath expression evaluating the assertion, but also from the document (PSVI) that is the output of the validator.

A patch is being committed (9.4 and 9.5 branches).

JUnit test cases added to TestValidator.

Actions #1

Updated by Michael Kay about 11 years ago

  • Project changed from 4 to Saxon
  • Category set to Schema conformance
Actions #2

Updated by O'Neil Delpratt almost 11 years ago

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

Bug now closed. Successfully applied to the Saxon 9.4.0.8 maintenance release.

Please register to edit this issue

Also available in: Atom PDF