You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/03/23 14:11:57 UTC

[jira] Updated: (AXIS-1259) local xsd:group constructs are not processed properly

The following issue has been updated:

    Updater: Dominic Battre (mailto:dominic.battre@gmx.de)
       Date: Tue, 23 Mar 2004 5:10 AM
    Comment:
the path after that the error occurs
    Changes:
             Attachment changed to patch.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1259&page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1259

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1259
    Summary: local xsd:group constructs are not processed properly
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Dominic Battre

    Created: Tue, 23 Mar 2004 5:07 AM
    Updated: Tue, 23 Mar 2004 5:10 AM
Environment: Gentoo Linux, Blackdown JDK 1.4.1

Description:
The fix for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26548 seems to create some problems concerning xsd:groups.

At least WSDL2Java (cvs as of Feb 5 2004) processes the following code without complains whilst WSDL2Java (cvs as of Feb 6 2004) produces this exception:

java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true --verbose test.wsdl

Parsing XML file:  test.wsdl
java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}simpleRestrictionModel is referenced but not defined.
        at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:670)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:550)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:524)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:501)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:374)
        at java.lang.Thread.run(Thread.java:536)


The wsdl code creating the problem is

 <xsd:complexType name="foobartype">
    <xsd:sequence>
       <xsd:group ref="xsd:simpleRestrictionModel" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>

I will attach the whole wsdl file and the patch that was applied on Feb 6 2004.


---------------------------------------------------------------------
JIRA INFORMATION:
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