You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
But the implementation of unmarshal method does not replace the leading and
trailinh whitespace. It just behaves as "replace" value as documented at http://www.w3.org/TR/xmlschema-2/#rf-whiteSpace
Either javadoc need to be fixed to reflect implementation or fix the impl to
match the javadoc.
Javadoc for javax.xml.bind.annotation.adapters.NormalizedStringAdapter says
/**
{@link XmlAdapter}
to handle xs:normalizedString.
*
This adapter removes leading and trailing whitespaces, then replace
any tab, CR, and LF by a whitespace character ' '.
*
@author Kohsuke Kawaguchi
@SInCE JAXB 2.0
*/
But the implementation of unmarshal method does not replace the leading and
trailinh whitespace. It just behaves as "replace" value as documented at
http://www.w3.org/TR/xmlschema-2/#rf-whiteSpace
Either javadoc need to be fixed to reflect implementation or fix the impl to
match the javadoc.
Environment
Operating System: All
Platform: Macintosh
Affected Versions
[2.2]