i've noticed that if i have
<sequence>
<element name="foo" type="string" maxOccurs="unbounded"/>
</sequence>
i get a corresponding accessor to a List< String >, but if the type is
'token', then i get an accessor to a List< JAXBElement< String > >. i
presume this is because token is more sophisticated than 'string' and
can't be directly passed through to the xml (it has to be trimmed first,
cleaned up, etc).
not a big deal, but wanted to see if i'm overlooking some easy way to
marshal/unmarshal tokens but allow java users to get/set Strings. i
could always use a custom DatatypeConverter and force xjc to bind the
'foo' element to String, right?
jon