Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 76554 invoked from network); 29 Aug 2006 16:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 16:09:42 -0000 Received: (qmail 77614 invoked by uid 500); 29 Aug 2006 16:09:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 77406 invoked by uid 500); 29 Aug 2006 16:09:41 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 77397 invoked by uid 99); 29 Aug 2006 16:09:41 -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 09:09:41 -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 09:09:41 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1477A7142D4 for ; Tue, 29 Aug 2006 16:06:24 +0000 (GMT) Message-ID: <31295144.1156867584054.JavaMail.jira@brutus> Date: Tue, 29 Aug 2006 09:06:24 -0700 (PDT) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1772) Error 42Z78 "Failed to locate 'Xalan' API classes" should not have sqlstate class '42' In-Reply-To: <13912775.1156825642304.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/DERBY-1772?page=comments#action_12431281 ] Daniel John Debrunner commented on DERBY-1772: ---------------------------------------------- Yes it's an error at compile time, but I was wrong on '42' meaning compile time, it's more specific than that. '42' from the SQL standard is: syntax error or access rule violation There is no syntax error in the query I'm submitting, so the exception should not be of type java.sql.SQLSyntaxErrorException which is driven by the 42 SQL state. > Error 42Z78 "Failed to locate 'Xalan' API classes" should not have sqlstate class '42' > --------------------------------------------------------------------------------------- > > Key: DERBY-1772 > URL: http://issues.apache.org/jira/browse/DERBY-1772 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.2.1.0 > Reporter: Daniel John Debrunner > Priority: Minor > > This is a run-time error but it has the SQL state '42' for compile error, and thus in Java SE 6 will have a SQLException of type SQLSyntaxErrorException. > ERROR 38000: The exception 'java.sql.SQLSyntaxErrorException: Failed to locate ' > Xalan' API or implementation classes. XML operations are not permitted unless t > hese classes are in your classpath.' was thrown while evaluating an expression. > ERROR 42Z78: Failed to locate 'Xalan' API or implementation classes. XML operat > ions are not permitted unless these classes are in your classpath. -- 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