Open laeubi opened 2 months ago
If one tries to update an element with binder that is not @XmlRootElement the following code is called
@XmlRootElement
https://github.com/eclipse-ee4j/jaxb-ri/blob/b7d1ff7a13cecfaadde733387216b5cad09cc5b5/jaxb-ri/runtime/impl/src/main/java/org/glassfish/jaxb/runtime/v2/runtime/BinderImpl.java#L180-L182
but it could happen that localName is null resulting in an IllegalArgumentException from QName conctructor. In such a case there should either be an JaxbException if this is illegal or fall back to the element name.
localName
IllegalArgumentException
JaxbException
If one tries to update an element with binder that is not
@XmlRootElement
the following code is calledhttps://github.com/eclipse-ee4j/jaxb-ri/blob/b7d1ff7a13cecfaadde733387216b5cad09cc5b5/jaxb-ri/runtime/impl/src/main/java/org/glassfish/jaxb/runtime/v2/runtime/BinderImpl.java#L180-L182
but it could happen that
localName
is null resulting in anIllegalArgumentException
from QName conctructor. In such a case there should either be anJaxbException
if this is illegal or fall back to the element name.