Project

Profile

Help

Bug #3062

closed

Validation of element node ignores xsi:type attribute

Added by Petr K almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2016-12-08
Due date:
% Done:

100%

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

Description

validate{ $elem } throws and exception: : Cannot validate content against an abstract type. The element declaration for $elem has an abstract type, but the $elem instance has an xsi:type attribute that designates a concrete type, which should be used as the governing type for validation.


Files

AbstractType.zip (3.32 KB) AbstractType.zip Petr K, 2016-12-08 15:12

Please register to edit this issue

Also available in: Atom PDF