axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benny Kristensen (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1755) Extending an enumeration causes NPE in WSDL2Java
Date Mon, 10 Jan 2005 13:59:12 GMT
Extending an enumeration causes NPE in WSDL2Java
------------------------------------------------

         Key: AXIS-1755
         URL: http://issues.apache.org/jira/browse/AXIS-1755
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC2    
 Environment: Windows XP
IBM JDK 1.3.1
Axis 1.2.RC2
    Reporter: Benny Kristensen


When you 'extend' a enumeration type in xsd, WSDL2Java crashes with a NullPointerException
(or in some cases with a DuplicateFileException)

example:
          
        ........... 
	<xs:simpleType name="State">
		<xs:restriction base="xs:string">
			<xs:enumeration value="dead"/>
			<xs:enumeration value="alive"/>
			<xs:enumeration value="sick"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SubState">
		<xs:restriction base="State">
			<xs:enumeration value="sick"/>
			<xs:enumeration value="dead"/>
		</xs:restriction>
	</xs:simpleType>
        ..... 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message