Lance,

Please see a challenge for the
saaj\api\javax_xml_soap\Node\URLClient_getValueTest1_from_standalone test case 
from SAAJ TCK. Also
enclosed is the URLClient_getValueTest1_from_standalone.jtr output file.

Thanks,
dims



=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
1. Licensee Name: Apache
 
2. TCK and version: SAAJ (saaj_tck-1_1-fcs-bin-06_jun_2002.zip)
 
3. SDK version: NA
 
4. Priority (low, medium, high, ): HIGH
 
5. Specification Reference:
       - Spec Name: SOAP with Attachments API for Java
       - Spec version : (SAAJ) v1.1 Maintenance Release
       - Spec date: June 2002
       - Page/Section to reference: Section 2.8.3, Page 50.
 
6. Test Name(s): 
        saaj\api\javax_xml_soap\Node\URLClient_getValueTest1_from_standalone
 
7. Problem Description:
        In getValueTest1 method in NodeTestServlet.java (Line 438) there is a 
check for a getValue and a comparison to an empty string (""). This is not the 
correct test according to the spec. The spec states clearly as follows:
                "a String with the text of the immediate child of this Node 
object if (1) there is a child and (2) the child is a Text object; null 
otherwise"

        So the TCK code must be changed to compare the return value as follows:
            if (value != null) {
   
        instead of the existing code
            if (!value.equals("")) {

        

Attachment: URLClient_getValueTest1_from_standalone.jtr
Description: URLClient_getValueTest1_from_standalone.jtr

Reply via email to