Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 786 invoked from network); 30 Nov 2006 01:36:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 01:36:43 -0000 Received: (qmail 14963 invoked by uid 500); 30 Nov 2006 01:36:52 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 14947 invoked by uid 500); 30 Nov 2006 01:36:52 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 14934 invoked by uid 99); 30 Nov 2006 01:36:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 17:36:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 17:36:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F1A297142F8 for ; Wed, 29 Nov 2006 17:36:22 -0800 (PST) Message-ID: <28422072.1164850582987.JavaMail.jira@brutus> Date: Wed, 29 Nov 2006 17:36:22 -0800 (PST) From: "Hajo Birthelmer (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Updated: (DDLUTILS-136) Importing a model from a file previously created with the DatabaseIO.write function fails due to missing XML declaration In-Reply-To: <23754310.1164850462553.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 [ http://issues.apache.org/jira/browse/DDLUTILS-136?page=all ] Hajo Birthelmer updated DDLUTILS-136: ------------------------------------- Attachment: DdlUtils-136-patch.txt BeanWriter beanWriter = getWriter(writer); beanWriter.writeXmlDeclaration(" "); beanWriter.write(model); > Importing a model from a file previously created with the DatabaseIO.write function fails due to missing XML declaration > ------------------------------------------------------------------------------------------------------------------------ > > Key: DDLUTILS-136 > URL: http://issues.apache.org/jira/browse/DDLUTILS-136 > Project: DdlUtils > Issue Type: Improvement > Components: Core (No specific database) > Affects Versions: 1.0 > Environment: MySQL > Reporter: Hajo Birthelmer > Assigned To: Thomas Dudziak > Priority: Minor > Attachments: DdlUtils-136-patch.txt > > > The XML file created as a result of the DatabaseIO.write... operation does not contain XML declaration and causes a subsequent read to fail. > The DatabaseIO.write to file should use the BeanWriter writeXMLDeclaration and write XML version and DOCTYPE. -- 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