axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manohar (JIRA)" <>
Subject [jira] Created: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Date Tue, 26 Jul 2005 06:20:18 GMT
Unknown exception thrown for XSD_anyURI type

         Key: AXISCPP-764
     Project: Axis-C++
        Type: Bug
    Reporter: Manohar

When input for XSD_anyURI is given without protocol prefix in it (like 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] = "";
        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;
                cout << "non-nillable element=<empty>" << endl;
            cout << "non-nillable element=<nil>" << endl;

A testcase for this problem will be added soon.


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message