You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by am...@apache.org on 2010/05/01 07:35:45 UTC
svn commit: r939926 -
/axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java
Author: amilas
Date: Sat May 1 05:35:44 2010
New Revision: 939926
URL: http://svn.apache.org/viewvc?rev=939926&view=rev
Log:
applied the patch for AXIS2-4140
Modified:
axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java
Modified: axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java?rev=939926&r1=939925&r2=939926&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java (original)
+++ axis/axis2/java/core/trunk/modules/jibx/src/org/apache/axis2/jibx/CodeGenerationUtility.java Sat May 1 05:35:44 2010
@@ -1074,8 +1074,10 @@ public class CodeGenerationUtility {
// recurse to process included binding definitions
IncludeElement include = (IncludeElement)child;
- collectTopLevelComponents(include.getBinding(), defaultns,
- elementMap, complexTypeMap, simpleTypeMap, bindingMap);
+ if(include.getBinding() != null) {
+ collectTopLevelComponents(include.getBinding(), defaultns,
+ elementMap, complexTypeMap, simpleTypeMap, bindingMap);
+ }
} else if (child.type() == ElementBase.FORMAT_ELEMENT) {