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 "Dimuthu Gamage (JIRA)" <ji...@apache.org> on 2008/05/18 21:30:56 UTC
[jira] Commented: (AXIS2C-595) XPath support in AXIOM
[ 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