eclipse-ee4j / jaxb-ri

Jaxb RI
https://eclipse-ee4j.github.io/jaxb-ri/
BSD 3-Clause "New" or "Revised" License
204 stars 111 forks source link

Add @XmlSchemaType(name = "dateTime|date|time|...") annotation #1006

Open Tomas-Kraus opened 10 years ago

Tomas-Kraus commented 10 years ago

XJC does not add @XmlSchemaType(name = "dateTime|date|time|...") annotation on a XMLGregorianCalendar. The result of this is that if JAX-WS uses these classes, the auto-generated schema has xs:anySimpleType instead of the correct type.

Affected Versions

[2.2.7]

Tomas-Kraus commented 6 years ago
Tomas-Kraus commented 10 years ago

@glassfishrobot Commented Reported by michael-o

Tomas-Kraus commented 10 years ago

@glassfishrobot Commented Was assigned to yaroska

Tomas-Kraus commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-1006