Bug 269262

Summary: JAXB 2.1 TCK - Add "Keep As Element" support to XMLAnyObjectCollectionMapping
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: Documentation
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch
none
Patch plus updates to Deployment XML and test cases
none
Patch - eclipselink_persistence_map_1.1.xsd none

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