Attempting to use out-of-range attribute item selector.

#6001   Run-time catchable error

Attempting to use out-of-range attribute item selector.

Additional Information

For element 'X' : For attribute 'Y', its size is 'Z' and item selector is 'A'.
    or
For element 'X' : For attribute 'Y', a CDATA attribute, the item selector is 'A'.
    or
For external entity 'X' : For attribute 'Y', its size is 'Z' and item selector is 'A'.

Explanation

An attribute's item selector value must be between one and the number of values in the attribute if it is not a cdata attribute. If it is a cdata attribute the selector value must be one.