bugTreeBind - Bugs: bug #22669, Try to find a matching class for...

 
 

bug #22669: Try to find a matching class for leaf nodes (XML to Java objects)

Submitter:  Eric van der Vlist <evlist>
Submitted:  Wed 19 Mar 2008 09:13:38 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Enhancement Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 19 Mar 2008 09:20:05 PM UTC, comment #1: 

This is fixed in CVS.

Eric van der Vlist <evlist>
Group administrator
Wed 19 Mar 2008 09:13:38 PM UTC, original submission:  

The current behavior is to keep the object sent by the source and filter for leaf nodes.

This means that <foo>bar</foo> will be converted into the String "foo" and this isn't coherent with would happen for "<foo bat='baz'>bar</foo>" that would be converted into an object from the class Foo.

OTH, in a lot of cases, this is a very convenient behavior!

It would thus be fine to try to convert <foo>bar</foo> into an object from the class Foo and keep it as a String if that conversion fails.

Eric van der Vlist <evlist>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by evlist (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code