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 sc...@apache.org on 2002/09/26 16:04:33 UTC
cvs commit: xml-axis/java/test/encoding TestDeser1999.java
scheu 2002/09/26 07:04:33
Modified: java/test/encoding TestDeser1999.java
Log:
Changed a test to verify the default namespace fix that Glen
added yesterday.
Revision Changes Path
1.8 +8 -2 xml-axis/java/test/encoding/TestDeser1999.java
Index: TestDeser1999.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/encoding/TestDeser1999.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TestDeser1999.java 25 Sep 2002 22:25:24 -0000 1.7
+++ TestDeser1999.java 26 Sep 2002 14:04:33 -0000 1.8
@@ -18,13 +18,19 @@
HashMap m = new HashMap();
m.put(null, new Boolean("false"));
m.put("hi", null);
+ // Test map with nulls and
+ // Test type references to the default namespace.
deserialize("<result xsi:type=\"xmlsoap:Map\" " +
"xmlns:xmlsoap=\"http://xml.apache.org/xml-soap\"> " +
"<item>" +
"<key xsi:null=\"true\"/>" +
- "<value xsi:type=\"xsd:boolean\">false</value>" +
+ "<value xsi:type=\"boolean\" xmlns=\"" +
+ Constants.URI_1999_SCHEMA_XSD +
+ "\">false</value>" +
"</item><item>" +
- "<key xsi:type=\"xsd:string\">hi</key>" +
+ "<key xsi:type=\"string\" xmlns=\"" +
+ Constants.URI_1999_SCHEMA_XSD +
+ "\">hi</key>" +
"<value xsi:null=\"true\"/>" +
"</item>" +
"</result>",