You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/04 08:43:48 UTC

[GitHub] [camel] essobedo opened a new pull request #7104: CAMEL-17741: Improper way to get the default name of a field annotated with XmlElement

essobedo opened a new pull request #7104:
URL: https://github.com/apache/camel/pull/7104


   ## Motivation
   
   A field annotated with `@XmlElement` without the attribute `name` should have as XML name its name according to the JAXB specification which is not currently the case.
   
   ## Modifications:
   
   * Rewrite the method `fieldName` to make sure that the attribute name of the annotation `@XmlRootElement` is only retrieved in case if a field is annotated with `@XmlElementRef` (or `@DslProperty`) as stated by the spec


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] essobedo merged pull request #7104: CAMEL-17741: Improper way to get the default name of a field annotated with XmlElement

Posted by GitBox <gi...@apache.org>.
essobedo merged pull request #7104:
URL: https://github.com/apache/camel/pull/7104


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] essobedo edited a comment on pull request #7104: CAMEL-17741: Improper way to get the default name of a field annotated with XmlElement

Posted by GitBox <gi...@apache.org>.
essobedo edited a comment on pull request #7104:
URL: https://github.com/apache/camel/pull/7104#issuecomment-1058959279


   Please note that this change has no effect on the current mapping


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] essobedo commented on pull request #7104: CAMEL-17741: Improper way to get the default name of a field annotated with XmlElement

Posted by GitBox <gi...@apache.org>.
essobedo commented on pull request #7104:
URL: https://github.com/apache/camel/pull/7104#issuecomment-1058959279


   Please note that this change has no effect on current mapping


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org