Bao,

can you please create a new Jira issue for this, and attach your patch
there ?

Thanks
Werner

Le Duc Bao wrote:
> Hello Joachim,
> 
> I attach a patch for the processing for XmlAttribute annotation by adding an
> indicator representing the existent of this annotation. Your feedbacks are
> warmly welcome.
> 
> Enjoys,
> Bao
> 
> On Sun, Jul 20, 2008 at 12:56 PM, Joachim Grüneis <[EMAIL PROTECTED]>
> wrote:
> 
>> Hello,
>>
>> I'm just back from vacation... so I haven't really taken a look onto
>> the problem...
>>
>> the focus of the current implementation was just onto what I needed to
>> un/marshal JAXB conform but I didn't care if there is enough
>> information to generate a schema from the Java sources
>>
>> can you please tell me (maybe as a patch) what information is needed
>> for you and I will bring it into the code base?
>>
>> I will have a look onto it during this week - as soon as I'm settled
>> again at home
>>
>> Have fun
>>
>> Joachim
>>
>> 2008/7/18 Le Duc Bao <[EMAIL PROTECTED]>:
>>> Hello Joachim,
>>>
>>> It seems being a problem with annotation processing because of there are
>> no
>>> indicator representing an annotation. For example
>>>
>>>  public class USPrice {
>>>          @XmlAttribute
>>>
>>>          public java.math.BigDecimal getPrice() {...} ;
>>>          public void setPrice(java.math.BigDecimal ) {...};
>>>      }
>>>
>>> So, the present of @XmlAttribute does not present in FieldInfo class so
>> that
>>> we can not distinguish the above case with the code below during
>> annotation
>>> processing:
>>>
>>>  public class USPrice {
>>>          public java.math.BigDecimal getPrice() {...} ;
>>>          public void setPrice(java.math.BigDecimal ) {...};
>>>      }
>>>
>>> JAXB specification considers those two cases different.
>>>
>>> At this time, this problem affects at least two annotations
>> XmlRootElement
>>> and XmlAttribute.
>>>
>>> Regards,
>>> Bao
>>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to