[ 
https://issues.apache.org/jira/browse/XMLBEANS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srinath updated XMLBEANS-321:
-----------------------------

    Attachment: simpleKeyref.xsd
                key_keyref.xml

Are there any updates/findings on this bug?
I am attaching a sample xsd and an xml to demonstrate the problem. Hope it 
helps.

> XmlBeans reports incorrect line numbers for Identity constraints
> ----------------------------------------------------------------
>
>                 Key: XMLBEANS-321
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-321
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Validator
>    Affects Versions: Version 2.2
>         Environment: Linux 2.6.12-1.1381_FC3 x86_64
>            Reporter: Srinath
>             Fix For: TBD
>
>         Attachments: key_keyref.xml, simpleKeyref.xsd
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to