Santuario change
Brent Putman
putmanb at georgetown.edu
Thu Nov 5 16:35:38 EST 2015
On 11/5/15 12:41 PM, Cantor, Scott wrote:
> On 11/5/15, 12:37 PM, "dev on behalf of Brent Putman" <dev-bounces at shibboleth.net on behalf of putmanb at georgetown.edu> wrote:
>
>
>
>> No, it's awkward. I was thinking of adding something to the clone methods to just do that. I don't know that there's any good reason to ever return a cloned object that has a non-rooted DOM. We could just change the no-boolean clone(XMLObject) method to do that by default. We'd be changing behavior, but probably not in a bad way. But if we think that's not allowed or advisable, I was thinking of adding a new CloneOutputOption enum to support representing all 3 options, and a new clone(XMLObject, CloneOutputOption).
>> Then deprecate the clone(XMLObject, boolean) one.
> Up to you, doesn't feel like a particularly important change to the caller, but I'm not as familiar with this code.
So I did both. Added the new enum to represent all 3 options. Changed
the cloneXMLObject(XMLObject) behavior to DropDOM rather than the old
UnrootedDOM behavior. Deprecated cloneXMLObject(XMLObject, boolean) and
removed all usage of it that Eclipse can find.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20151105/bf71f925/attachment.html>
More information about the dev
mailing list