You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Malinda Kaushalye Kapuruge (JIRA)" <ji...@apache.org> on 2007/04/24 09:35:15 UTC

[jira] Created: (AXIS2C-595) XPath support in AXIOM

XPath support in AXIOM
----------------------

                 Key: AXIS2C-595
                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
             Project: Axis2-C
          Issue Type: New Feature
          Components: xml/om
         Environment: Any
            Reporter: Malinda Kaushalye Kapuruge


We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: [jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by Varuna Jayasiri <vp...@gmail.com>.
Hi Supun

Thank you very much for the help; please let me know if you see anything
that should be changed at this stage or later.

Thanks
 Varuna


On Wed, May 28, 2008 at 2:37 PM, Supun Kamburugamuva <su...@gmail.com>
wrote:

> It is good to follow the Java API. Axiom/C is developed according to the
> Java design and it is better to have a similar API for XPath in C. What I
> want to mention is that don't go too much into the Java design and
> implementation. Please don't take this as I'm saying you are going too much
> in to the Java implementation. This is just a information that you might
> find useful. If we go along the Java implementation it will be easier to
> develop at these stages. But as we know Java and C are two programming
> paradigms and it is better if we make our implementations according to the C
> style.
>
> Supun.
>
>
> On Tue, May 27, 2008 at 7:29 AM, Varuna Jayasiri <vp...@gmail.com>
> wrote:
>
>> Yes, I was trying to make them similar. I was also following other API's
>> like libxml and the one in .net
>>
>>
>> On Tue, May 27, 2008 at 10:53 AM, Supun Kamburugamuva (JIRA) <
>> jira@apache.org> wrote:
>>
>>>
>>>    [
>>> https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600031#action_12600031]
>>>
>>> Supun Kamburugamuva commented on AXIS2C-595:
>>> --------------------------------------------
>>>
>>> Hi Varuna,
>>>
>>> Are you following the Java Axiom XPath design?
>>>
>>> Supun..
>>>
>>> > XPath support in AXIOM
>>> > ----------------------
>>> >
>>> >                 Key: AXIS2C-595
>>> >                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>>> >             Project: Axis2-C
>>> >          Issue Type: New Feature
>>> >          Components: xml/om
>>> >         Environment: Any
>>> >            Reporter: Malinda Kaushalye Kapuruge
>>> >            Assignee: S.Uthaiyashankar
>>> >         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
>>> >
>>> >
>>> > We need to have the X-Path support in AXIOM/C. This is essential in
>>> many scenarios where we need to specify a particular set of XML nodes. On
>>> example comes with WS-Security Policy where we have to specify a particular
>>> node that is needed to be encrypted/signed. Due to lack of X-Path support in
>>> AXIOM we are forced to find alternative methods.
>>>
>>> --
>>> 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: axis-c-dev-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>>
>>>
>>
>>
>> --
>> Varuna
>> www.xvpj.net
>
>
>


-- 
Varuna
www.xvpj.net

Re: [jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by Supun Kamburugamuva <su...@gmail.com>.
It is good to follow the Java API. Axiom/C is developed according to the
Java design and it is better to have a similar API for XPath in C. What I
want to mention is that don't go too much into the Java design and
implementation. Please don't take this as I'm saying you are going too much
in to the Java implementation. This is just a information that you might
find useful. If we go along the Java implementation it will be easier to
develop at these stages. But as we know Java and C are two programming
paradigms and it is better if we make our implementations according to the C
style.

Supun.

On Tue, May 27, 2008 at 7:29 AM, Varuna Jayasiri <vp...@gmail.com>
wrote:

> Yes, I was trying to make them similar. I was also following other API's
> like libxml and the one in .net
>
>
> On Tue, May 27, 2008 at 10:53 AM, Supun Kamburugamuva (JIRA) <
> jira@apache.org> wrote:
>
>>
>>    [
>> https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600031#action_12600031]
>>
>> Supun Kamburugamuva commented on AXIS2C-595:
>> --------------------------------------------
>>
>> Hi Varuna,
>>
>> Are you following the Java Axiom XPath design?
>>
>> Supun..
>>
>> > XPath support in AXIOM
>> > ----------------------
>> >
>> >                 Key: AXIS2C-595
>> >                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>> >             Project: Axis2-C
>> >          Issue Type: New Feature
>> >          Components: xml/om
>> >         Environment: Any
>> >            Reporter: Malinda Kaushalye Kapuruge
>> >            Assignee: S.Uthaiyashankar
>> >         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
>> >
>> >
>> > We need to have the X-Path support in AXIOM/C. This is essential in many
>> scenarios where we need to specify a particular set of XML nodes. On example
>> comes with WS-Security Policy where we have to specify a particular node
>> that is needed to be encrypted/signed. Due to lack of X-Path support in
>> AXIOM we are forced to find alternative methods.
>>
>> --
>> 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: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>
>
> --
> Varuna
> www.xvpj.net

Re: [jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by Varuna Jayasiri <vp...@gmail.com>.
Yes, I was trying to make them similar. I was also following other API's
like libxml and the one in .net

On Tue, May 27, 2008 at 10:53 AM, Supun Kamburugamuva (JIRA) <
jira@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600031#action_12600031]
>
> Supun Kamburugamuva commented on AXIS2C-595:
> --------------------------------------------
>
> Hi Varuna,
>
> Are you following the Java Axiom XPath design?
>
> Supun..
>
> > XPath support in AXIOM
> > ----------------------
> >
> >                 Key: AXIS2C-595
> >                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
> >             Project: Axis2-C
> >          Issue Type: New Feature
> >          Components: xml/om
> >         Environment: Any
> >            Reporter: Malinda Kaushalye Kapuruge
> >            Assignee: S.Uthaiyashankar
> >         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
> >
> >
> > We need to have the X-Path support in AXIOM/C. This is essential in many
> scenarios where we need to specify a particular set of XML nodes. On example
> comes with WS-Security Policy where we have to specify a particular node
> that is needed to be encrypted/signed. Due to lack of X-Path support in
> AXIOM we are forced to find alternative methods.
>
> --
> 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: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


-- 
Varuna
www.xvpj.net

[jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491166 ] 

Manjula Peiris commented on AXIS2C-595:
---------------------------------------

I also think we should have some way of handling xpath in current axiom implementation. In Security policy to specify encryption or signing of a particular element inside a soap header block or body the only way is xpath. Since we don't have xpath support we have defined our own ways in configurations which may cause interop problems in some advanced scenarios.

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-595) XPath support in AXIOM

Posted by "Dumindu Pallewela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dumindu Pallewela reassigned AXIS2C-595:
----------------------------------------

    Assignee: Dumindu Pallewela  (was: S.Uthaiyashankar)

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: Dumindu Pallewela
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-595) XPath support in AXIOM

Posted by "Dumindu Pallewela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dumindu Pallewela resolved AXIS2C-595.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

Committed the xpath implementation attached by varuna.

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: Dumindu Pallewela
>             Fix For: Current (Nightly)
>
>         Attachments: xpath-oct-14.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

XPath API with a very basic parser and engine.
Please leave your comments about the API, coding style, and any other suggestions.

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Attachments: xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Attachments: xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Attachments: xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586778#action_12586778 ] 

Dinesh Premalal commented on AXIS2C-595:
----------------------------------------

We have gsoc-2008 project related to issue. Whoever working on that project please make sure to update this issue accordingly .



> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-595) XPath support in AXIOM

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar reassigned AXIS2C-595:
---------------------------------------

    Assignee: S.Uthaiyashankar

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by "Dumindu Pallewela (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637008#action_12637008 ] 

Dumindu Pallewela commented on AXIS2C-595:
------------------------------------------

I have created a branch for integrating Varuna's xpath implementation with axis2/c: https://svn.apache.org/repos/asf/webservices/axis2/branches/c/xpath_integration 




> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600031#action_12600031 ] 

Supun Kamburugamuva commented on AXIS2C-595:
--------------------------------------------

Hi Varuna,

Are you following the Java Axiom XPath design?

Supun..

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-595) XPath support in AXIOM

Posted by "Dimuthu Gamage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597833#action_12597833 ] 

Dimuthu Gamage commented on AXIS2C-595:
---------------------------------------

Hi Varuna,
The API and the code looks excellent. It is better if you can submit test cases for the work done so far (I m sure you already have it.), so we can check how it is working.

In addition to that I have some comments mostly on the coding conventions. It is better you tied to that from the start

1. 4 spaces to indent
2. Even the internal functions typedefs, macros better have the prefix ( to be consistent with the the other places in axis2)
3. Use meaningful name for the struct variables ( for an example 'void *par1' in 'struct axiom_xpath_operation' is really confusing), at least you should have some comments here
4. use the block comments /**?. line comments // are not valid in ANCI C
5. It is better have validation part specially before accessing expressions like (context->expr->operation), you can do the validation one time in the entrance from the API.
6. Doc comment on the API function ( can be done later on)

You can find a axis2 coding convention doc here, http://ws.apache.org/axis2/c/coding_conventions.html. But I m not sure whether it is updated.

Thanks
Dimuthu

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Attachments: xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath-oct-14.zip

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: Dumindu Pallewela
>         Attachments: xpath-oct-14.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

A shell script has been included, which compiles and runs the tester.

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-595) XPath support in AXIOM

Posted by "Varuna Parinda Jayasiri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varuna Parinda Jayasiri updated AXIS2C-595:
-------------------------------------------

    Attachment: xpath.zip

A better tester with more test cases

> XPath support in AXIOM
> ----------------------
>
>                 Key: AXIS2C-595
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-595
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: xml/om
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>            Assignee: S.Uthaiyashankar
>         Attachments: xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip, xpath.zip
>
>
> We need to have the X-Path support in AXIOM/C. This is essential in many scenarios where we need to specify a particular set of XML nodes. On example comes with WS-Security Policy where we have to specify a particular node that is needed to be encrypted/signed. Due to lack of X-Path support in AXIOM we are forced to find alternative methods. 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org