You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by am...@apache.org on 2008/02/14 12:31:13 UTC
svn commit: r627710 -
/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Author: amilas
Date: Thu Feb 14 03:30:40 2008
New Revision: 627710
URL: http://svn.apache.org/viewvc?rev=627710&view=rev
Log:
when resolving schemas target namespaces must be matched
Modified:
webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?rev=627710&r1=627709&r2=627710&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java Thu Feb 14 03:30:40 2008
@@ -2667,6 +2667,9 @@
QName componentQName,
int componetType) {
boolean isExists = false;
+ if (!schema.getTargetNamespace().equals(componentQName.getNamespaceURI())){
+ return false;
+ }
switch (componetType) {
case COMPONENT_TYPE : {
isExists = (schema.getTypeByName(componentQName.getLocalPart()) != null);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org