Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 16183 invoked from network); 18 Sep 2006 22:12:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 22:12:59 -0000 Received: (qmail 63280 invoked by uid 500); 18 Sep 2006 22:12:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 63065 invoked by uid 500); 18 Sep 2006 22:12:58 -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 63056 invoked by uid 99); 18 Sep 2006 22:12:58 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 15:12:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:36731] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 90/74-22826-9E91F054 for ; Mon, 18 Sep 2006 15:12:57 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B20CB714304 for ; Mon, 18 Sep 2006 22:09:23 +0000 (GMT) Message-ID: <28517718.1158617363711.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 15:09:23 -0700 (PDT) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1776) ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'. - Misleading text In-Reply-To: <16363432.1156861229791.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1776?page=comments#action_12435590 ] Daniel John Debrunner commented on DERBY-1776: ---------------------------------------------- Yes, though the loss of the line and column number is a shame. Be useful to know how you implemented this, so that other more helpful messages could be added in the future. Maybe add to the wiki? http://wiki.apache.org/db-derby/LanguageSystem > ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'. - Misleading text > -------------------------------------------------------------------------- > > Key: DERBY-1776 > URL: http://issues.apache.org/jira/browse/DERBY-1776 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.2.1.0, 10.3.0.0 > Reporter: Daniel John Debrunner > Priority: Minor > > create table t (i int, x xml); > select xmlserialize(x) from t; > ERROR 42Z72: XML syntax error; missing keyword(s): 'AS'. > This is not an 'XML Syntax error', it's a syntax in the SQL language. No need to have a special error messgae here, wouldn't the error be caught by regular parsing? -- 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