Return-Path: Delivered-To: apmail-xerces-c-dev-archive@www.apache.org Received: (qmail 39320 invoked from network); 29 Aug 2006 14:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 14:35:59 -0000 Received: (qmail 74730 invoked by uid 500); 29 Aug 2006 14:35:47 -0000 Delivered-To: apmail-xerces-c-dev-archive@xerces.apache.org Received: (qmail 74660 invoked by uid 500); 29 Aug 2006 14:35:47 -0000 Mailing-List: contact c-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: c-dev@xerces.apache.org Delivered-To: mailing list c-dev@xerces.apache.org Received: (qmail 74628 invoked by uid 99); 29 Aug 2006 14:35:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 07:35:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 07:35:41 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6593D410011 for ; Tue, 29 Aug 2006 14:32:24 +0000 (GMT) Message-ID: <13340168.1156861944413.JavaMail.jira@brutus> Date: Tue, 29 Aug 2006 07:32:24 -0700 (PDT) From: "Alberto Massari (JIRA)" To: c-dev@xerces.apache.org Subject: [jira] Commented: (XERCESC-1627) Schema validator sensitive to the order of xsd:import and xsd:include elements. In-Reply-To: <28910404.1156841730934.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XERCESC-1627?page=comments#action_12431253 ] Alberto Massari commented on XERCESC-1627: ------------------------------------------ Please download and test the latest version of Xerces (1.7 is very old,the latest is 2.7); also, attach the XMLSchema involved. > Schema validator sensitive to the order of xsd:import and xsd:include elements. > ------------------------------------------------------------------------------- > > Key: XERCESC-1627 > URL: http://issues.apache.org/jira/browse/XERCESC-1627 > Project: Xerces-C++ > Issue Type: Bug > Components: Validating Parser (Schema) (Xerces 1.5 or up only) > Affects Versions: 1.5, 1.6.0, 1.7.0 > Environment: Windows XP SR2 > Reporter: Peter Aberline > Priority: Minor > Attachments: schema_validator_bug.zip > > > Xerces validating schema parser appears to be intolerant of the order of xsd:import and xsd:include elements. > This can be demonstrated with the the DOMCount program: > DOMCount -s -n -v=always CSW_caps.xml > This causes validation errors by the schema validator unable to resolve types included in owsGetCapabilities. Swapping the order of the > to after the (lines 22-25 of CSW-discovery.xsd) solves the validation error. > The fragment of XMLSchema.xsd shown below suggests to me that import and include elements can be in any order? > http://www.w3.org/2001/XMLSchema.xsd: > > > > > > > > > > > > > > > > > > > ... > ... > > > > > -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: c-dev-help@xerces.apache.org