Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Bug in @XmlElement.name javadoc #34

Open
glassfishrobot opened this issue Jul 22, 2004 · 3 comments
Open

Bug in @XmlElement.name javadoc #34

glassfishrobot opened this issue Jul 22, 2004 · 3 comments

Comments

@glassfishrobot
Copy link

public @interface XmlElement {
/**

  • Name of the XML Schema element. By default, the XML Schema
  • element name is derived from the JavaBean property name.

*/
String name() default "";

This customization might be used on a class, so just saying
"from the JavaBean property name" is inaccurate. You should say
something like:

... from (1) the JavaBean property name if the customization is
spcified on a method or a field and (2) the class name if the
customization is specified on a class.

Environment

Operating System: All
Platform: All

Affected Versions

[2.0 v0.4]

@glassfishrobot
Copy link
Author

Reported by kohsuke

@glassfishrobot
Copy link
Author

Was assigned to sekhar

@glassfishrobot
Copy link
Author

This issue was imported from java.net JIRA JSR222-34

@glassfishrobot glassfishrobot added this to the milestone 1 milestone May 11, 2017
@glassfishrobot glassfishrobot self-assigned this May 11, 2017
zhengjl pushed a commit to zhengjl/jaxb-spec that referenced this issue Jun 22, 2017
Obtained from:
Submitted by:
Reviewed by:
Fixed issue javaee#34 and javaee#38
zhengjl pushed a commit to zhengjl/jaxb-spec that referenced this issue Jun 22, 2017
Obtained from:
Submitted by:
Reviewed by:
Fixed issue javaee#34 and javaee#38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant