[jboss-jira] [JBoss JIRA] Closed: (JBXB-199) In ChoiceBinding matching process should always start from the beginning of the choice list

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Thu Apr 16 05:44:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBXB-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky closed JBXB-199.
----------------------------------

    Resolution: Done


Done.

> In ChoiceBinding matching process should always start from the beginning of the choice list
> -------------------------------------------------------------------------------------------
>
>                 Key: JBXB-199
>                 URL: https://jira.jboss.org/jira/browse/JBXB-199
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Bug
>    Affects Versions: JBossXB-2.0.1.CR1
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: JBossXB-2.0.1.CR2
>
>
> ChoiceBinding has a list of choices.
> Once a choice is selected, ChoiceBinding stores the current position in the list of choices.
> When parsing of the selected choice is finished and the next element is started, the ChoiceBinding will first check if the selected choice can be repeated.
> If the selected choice cannot be repeated then the ChoiceBinding will try to find another choice in the list starting from the previously stored position of the selected choice. Which is a wrong behavior.
> If the previously selected choice cannot be repeated but the ChoiceBinding is itself repeatable then the matching process should start from the beginning of the choice list.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list