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)

Submitted by:  Eric van der Vlist <evlist>
Submitted on:  Wed 19 Mar 2008 09:13:38 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: EnhancementStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

This is fixed in CVS.

Eric van der Vlist <evlist>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1