jaxb
  1. jaxb
  2. JAXB-362

using JAXB (schemagen) with javax.vecmath.Point3d

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0 FCS
    • Fix Version/s: not determined
    • Component/s: schemagen
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      362

      Description

      hello,

      Basically, my object has a Point3d from the Java3d library. When compiling the
      code below with schemagen I get an error that the class has two properties of
      each of the (x, y, z) elements of the Point3d class.

      Related threads:

      http://forums.java.net/jive/thread.jspa?threadID=25820&tstart=15

      http://forums.java.net/jive/thread.jspa?threadID=20202&tstart=45

      ------------------CODE-----------------

      import javax.xml.bind.annotation.XmlType;
      import javax.xml.bind.annotation.XmlElement;
      import javax.xml.bind.annotation.XmlAccessType;
      import javax.xml.bind.annotation.XmlAccessorType;

      /**

      • Point3d test
        *
        *
        */

      @XmlAccessorType(XmlAccessType.NONE)
      @XmlType(name = "point3dTest", propOrder=

      {"comment","point"}

      )
      class Point3dTest

      { @XmlElement(name="comment") private String comment; @XmlElement(name="point") private javax.vecmath.Point3d point; }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jaxb-issues
            Reporter:
            abedhammoud
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: