javaee / jaxb-v2

Other
210 stars 100 forks source link

using JAXB (schemagen) with javax.vecmath.Point3d #362

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

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;

/**

@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; }

Environment

Operating System: All Platform: All

Affected Versions

[2.0 FCS]

glassfishrobot commented 17 years ago

Reported by abedhammoud

glassfishrobot commented 17 years ago

Was assigned to jaxb-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAXB-362