Sure the data is there but its inconsistent from an XML perspective to only
have one class with a ResourceURI, while all of the others use the root xml
NS/name for that purpose.  But I guess it depends on whether your model has
one collection class or multiple.

thanks
-Doug
________________________________________________________
STSM |  Standards Architect  |  IBM Software Group
(919) 254-6905  |  IBM 444-6905  |  [email protected]
The more I'm around some people, the more I like my dog.



From:   David Lutterkort <[email protected]>
To:     [email protected],
Cc:     "[email protected]" <[email protected]>, Doug
            Davis/Raleigh/IBM@IBMUS
Date:   11/09/2012 02:52 PM
Subject:        Re: [PATCH 4/8] CIMI: toplevel collections must have a
            resourceURI attr in XML



On Fri, 2012-11-09 at 11:16 -0500, Doug Davis wrote:
>   it can't hurt to add that sentence.

I am all for adding that sentence.

>   I actually ran into that recently
> and was bugged that we needed a resourceURI at all for XML - I know
that's
> the price we pay for using the same root element for all collections, but
> bleck!  :-)   Maybe for v2 we can convince folks (Gil) to use a
> collection-specific root element name.

I am actually fine with the way things are now - I was pleasantly
surprised how easy it was to dispatch to the correct model class from
the response only.

David


Reply via email to