resteasy/Resteasy — pull request #86 by KurtStam (2012-05-11 20:36:06+00:00)
Title: RESTEASY-704

http://tools.ietf.org/html/rfc4287#section-6.4

Defines Extension Elements

"Atom allows foreign markup anywhere in an Atom document, except where
it is explicitly forbidden. Child elements of atom:entry, atom:feed,
atom:source, and Person constructs are considered Metadata elements
and are described below. Child elements of Person constructs are
considered to apply to the construct. The role of other foreign
markup is undefined by this specification."

This patch adds support for (text|anyElement)*. This is half of the implementation of Structured Extension Elements, and is all I need at this point. I followed the same implementation as was done for the Content
Element, where the JAXB integration is very slick.

Cheers,

--Kurt