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

mapping: @XmlType.name() inconsistent in javadoc and spec #44

Open

Description

@glassfishrobot

The javadoc and specification in Chapter 8 are inconsistent in the
treatment of the @XmlType.name() annotation parameter. The references
to chapter 8 below are from JAXB 2.0 v0.42.

a. The javadoc indicates @XmlType.name() is required.
but the default mapping in section 8.8.1.3 omits it.

b. The mapping tables 8-4 (which maps a class to a complex type) and
8-6 (which maps a class to a simple type) allow @XmlType.name() to be "".
But the javadoc does not define the semantics when @XmlType.name() is "".

Environment

Operating System: All
Platform: All

Affected Versions

[2.0 v0.4]

Activity

  1. glassfishrobot commented on Oct 28, 2004

    @glassfishrobot
    Author

    Reported by sekhar

  2. glassfishrobot commented on Oct 28, 2004

    @glassfishrobot
    Author

    Was assigned to sekhar

  3. glassfishrobot commented on Oct 28, 2004

    @glassfishrobot
    Author

    sekhar said:
    Accepted.

  4. glassfishrobot commented on May 11, 2017

    @glassfishrobot
    Author

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

  5. added this to the milestone 1 milestone on May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions