[ http://jira.codehaus.org/browse/JIBX-18?page=comments#action_66258 ] 

Dennis Sosnoski commented on JIBX-18:
-------------------------------------

As of 1.1 beta4, you can now have JiBX automatically ignore unknown elements 
within unordered groups (by using the flexible="true" attribute on the 
containing element of the binding definition). This is still just for unordered 
groups, which is why I'm leaving the issue open. However, unordered groups now 
allow required elements, which removes one of the earlier major drawbacks in 
using unordered groups.

> Tolerate unexpected elements
> ----------------------------
>
>          Key: JIBX-18
>          URL: http://jira.codehaus.org/browse/JIBX-18
>      Project: JiBX
>         Type: Improvement

>   Components: core
>     Versions: 1.0-beta3a
>  Environment: JDK 1.4.2
>     Reporter: Falk Langhammer
>     Assignee: Dennis Sosnoski
>     Priority: Minor

>
>
> JiBX beta3a creates unmarshalling code which tolerates deviations from an 
> ideal XML document described by the binding.
> So far so good.
> This tolerance however, is bound to unexpected attributes found in a tag. It 
> should ignore an unexpected element (and all its childs) until it sees an 
> expected element again. It should only throw an exception if it does not see 
> all expected elements.
> It is normal that somebody adds content to XML and JiBX-generated code should 
> not fail afterwards.

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



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to