axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manohar (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Assigned: (AXISCPP-790) "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName types
Date Wed, 10 Aug 2005 08:07:35 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-790?page=all ]

Manohar reassigned AXISCPP-790:
-------------------------------

    Assign To: Manohar

I will remove these scenarios and add the modified unit tests. 

> "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName
types
> ------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-790
>          URL: http://issues.apache.org/jira/browse/AXISCPP-790
>      Project: Axis-C++
>         Type: Bug
>     Reporter: Manohar
>     Assignee: Manohar

>
> The unit  tests given for  XSD_Name and XSD_NCName types contain  XML reserved characters
scenarios which are not valid as inputs to these types. These scenarios should be removed
 for the unit tests also server response expected files require modification.
> For reference, I am pasting one of the scenario for XSD_Name which is not a valid one.
>         char reservedCharactersName[] = "<>&\"\'";
>         xsd__Name reservedCharactersInput = reservedCharactersName;
>         result = ws->asNonNillableElement(reservedCharactersInput);
>         if (result)
>         {
>             if (*result)
>             {
>                 cout << "non-nillable element with XML reserved characters=" <<
result << endl;
>             }
>             else
>             {
>                 cout << "non-nillable element with XML reserved characters=<empty>"
<< endl;
>             }
>         }
>         else
>         {
>             cout << "non-nillable element with XML reserved characters=<nil>"
<< endl;
>         }
> 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