axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/test/encoding TestHrefs.java
Date Fri, 13 Jul 2001 05:19:19 GMT
rubys       01/07/12 22:19:18

  Modified:    java/test/encoding TestHrefs.java
  Log:
  Specify root=0 on the target of the href (otherwise it may be
  interpreted as the first body element, depending on placement)
  
  Revision  Changes    Path
  1.8       +5 -6      xml-axis/java/test/encoding/TestHrefs.java
  
  Index: TestHrefs.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/encoding/TestHrefs.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TestHrefs.java	2001/07/10 16:05:05	1.7
  +++ TestHrefs.java	2001/07/13 05:19:15	1.8
  @@ -93,12 +93,11 @@
       }
   
       public void testStringReference() throws Exception {
  -        deserialize("<result id=\"1\" xsi:type=\"xsd:string\">abc</result>",
  -                    "abc", 0);
  -        deserialize("<result id=\"1\" xsi:type=\"xsd:string\">abc</result>",
  -                    "abc", 1);
  -        deserialize("<result id=\"1\" xsi:type=\"xsd:string\">abc</result>",
  -                    "abc", 2);
  +        String result = 
  +            "<result root=\"0\" id=\"1\" xsi:type=\"xsd:string\">abc</result>";
  +        deserialize(result, "abc", 0);
  +        deserialize(result, "abc", 1);
  +        deserialize(result, "abc", 2);
       }
   
       /*
  
  
  

Mime
View raw message