Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 18617 invoked from network); 9 Feb 2005 17:38:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Feb 2005 17:38:16 -0000 Received: (qmail 18318 invoked by uid 500); 9 Feb 2005 17:38:16 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 18286 invoked by uid 500); 9 Feb 2005 17:38:15 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 18264 invoked by uid 99); 9 Feb 2005 17:38:15 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Feb 2005 09:38:15 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j19HcCCh031001 for ; Wed, 9 Feb 2005 18:38:12 +0100 Message-ID: <1864221643.1107970692575.JavaMail.jira@ajax.apache.org> Date: Wed, 9 Feb 2005 18:38:12 +0100 (CET) From: "John Hawkins (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXISCPP-255) Bad XSDTYPE's In-Reply-To: <747149393.1100099543577.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 [ http://issues.apache.org/jira/browse/AXISCPP-255?page=history ] John Hawkins reassigned AXISCPP-255: ------------------------------------ Assign To: John Hawkins > Bad XSDTYPE's > ------------- > > Key: AXISCPP-255 > URL: http://issues.apache.org/jira/browse/AXISCPP-255 > Project: Axis-C++ > Type: Bug > Components: Basic Architecture > Versions: 1.3 Final > Reporter: Mark Whitlock > Assignee: John Hawkins > Priority: Minor > Fix For: 1.5 Final > > TypeMapping.hpp has in it... > typedef enum XSDTYPETag > { XSD_UNKNOWN=1, XSD_INT, XSD_FLOAT, XSD_STRING, XSD_LONG, XSD_SHORT, \ > XSD_BYTE, XSD_UNSIGNEDLONG, \ > XSD_BOOLEAN, XSD_UNSIGNEDINT, XSD_UNSIGNEDSHORT, \ > XSD_UNSIGNEDBYTE, \ > XSD_DOUBLE, XSD_DECIMAL, XSD_DURATION, \ > XSD_DATETIME, XSD_TIME, XSD_DATE, \ > XSD_YEARMONTH, XSD_YEAR, XSD_MONTHDAY, XSD_DAY, \ > XSD_MONTH, XSD_HEXBINARY, \ > XSD_BASE64BINARY, XSD_ANYURI, XSD_QNAME, XSD_NCNAME, XSD_NOTATION, \ > XSD_INTEGER, \ > XSD_ARRAY, USER_TYPE, ACCESSOR, XSD_NMTOKEN, XSD_ANY > } XSDTYPE; > Some of these XSD types look invalid. ACCESSOR is not mentioned anywhere in the code. Also XSD_YEARMONTH and XSD_NCNAME probably will not work since there are switch statements in (for instance) Param.cpp with cases for most of these xsd types - but there is no case for XSD_YEARMONTH, ACCESSOR and XSD_NCNAME. So the code would drop into the default: return AXIS_FAIL. I'm not sure whether XSD_YEARMONTH, ACCESSOR and XSD_NCNAME should be valid or not or whether there are other xsd types in the list which are invalid or untested. I am particularly concerned about this since TypeMapping.hpp is external. -- 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