On 7/31/07, Tammo van Lessen <[EMAIL PROTECTED]> wrote:
>
> Hi again,
>
> I was working on ODE-150 (problem with transition condition xpaths)
> and have fixed it in my last commit.
>
> Thanks to our regression tests, my fix (of course) broke some tests. I
> might be wrong but I think that these test cases were incorrect as
> they were assuming to have a wrapper element messages for parts
> defined by type="".


So if I understand correctly it was for parts declared as a type as opposed
to an element. The thing is that those are supposed to have some sort of
wrapper because you could very well define a part as being a complexType
including a sequence. In which case you need some sort of concrete element
that deals with those.

So when we have something like:

   <wsdl:part name="TestPart" type="tns:myComplexType"/>

What we do is we effectively wrap the content of the part so that we get
something like:

<message>
  <TestPart>
    <firstElmtInSequence/>
    <secondElmtInSequence/>
  </TestPart>
</message>

So in that case the wrapper is necessary but doesn't really matter as it's
usually eliminated when the message is actually sent.

But I could have misunderstood your problem...

The (hopefully) corrected test cases are in commit 561372.
>
> Could you please have a look at it, I don't want to break other stuff.
> Thanks in advance.
>
> Cheers,
>   Tammo
>

Reply via email to