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 gl...@apache.org on 2002/09/12 12:39:58 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding SerializationContextImpl.java
glyn 2002/09/12 03:39:58
Modified: java/src/org/apache/axis Constants.java
java/src/org/apache/axis/encoding
SerializationContextImpl.java
Log:
Correct XML namespace.
Due to build problems, this has only had the functional, encoding, and a
few unit tests run against it. However, the problem is simple and basic and
needs correcting for 1.0.
Change supplied by Andrew Osborne (bardweller@hotmail.com).
Revision Changes Path
1.89 +3 -0 xml-axis/java/src/org/apache/axis/Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Constants.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- Constants.java 7 Sep 2002 00:05:31 -0000 1.88
+++ Constants.java 12 Sep 2002 10:39:57 -0000 1.89
@@ -283,6 +283,9 @@
public static final String NS_URI_XMLNS =
"http://www.w3.org/2000/xmlns/";
+ public static final String NS_URI_XML =
+ "http://www.w3.org/XML/1998/namespace";
+
//
// Schema XSD Namespaces
//
1.66 +1 -1 xml-axis/java/src/org/apache/axis/encoding/SerializationContextImpl.java
Index: SerializationContextImpl.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/SerializationContextImpl.java,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- SerializationContextImpl.java 9 Sep 2002 17:03:25 -0000 1.65
+++ SerializationContextImpl.java 12 Sep 2002 10:39:58 -0000 1.66
@@ -210,7 +210,7 @@
// style defaults. MAKE SURE soapConstants IS SET CORRECTLY FIRST!
preferredPrefixes.put(soapConstants.getEncodingURI(),
Constants.NS_PREFIX_SOAP_ENC);
- preferredPrefixes.put(Constants.NS_URI_XMLNS,
+ preferredPrefixes.put(Constants.NS_URI_XML,
Constants.NS_PREFIX_XML);
preferredPrefixes.put(schemaVersion.getXsdURI(),
Constants.NS_PREFIX_SCHEMA_XSD);