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 "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/08/10 10:05:40 UTC
[jira] Created: (AXISCPP-790) "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName types
"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
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
[jira] Closed: (AXISCPP-790) "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName types
Posted by "Manohar (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-790?page=all ]
Manohar closed AXISCPP-790:
---------------------------
Resolution: Fixed
I have removed these scenarios from the 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
> Components: XSD Types
> Versions: current (nightly)
> 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
Re: [jira] Assigned: (AXISCPP-790) "XML reserved characters scenarios" in
UTs are not valid for XSD_Name and XSD_NCName types
Posted by Manohar K Chintala <cm...@in.ibm.com>.
I've removed these scenarios from XSD_Name and XSD_NCName tests and also
modified the expected output and expected server response files
accordingly.
Regards
Manohar
"Manohar (JIRA)"
<axis-c-dev@ws.ap
ache.org> To
axis-c-dev@ws.apache.org
08/10/2005 01:37 cc
PM
Subject
[jira] Assigned: (AXISCPP-790) "XML
Please respond to reserved characters scenarios" in
"Apache AXIS C UTs are not valid for XSD_Name and
Developers List" XSD_NCName types
[ 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
[jira] Assigned: (AXISCPP-790) "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName types
Posted by "Manohar (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Updated: (AXISCPP-790) "XML reserved characters scenarios" in UTs are not valid for XSD_Name and XSD_NCName types
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-790?page=all ]
Samisa Abeysinghe updated AXISCPP-790:
--------------------------------------
Component: XSD Types
Description:
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
was:
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
Version: current (nightly)
> "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
> Components: XSD Types
> Versions: current (nightly)
> 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