Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354286 - Add support for Adding Processing Instructions
Summary: Add support for Adding Processing Instructions
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://stackoverflow.com/questions/69...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 14:21 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2011-08-09 14:21:18 EDT
The following annotation could be added to support adding processing instructions into the marshalled document:

    @XmlProcessingInstruction(target="foo", data="bar")
    public List<String foo> getFoo() {
        return foo;
    }


Would result in the following XML:

   <?foo bar?>
   <foo>A</foo>
   <foo>B</foo>
   <foo>C</foo>
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:29:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink