db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hajo Birthelmer (JIRA)" <j...@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
Date Thu, 30 Nov 2006 01:36:22 GMT
     [ 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("<?xml version=\"1.0\"?> <!DOCTYPE
database SYSTEM \"http://db.apache.org/torque/dtd/database_3_2.dtd\">");
                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

        

Mime
View raw message