-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Version 2.2.1
-
Fix Version/s: None
-
Component/s: Binding
-
Labels:None
I couldn't get the XmlObject.Factory.parse(Node) to create type-specific XMLBean. The test code is
public class DOM2BeanTest {
public static void main(String[] args) throws Exception
}
Type of xbean: class org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
Type of xbean2: class x0Metadata.oasisNamesTcSAML2.impl.EntitiesDescriptorDocumentImpl
xbean2 is of correct user-derived type EntitiesDescriptorDocument but the xbean, parsed from a DOM Node, is always of generic type XmlAnyType.