[ http://issues.apache.org/jira/browse/AXISCPP-755?page=all ]
Samisa Abeysinghe updated AXISCPP-755:
--------------------------------------
Component: XSD Types
Version: current (nightly)
> AXIS C++ doesn't support non UTF8 characters in XSD_anyURI type
> ---------------------------------------------------------------
>
> Key: AXISCPP-755
> URL: http://issues.apache.org/jira/browse/AXISCPP-755
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
>
> AXIS C++ doesn't support non UTF8 characters for XSD_anyURI. As per the
> specification, when a non UTF-8 character is specified as part of the URI, it
> should be converted to UTF-8 equivalent and still be supported as a proper
> URI.
> I've tried this using the uri http://www.w3.org/People/Dürst/ (observe the
> "u" character) and received an exception for this.
> Following code shows the problem. I shall create a testcase for this soon.
> char simpleanyURI[50] = "http://www.w3.org/People/Dürst/";
> xsd__anyURI input = new char[25];
> strcpy (input, simpleanyURI);
> // Test non-nillable element
> 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;
> }
--
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