axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-874) Function axiom_namespace_create[Alastair FETTES]
Date Fri, 04 Jan 2008 12:11:34 GMT
AXIS2_EXTERN
axiom_node_t*
 axiom_document_build_all(
      struct axiom_document*     document,

      const axutil_env_t*        env)
</snippet>
Function
 axiom_namespace_create
In-Reply-To: <7368021.1199419414777.JavaMail.jira@brutus>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit


    [ https://issues.apache.org/jira/browse/AXIS2C-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555911#action_12555911
] 

Senaka Fernando commented on AXIS2C-874:
----------------------------------------

This is not a bug, and is not required to be documented as it is const. Isn't that a convention?

Regards,
Senaka

>  Function axiom_namespace_create[Alastair FETTES]
AXIS2_EXTERN
axiom_node_t* axiom_document_build_all(
      struct axiom_document*     document,
      const axutil_env_t*        env)
</snippet>
Function axiom_namespace_create
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-874
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-874
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: xml/om
>    Affects Versions: Current (Nightly)
>         Environment: Ubuntu 7.04
>            Reporter: Lahiru Gunathilake
>             Fix For: Current (Nightly)
>
>
> <snippet>
> AXIS2_EXTERN
> axiom_namespace_t* axiom_namespace_create(
>      const axutil_env_t*     env,
>      const axis2_char_t*     uri,
>      const axis2_char_t*     prefix)
> </snippet>
> Problem: This function and return value of type axiom_namespace_t* does not take responsibility
for the memory allocated for the parameters uri, prefix, and of course env.
> Solution: Document memory ownership for parameters and return value.

-- 
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


Mime
View raw message