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 "Adrian Dick (JIRA)" <ax...@ws.apache.org> on 2005/12/16 15:24:48 UTC

[jira] Resolved: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type

     [ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
     
Adrian Dick resolved AXISCPP-764:
---------------------------------

    Resolution: Cannot Reproduce

This appears to have been a problem with the server against which this client test was being run.  As we've had confirmation this is working wih the Axis C++ server, I think we can mark this as not being a problem.

> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
>          Key: AXISCPP-764
>          URL: http://issues.apache.org/jira/browse/AXISCPP-764
>      Project: Axis-C++
>         Type: Bug
>   Components: XSD Types
>     Versions: current (nightly)
>     Reporter: Manohar

>
> When input for XSD_anyURI is given without protocol prefix in it (like  www.google.com without http )  an unknown exception is thrown.  Though the specification says  that  protocol prefix is not mandatory,  AXIS C++ is not able to handle an URI without protocol prefix. Following code shows the problem.
> 	char simpleanyURI[25] = "www.google.com";
>         xsd__anyURI input = new char[25];
>         strcpy (input, simpleanyURI);
>         xsd__anyURI result = ws->asNonNillableElement(input);
>         if (result)
>         {
>             if (*result)
>             {
>                 cout << "non-nillable element=" << result << endl;
>             }
>             else
>             {
>                 cout << "non-nillable element=<empty>" << endl;
>             }
>         }
>         else
>         {
>             cout << "non-nillable element=<nil>" << endl;
>         }
> 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