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] Created: (AXIS2C-1023) AXIS2_URI_UNP_OMITQUERY documentation is incorrect.
Date Thu, 28 Feb 2008 21:55:51 GMT
AXIS2_URI_UNP_OMITQUERY documentation is incorrect.
---------------------------------------------------

                 Key: AXIS2C-1023
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1023
             Project: Axis2-C
          Issue Type: Bug
          Components: util
    Affects Versions: 1.3.0
            Reporter: Senaka Fernando
            Assignee: Senaka Fernando


AXIS2_URI_UNP_OMITQUERY documentation is incorrect. The AXIS2_URI_UNP_OMITQUERY flag used
in uri_to_string() omits both query and fragment ('#' part), but, in the documentation it
says only query string. This is thus not compliant to RFC2396 that treats query and fragment
as two components, as in [1]. Thus, the ideal fix would be to introduce another flag, AXIS2_URI_UNP_OMITFRAGMENT.
But, as this may lead to API inconsistencies since the constant has been around, it is better
to define two new constants AXIS2_URI_UNP_OMITFRAGMENT_ONLY and AXIS2_URI_UNP_OMITQUERY_ONLY
and define AXIS2_URI_UNP_OMITQUERY as,

#define AXIS2_URI_UNP_OMITQUERY  (AXIS2_URI_UNP_OMITFRAGMENT_ONLY | AXIS2_URI_UNP_OMITQUERY_ONLY)

[1] http://www.rfc.net/rfc2396.html

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