You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ru...@apache.org on 2001/07/13 07:19:19 UTC
cvs commit: xml-axis/java/test/encoding TestHrefs.java
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);
}
/*