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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]