axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Preston (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Date Wed, 05 Apr 2006 13:07:19 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
     
Fred Preston closed AXISCPP-764:
--------------------------------


> 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


Mime
View raw message