6.3.2.1 Values Must Be of the Appropriate Type

For each item val in [values], one of the following MUST apply.

  • val is a Text Node Information Item and

    • Either [member] is x:Items (5.3.1) and [parent object][type][allowed types] contains either the x:String (5.2.6), or the x:Object (5.2.5) XamlType Information Items

    • or [member][value type] is either the x:String (5.2.6), or the x:Object (5.2.5) XamlType Information Item

    • or [member][text syntax] is not Null

    • or [member][value type][text syntax] is not Null.

  • val is an Object Node Information Item and [member] is x:Items (5.3.1) and [member][value type][allowed types] contains an allowedType for which isAssignableTo(val[type], allowedType) is True.

  • val is an Object Node Information Item where val[type][types assignable to] contains the intrinsic x:MarkupExtension (5.2.21), and [member] is x:Items (5.3.1) and [member][value type][allowed types] contains an allowedType for which isAssignableTo(val[type][return value type], allowedType) is True.

  • val is an Object Node Information Item and isAssignableTo(val[type], [member][value type]) is True.

  • val is an Object Node Information Item where val[type][types assignable to] contains the intrinsic x:MarkupExtension (5.2.21), and isAssignableTo(val[type][return value type], [member][value type]) is True.

Show: