Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 93004 invoked from network); 3 Aug 2004 20:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 20:54:56 -0000 Received: (qmail 7601 invoked by uid 500); 3 Aug 2004 20:54:52 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 7437 invoked by uid 500); 3 Aug 2004 20:54:51 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 7428 invoked by uid 99); 3 Aug 2004 20:54:51 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 13:54:49 -0700 Received: (qmail 6375 invoked from network); 3 Aug 2004 20:56:20 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 3 Aug 2004 20:56:20 -0000 Message-ID: <1799003118.1091566580001.JavaMail.apache@nagoya> Date: Tue, 3 Aug 2004 13:56:19 -0700 (PDT) From: axis-dev@ws.apache.org To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-1488) xs:list itemTypes are forced into namespace {http://www.w3.org/2001/XMLSchema} In-Reply-To: <219172707.1091566340117.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: Steve Green (mailto:steve.green@epok.net) Date: Tue, 3 Aug 2004 1:54 PM Changes: Attachment changed to xslist.patch --------------------------------------------------------------------- For a full history of the issue, see: http://issues.apache.org/jira/browse/AXIS-1488?page=history --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AXIS-1488 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXIS-1488 Summary: xs:list itemTypes are forced into namespace {http://www.w3.org/2001/XMLSchema} Type: Bug Status: Unassigned Priority: Major Project: Axis Components: WSDL processing Versions: beta-3 Assignee: Reporter: Steve Green Created: Tue, 3 Aug 2004 1:51 PM Updated: Tue, 3 Aug 2004 1:54 PM Description: Generated code from xs:list items uses the wrong namespace for the list. Attached is some wsdl that demonstrates the problem. newEntryIDs is class ModifyResponseType gets generated like this: org.w3.www._2001.XMLSchema.IDReferenceType[] newEntryIDs; The reason for this is in SchemaUtils.getListItemType(). The code in question finds the array type, throws away any namespace prefix, and returns a QName in org.w3.www._2001.XMLSchema. return new QName(Constants.URI_2001_SCHEMA_XSD, type + "[]"); Also attached is a patch that partially fixes the problem. The patch will attempt to find the QName of the base type for the array. I call this a partial fix because my patch does not throw an exception if the list item type cannot be found in the symbol table. I also suspect that there might be a better way to solve the problem. --------------------------------------------------------------------- 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