ClassCastException when accumulator declaration is in no namespace
Should raise XTSE0130 but we fall over before we get that far.
Submitted as text case accumulator-078
#1 Updated by Michael Kay about 2 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.
Please register to edit this issue