Details
Description
I have defined some Identity constraints in my schema using Key and KeyRef constructs.
When I validate a sample document with the xmlbeans generated for that schema, the line number seems to be incorrect. This happens only for Identity constraints.
It appears that the line number reported is always that of the last opening tag in the entire document being validated irrespective of where the constraint is violated.