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 "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2006/06/05 08:56:29 UTC

[jira] Created: (AXIS2C-187) Given a prefix and a node, return the namespace URI that the prefix has been associated with

Given a prefix and a node, return the namespace URI that the prefix has been associated with
--------------------------------------------------------------------------------------------

         Key: AXIS2C-187
         URL: http://issues.apache.org/jira/browse/AXIS2C-187
     Project: Axis2-C
        Type: Improvement

  Components: xml/om  
    Versions: 1.0.0    
    Reporter: Damitha Kumarage


I would like to have the following functionlity in om_util.c

/**
* Given a prefix and a node, return the namespace URI that the prefix
* has been associated with. This method is useful in resolving the
* namespace URI of attribute values which are being interpreted as
* QNames. If prefix is null, this method will return the default
* namespace.
*
* @param context the starting node (looks up recursively from here)
* @param prefix the prefix to find an xmlns:prefix=uri for
*
* @return the namespace URI or null if not found
*/
AXIS2_EXTERN axis2_qname_t * AXIS2_CALL
woden_om_util_get_namespace_uri_from_prefix(
        const axis2_env_t *env,
        axis2_om_node_t *context_el_node,
        axis2_char_t *prefix)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-187) Given a prefix and a node, return the namespace URI that the prefix has been associated with

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-187?page=all ]

Damitha Kumarage closed AXIS2C-187.
-----------------------------------

    Resolution: Fixed
      Assignee: Damitha Kumarage

This should not be taken as an issue. Nandika showed me that this is already
implemented in axiom_element by  "find_namespace_uri" function


> Given a prefix and a node, return the namespace URI that the prefix has been associated with
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-187
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-187
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: xml/om
>    Affects Versions: 1.0.0
>            Reporter: Damitha Kumarage
>         Assigned To: Damitha Kumarage
>
> I would like to have the following functionlity in om_util.c
> /**
> * Given a prefix and a node, return the namespace URI that the prefix
> * has been associated with. This method is useful in resolving the
> * namespace URI of attribute values which are being interpreted as
> * QNames. If prefix is null, this method will return the default
> * namespace.
> *
> * @param context the starting node (looks up recursively from here)
> * @param prefix the prefix to find an xmlns:prefix=uri for
> *
> * @return the namespace URI or null if not found
> */
> AXIS2_EXTERN axis2_qname_t * AXIS2_CALL
> woden_om_util_get_namespace_uri_from_prefix(
>         const axis2_env_t *env,
>         axis2_om_node_t *context_el_node,
>         axis2_char_t *prefix)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org