Hi,

I have uploaded a patch for TUSCANY-1548. If someone could review and
apply it that would be great.

Thanks,

Michael
Rogue Wave Software, Inc. - [EMAIL PROTECTED] Software Developer -
HydraSDO 

-----Original Message-----
From: Michael Yoder (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 28, 2007 9:52 AM
To: Michael Yoder
Subject: [jira] Updated: (TUSCANY-1548) multi-valued properties should
require indexed xpath


     [
https://issues.apache.org/jira/browse/TUSCANY-1548?page=com.atlassian.ji
ra.plugin.system.issuetabpanels:all-tabpanel ]

Michael Yoder updated TUSCANY-1548:
-----------------------------------

    Attachment: TUSCANY-1548.txt

This patch enforces the requirement that multi-valued properties need an
index in an xpath for access, and must  be added with  getList().

> multi-valued properties should require indexed xpath
> ----------------------------------------------------
>
>                 Key: TUSCANY-1548
>                 URL:
https://issues.apache.org/jira/browse/TUSCANY-1548
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-M3
>         Environment: all
>            Reporter: Michael Yoder
>             Fix For: Cpp-Next
>
>         Attachments: TUSCANY-1548.txt
>
>
> The C++ SDO spec XPath clearly shows access to many-valued properties
requiring [] or dot notation to denote an index. In order to retreive a
whole list the SDO spec uses the getList() API to retrieve a list.
> 6.1.13. The get/set API on Class DataObject ...
> Multi-valued properties are located by the getList API.
> Multi-valued properties accessed in an xpath without an index should
be invalid usage (Tuscany SDO is currently accesses the first element in
the list).

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to