tag:blogger.com,1999:blog-1131270310109486733.post7194150489483320283..comments2023-11-03T05:39:12.079-07:00Comments on Thoughts of a Syrup Sucker: JAXB and the nasty @XmlIDJason Drakehttp://www.blogger.com/profile/16100259694448827083noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1131270310109486733.post-67812552930147759452009-11-03T02:02:40.829-08:002009-11-03T02:02:40.829-08:00>I wonder why the developers of JAXB decided to...>I wonder why the developers of JAXB decided to make the @XmlID annotations support Strings only?<br /><br />Have you had a look at the XML Schema language definition? A JAXB property tagged with @XmlID corresponds to the XML Schema type 'xs:ID' which is a subtype of 'xs:NCName' and thus cannot contain a decimal value (i.e it must not start with [0-9]).<br />This means a value Unknownhttps://www.blogger.com/profile/07713112907426858515noreply@blogger.com