Project

Profile

Help

Bug #4384

closed

ClassCastException when accumulator declaration is in no namespace

Added by Michael Kay over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2019-11-14
Due date:
% Done:

0%

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

Description

See https://saxonica.plan.io/boards/3/topics/7674?r=7677

Should raise XTSE0130 but we fall over before we get that far.

Submitted as text case accumulator-078

Actions #1

Updated by Michael Kay over 4 years ago

  • Status changed from New to Resolved
  • Applies to branch 9.8, 9.9, trunk added
  • Fix Committed on Branch 9.9, trunk added

Fixed. In StyleNodeFactory we now create a DataElement for any non-XSLT top-level element, including one in no namespace; we report an error at construction time if it's in no namespace. By making the no-namespace accumulator element a DataElement, its children automatically become DataElements as well, which means they are not validated.

Actions #2

Updated by O'Neil Delpratt over 4 years ago

  • Status changed from Resolved to Closed
  • Fixed in Maintenance Release 9.9.1.6 added

Patch committed to the Saxon 9.9.1.6 maintenance release.

Please register to edit this issue

Also available in: Atom PDF