You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by hu...@apache.org on 2006/07/18 16:55:14 UTC

svn commit: r423102 - /webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java

Author: hughesj
Date: Tue Jul 18 07:55:14 2006
New Revision: 423102

URL: http://svn.apache.org/viewvc?rev=423102&view=rev
Log:
WSCOMMONS-59: when a schema is serialized that doesn't have a target namespace set, prevent targetNamespace="DEFAULT" being written

Modified:
    webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java

Modified: webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java?rev=423102&r1=423101&r2=423102&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java (original)
+++ webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/XmlSchema.java Tue Jul 18 07:55:14 2006
@@ -61,7 +61,7 @@
     XmlSchemaDerivationMethod blockDefault, finalDefault;
     XmlSchemaObjectCollection includes, items;
     boolean isCompiled;
-    String targetNamespace = "DEFAULT", version;
+    String targetNamespace, version;
     Hashtable namespaces;
     String schema_ns_prefix = "";
     XmlSchemaCollection parent;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org