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 "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/02/28 22:55:51 UTC
[jira] Created: (AXIS2C-1023) AXIS2_URI_UNP_OMITQUERY documentation
is incorrect.
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
[jira] Resolved: (AXIS2C-1023) AXIS2_URI_UNP_OMITQUERY
documentation is incorrect.
Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Senaka Fernando resolved AXIS2C-1023.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Fixed Issue
> 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
> Fix For: 1.3.0
>
>
> 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