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

Chris Chen commented on JIBX-18:
--------------------------------

I was wondering if this is possibly going to be implemented in the next major 
version update (or perhaps, dare i say it, in the CVS head).  I am currently 
having exactly this problem and of course would prefer that unknown elements 
are skipped and ignored through some sort of binding file configuration option.

> 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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to