Yes, please go ahead and create a JIRA issue, attach your test process and
assign it to me.

On 4/16/09, Jonathan Coogan <[email protected]> wrote:
>
> Hmmm.. I'm still getting the selectionFailure.
>
> I should note that I get the selectionFailure on both insert-as-first-into
> and insert-as-last-into..
>
> I'd be happy to write this up and/or submit a test process if that would
> help.
> -Jon
>
>
>
> On 4/16/09 2:21 PM, "Jon Coogan" <[email protected]> wrote:
>
> > Sure thing.  I'll do this and get back to you.
> >
> > Thanks.
> > -Jon
> >
> > ________________________________
> >
> > From: Karthick Sankarachary [mailto:[email protected]]
> > Sent: Thursday, April 16, 2009 1:06 PM
> > To: [email protected]; Jonathan Coogan
> > Subject: Re: Question about xpath extensions
> >
> >
> > Hi Johnathan,
> >
> > I have a patch that could potentially resolve your issue. If you don't
> > mind, can you apply the attached patch and let me know how it goes?
> >
> > Regards,
> > Karthick
> >
> >
> > On 4/16/09, Karthick Sankarachary <[email protected]> wrote:
> >
> > Hi Johnathan,
> >
> > This sounds like a bug to me. I'll take a look see at that
> > function when I get a chance.
> >
> > Regards,
> > Karthick
> >
> >
> >
> > On 4/16/09, Jonathan Coogan <[email protected]>
> > wrote:
> >
> > Hi.  I have a question about the "insert-as-first-into"
> > and
> > "insert-as-last-into" Xpath extensions.
> >
> > I get a selectionFailure if I try to insert a child into
> > a parent that
> > does not yet contain other children.  I'm wondering if
> > this was done on
> > purpose for some reason, or if this is a bug.
> >
> > As an example, say I have the following elements/types:
> >
> >   <element name="RecordSet" type="tns:RecordSetType"/>
> >    <complexType name="RecordSetType">
> >        <sequence>
> >            <element maxOccurs="unbounded" minOccurs="0"
> > ref="tns:Record"/>
> >        </sequence>
> >    </complexType>
> >
> >    <element name="Record" type="tns:RecordType"/>
> >     <complexType name="RecordType">
> >        <sequence>
> >            <element maxOccurs="1" minOccurs="1"
> > name="SomeValue"
> > type="string"/>
> >            <element maxOccurs="1" minOccurs="1"
> > name="AnotherValue"
> > type="string"/>
> >        </sequence>
> >    </complexType>
> >
> > So RecordSet can contain 0 or more Records.  If I try to
> > insert a Record
> > into an empty RecordSet (0 Records) I get a
> > selectionFailure.  I have to
> > initialize the RecordSet variable with at least one
> > dummy Record before
> > it will work.
> >
> > Comments?
> >
> > Thanks.
> > -Jon
> >
> >
> >
> >
>
>

Reply via email to