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 "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/07/25 14:41:32 UTC
[jira] Created: (AXISCPP-761) AXIS C++ allows empty URI for anyURI
AXIS C++ allows empty URI for anyURI
------------------------------------
Key: AXISCPP-761
URL: http://issues.apache.org/jira/browse/AXISCPP-761
Project: Axis-C++
Type: Bug
Reporter: Manohar
When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
Here is the code which shows the problem.
char emptyanyURI[1] = "";
xsd__anyURI emptyInput = new char[1];
strcpy (emptyInput, emptyanyURI);
result = ws->asNonNillableElement(emptyInput);
if (result)
{
if (*result)
{
cout << "empty non-nillable element=" << result << endl;
}
else
{
cout << "empty non-nillable element=<empty>" << endl;
}
}
else
{
cout << "empty non-nillable element=<nil>" << endl;
}
Following exception is thrown when I passed an empty URI as an input.
"com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
Regards
Manohar
--
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
[jira] Closed: (AXISCPP-761) AXIS C++ allows empty URI for anyURI
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-761.
------------------------------
Resolution: Duplicate
duplicated by AXISCPP-789.
> AXIS C++ allows empty URI for anyURI
> ------------------------------------
>
> Key: AXISCPP-761
> URL: https://issues.apache.org/jira/browse/AXISCPP-761
> Project: Axis-C++
> Issue Type: Bug
> Components: XSD Types
> Affects Versions: current (nightly)
> Reporter: Manohar
> Priority: Minor
>
> When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
> Here is the code which shows the problem.
> char emptyanyURI[1] = "";
> xsd__anyURI emptyInput = new char[1];
> strcpy (emptyInput, emptyanyURI);
> result = ws->asNonNillableElement(emptyInput);
> if (result)
> {
> if (*result)
> {
> cout << "empty non-nillable element=" << result << endl;
> }
> else
> {
> cout << "empty non-nillable element=<empty>" << endl;
> }
> }
> else
> {
> cout << "empty non-nillable element=<nil>" << endl;
> }
> Following exception is thrown when I passed an empty URI as an input.
> "com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
> The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
> Regards
> Manohar
--
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] Updated: (AXISCPP-761) AXIS C++ allows empty URI for anyURI
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-761?page=all ]
John Hawkins updated AXISCPP-761:
---------------------------------
Description:
When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
Here is the code which shows the problem.
char emptyanyURI[1] = "";
xsd__anyURI emptyInput = new char[1];
strcpy (emptyInput, emptyanyURI);
result = ws->asNonNillableElement(emptyInput);
if (result)
{
if (*result)
{
cout << "empty non-nillable element=" << result << endl;
}
else
{
cout << "empty non-nillable element=<empty>" << endl;
}
}
else
{
cout << "empty non-nillable element=<nil>" << endl;
}
Following exception is thrown when I passed an empty URI as an input.
"com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
Regards
Manohar
was:
When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
Here is the code which shows the problem.
char emptyanyURI[1] = "";
xsd__anyURI emptyInput = new char[1];
strcpy (emptyInput, emptyanyURI);
result = ws->asNonNillableElement(emptyInput);
if (result)
{
if (*result)
{
cout << "empty non-nillable element=" << result << endl;
}
else
{
cout << "empty non-nillable element=<empty>" << endl;
}
}
else
{
cout << "empty non-nillable element=<nil>" << endl;
}
Following exception is thrown when I passed an empty URI as an input.
"com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
Regards
Manohar
Priority: Minor (was: Major)
I don't believe this is a major issue in comparison with other issues we have.
> AXIS C++ allows empty URI for anyURI
> ------------------------------------
>
> Key: AXISCPP-761
> URL: http://issues.apache.org/jira/browse/AXISCPP-761
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
> Priority: Minor
>
> When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
> Here is the code which shows the problem.
> char emptyanyURI[1] = "";
> xsd__anyURI emptyInput = new char[1];
> strcpy (emptyInput, emptyanyURI);
> result = ws->asNonNillableElement(emptyInput);
> if (result)
> {
> if (*result)
> {
> cout << "empty non-nillable element=" << result << endl;
> }
> else
> {
> cout << "empty non-nillable element=<empty>" << endl;
> }
> }
> else
> {
> cout << "empty non-nillable element=<nil>" << endl;
> }
> Following exception is thrown when I passed an empty URI as an input.
> "com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
> The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
> Regards
> Manohar
--
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
[jira] Updated: (AXISCPP-761) AXIS C++ allows empty URI for anyURI
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-761?page=all ]
Samisa Abeysinghe updated AXISCPP-761:
--------------------------------------
Component: XSD Types
Description:
When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
Here is the code which shows the problem.
char emptyanyURI[1] = "";
xsd__anyURI emptyInput = new char[1];
strcpy (emptyInput, emptyanyURI);
result = ws->asNonNillableElement(emptyInput);
if (result)
{
if (*result)
{
cout << "empty non-nillable element=" << result << endl;
}
else
{
cout << "empty non-nillable element=<empty>" << endl;
}
}
else
{
cout << "empty non-nillable element=<nil>" << endl;
}
Following exception is thrown when I passed an empty URI as an input.
"com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
Regards
Manohar
was:
When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
Here is the code which shows the problem.
char emptyanyURI[1] = "";
xsd__anyURI emptyInput = new char[1];
strcpy (emptyInput, emptyanyURI);
result = ws->asNonNillableElement(emptyInput);
if (result)
{
if (*result)
{
cout << "empty non-nillable element=" << result << endl;
}
else
{
cout << "empty non-nillable element=<empty>" << endl;
}
}
else
{
cout << "empty non-nillable element=<nil>" << endl;
}
Following exception is thrown when I passed an empty URI as an input.
"com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
Regards
Manohar
Version: current (nightly)
> AXIS C++ allows empty URI for anyURI
> ------------------------------------
>
> Key: AXISCPP-761
> URL: http://issues.apache.org/jira/browse/AXISCPP-761
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
>
> When I pass an empty URI as an XSD_anyURI input, AXIS C++ allows it. As per the specification, an empty URI is not permitted.
> Here is the code which shows the problem.
> char emptyanyURI[1] = "";
> xsd__anyURI emptyInput = new char[1];
> strcpy (emptyInput, emptyanyURI);
> result = ws->asNonNillableElement(emptyInput);
> if (result)
> {
> if (*result)
> {
> cout << "empty non-nillable element=" << result << endl;
> }
> else
> {
> cout << "empty non-nillable element=<empty>" << endl;
> }
> }
> else
> {
> cout << "empty non-nillable element=<nil>" << endl;
> }
> Following exception is thrown when I passed an empty URI as an input.
> "com.ibm.ws.webservices.engine.types.URI$MalformedURIException: Cannot initialize URI with empty parameters"
> The above exception repoted by server. AXIS C++ shouldn't allow an empty URI and it should report some exception. A testcase for this problem will be added soon.
> Regards
> Manohar
--
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