cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: how about we honor style sheet in wsdl
Date Mon, 28 Jul 2008 14:03:38 GMT
I'm more likely to remember to add this wrinkle if you reopen the JIRA :-)

On Mon, Jul 28, 2008 at 9:59 AM, Daniel Kulp <dkulp@apache.org> wrote:
>
> Most likely, in those cases, we would be calling writeDocument with the
> writePrologue falg set to false as it would be encapsulated in a soap
> message or something that would have already written that.    Most likely,
> if prologue writing is turned off, we DON'T want to write any PI's either as
> they would be invalid.   Thus, my suggestion would be to use the old
> behavior if false and your new code if true.
>
> Dan
>
>
> On Jul 24, 2008, at 7:06 PM, Benson Margulies wrote:
>
>>> Have fun.  But I don't think PI's are part of the WSDL document--they are
>>> external to it, however I'm seeing some open source products that provide
>>> stylesheets for WSDLs, so it may not be that big a deal.
>>>
>>> At any rate, make sure your change does not result in SOAP messages being
>>> allowed to have PI's--that remains a no-no (3rd paragraph of
>>> http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soapenv, and also
>>> the
>>> WS-I Basic Profile).
>>>
>>
>> Well, I suppose that I've just made it hypothetically possible for a
>> user of CXF to sneak a PI out on the wire, assuming that we have any
>> code path where the user gives us a DOM tree and we pass it along.
>> It's presumably arguable whether it is up to us to step on such
>> things.
>>
>> Does anyone know of such a code path?
>
> ---
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
>
>
>
>
>

Mime
View raw message