Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 23991 invoked from network); 25 Nov 2010 15:35:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 15:35:37 -0000 Received: (qmail 84867 invoked by uid 500); 25 Nov 2010 15:35:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84717 invoked by uid 500); 25 Nov 2010 15:35:37 -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 84704 invoked by uid 99); 25 Nov 2010 15:35:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 15:35:36 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 15:35:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAPFZFqn029895 for ; Thu, 25 Nov 2010 15:35:15 GMT Message-ID: <22303514.313121290699315398.JavaMail.jira@thor> Date: Thu, 25 Nov 2010 10:35:15 -0500 (EST) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4903) Plan exporter tool produces broken output if query contains less-than operator In-Reply-To: <31324520.80541289820914562.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935777#action_12935777 ] Bryan Pendleton commented on DERBY-4903: ---------------------------------------- +1 to not worrying too much about the human-readability of the generated XML. I think there are plenty of other reformatting tools that an XML-savvy user will have access to. Regarding the selection of which classes to use, I'd like to see us using the built-in system classes for XML handling wherever possible. As Nirmal notes, we were struggling with the availability of these classes, see for example the discussion of xml-apis.jar in DERBY-4781. Over time, the core platform Java environments become more sophisticated and provide more complete XML support, and as that occurs, if we can shift work away from our own custom code and into system-provided code that seems like a clear win, so I think it would be great if Knut could preserve these suggestions for how to do that as part of a JIRA issue somewhere. > Plan exporter tool produces broken output if query contains less-than operator > ------------------------------------------------------------------------------ > > Key: DERBY-4903 > URL: https://issues.apache.org/jira/browse/DERBY-4903 > Project: Derby > Issue Type: Bug > Components: Tools > Affects Versions: 10.7.1.0 > Reporter: Knut Anders Hatlen > Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4903-a.diff > > > The plan exporter tool fails to produce well-formed output for the following query: > ij> select * from sysibm.sysdummy1 where ibmreqd < 'Z'; > The generation of XML doesn't fail, but when I open the file in Firefox, I see this message: > XML Parsing Error: not well-formed > Location: file:///tmp/plan.xml > Line Number 9, Column 11: > Operator: < > ----------^ > HTML generation prints the following error, and produces an empty file: > ERROR: 'The value of attribute "scan_qualifiers" associated with an element type "null" must not contain the '<' character.' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.