Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] JAXB 2.1 TCK - Add "Keep As Element" support to XMLAnyObjectCollectionMapping

Fix submitted for the following bug:

Description: To be compliant with JAXB 2.1, when unmarshalling a document such as:

<?xml version="1.0"?>
<root xmlns:xsi=""

With this fix, we now create an empty Element for t1, previously we were setting it to null.  This involved adding a KeepAsElement policy to XMLAnyObjectMapping, this fix includes an update to the Eclipselink deployment xml project and schema as well.

Found in JAXB TCK Tests: xml_schema/msData/modelGroups/jaxb

Test Cases: AnyObjectKeepUnknownAsElementTestCases

Patch attached to bug, reviewed by Matt MacIvor.

Rick Barkhouse | Software Developer, TopLink | 613.288.4613
Oracle Development
45 O'Connor Street, Suite 400 | Ottawa, Ontario K1P 1A4

Back to the top