Return-Path: Delivered-To: apmail-xerces-j-dev-archive@www.apache.org Received: (qmail 97440 invoked from network); 14 May 2009 15:07:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 15:07:10 -0000 Received: (qmail 44222 invoked by uid 500); 14 May 2009 15:07:09 -0000 Delivered-To: apmail-xerces-j-dev-archive@xerces.apache.org Received: (qmail 44186 invoked by uid 500); 14 May 2009 15:07:09 -0000 Mailing-List: contact j-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-dev@xerces.apache.org Delivered-To: mailing list j-dev@xerces.apache.org Received: (qmail 44178 invoked by uid 99); 14 May 2009 15:07:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 15:07:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 15:07:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86F36234C004 for ; Thu, 14 May 2009 08:06:45 -0700 (PDT) Message-ID: <1267752865.1242313605537.JavaMail.jira@brutus> Date: Thu, 14 May 2009 08:06:45 -0700 (PDT) From: "Sandy Gao (JIRA)" To: j-dev@xerces.apache.org Subject: [jira] Updated: (XERCESJ-1372) More complete recovery from schema loading errors In-Reply-To: <706724150.1242307725748.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESJ-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Gao updated XERCESJ-1372: ------------------------------- Attachment: xsrecovery.csv There are 3 sections: 1. Bugs I fixed while going through the code. Mainly around how duplicate attribute uses and unexpected elements are handled. 2. Minor improvements in terms of reusing objects that never change. 3. Error recovery (what this bug is really about). > More complete recovery from schema loading errors > ------------------------------------------------- > > Key: XERCESJ-1372 > URL: https://issues.apache.org/jira/browse/XERCESJ-1372 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema 1.0 Datatypes, XML Schema 1.0 Structures > Affects Versions: 2.9.1 > Reporter: Sandy Gao > Assignee: Sandy Gao > Priority: Minor > Attachments: xsrecovery.csv > > > When there are errors in schema documents, we sometimes try to recover to make the schema still usable (to validate instance documents), but there are cases where we leave the schema in an inconsistent state. We should try harder to recover from these errors, to reduce the likelihood for exceptions to be thrown at runtime. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: j-dev-help@xerces.apache.org