Open glassfishrobot opened 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; }
Operating System: All Platform: All
[2.0 FCS]
Reported by abedhammoud
Was assigned to jaxb-issues
This issue was imported from java.net JIRA JAXB-362
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]