Bug 269262 - JAXB 2.1 TCK - Add "Keep As Element" support to XMLAnyObjectCollectionMapping
Summary: JAXB 2.1 TCK - Add "Keep As Element" support to XMLAnyObjectCollectionMapping
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2009-03-18 14:48 EDT by Rick Barkhouse CLA
Modified: 2022-06-09 10:22 EDT (History)
0 users

See Also:


Attachments
Patch (12.63 KB, patch)
2009-03-18 16:19 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch plus updates to Deployment XML and test cases (24.75 KB, patch)
2009-03-20 13:41 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - eclipselink_persistence_map_1.1.xsd (601 bytes, patch)
2009-03-20 14:14 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Barkhouse CLA 2009-03-18 14:48:30 EDT
When unmarshalling the following document:

<?xml version="1.0"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="mgA001.xsd">
	<t1/>
</root>

We are storing "null" in the "t1" element, when the TCK test is expecting a Element object, populated with nulls.

Instead of creating a DirectMapping, we should instead create an XMLAnyObjectMapping, with the added ability to keep its value as an element (similar to XMLAnyCollectionMapping).

JAXB TCK Tests: xml_schema/msData/modelGroups/jaxb
Comment 1 Rick Barkhouse CLA 2009-03-18 16:19:16 EDT
Created attachment 129286 [details]
Patch
Comment 2 Rick Barkhouse CLA 2009-03-20 13:41:00 EDT
Created attachment 129483 [details]
Patch plus updates to Deployment XML and test cases
Comment 3 Rick Barkhouse CLA 2009-03-20 14:14:08 EDT
Created attachment 129488 [details]
Patch - eclipselink_persistence_map_1.1.xsd
Comment 4 Rick Barkhouse CLA 2009-03-20 14:19:15 EDT
Fixed, reviewed by mmacivor.  Support added to Deployment XML as well.
Comment 5 Peter Krogh CLA 2009-08-26 09:49:36 EDT
Mass update to change fixed in target.
Comment 6 Peter Krogh CLA 2009-08-26 09:52:39 EDT
Mass update to change fixed in target.
Comment 7 Peter Krogh CLA 2009-08-26 09:58:21 EDT
Mass update to change fixed in target.
Comment 8 Peter Krogh CLA 2009-08-26 10:00:43 EDT
Mass update to change fixed in target.
Comment 9 Eclipse Webmaster CLA 2022-06-09 10:16:57 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 10 Eclipse Webmaster CLA 2022-06-09 10:22:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink