xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r159094 - xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java
Date Sat, 26 Mar 2005 04:35:57 GMT
Author: radup
Date: Fri Mar 25 20:35:57 2005
New Revision: 159094

URL: http://svn.apache.org/viewcvs?view=rev&rev=159094
Log:
Fix for http://issues.apache.org/jira/browse/XMLBEANS-8.

Modified:
    xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java

Modified: xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java
URL: http://svn.apache.org/viewcvs/xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java?view=diff&r1=159093&r2=159094
==============================================================================
--- xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java (original)
+++ xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/StscJavaizer.java Fri
Mar 25 20:35:57 2005
@@ -248,7 +248,9 @@
         }
 
         // assign java type names to anonymous types
-        assignJavaAnonymousTypeNames(sImpl);
+        // for redefined types, we can't do this step
+        if (sImpl.getFullJavaName() != null || sImpl.getOuterType() != null)
+            assignJavaAnonymousTypeNames(sImpl);
 
         sImpl.finishJavaizing();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message