You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Hajo Birthelmer (JIRA)" <ji...@apache.org> on 2006/11/30 02:34:22 UTC
[jira] Created: (DDLUTILS-136) Importing a model from a file
previously created with the DatabaseIO.write function fails due to missing
XML declaration
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
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
[jira] Resolved: (DDLUTILS-136) Importing a model from a file
previously created with the DatabaseIO.write function fails due to missing
XML declaration
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DDLUTILS-136?page=all ]
Thomas Dudziak resolved DDLUTILS-136.
-------------------------------------
Resolution: Fixed
> 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
> Fix For: 1.0
>
> 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
[jira] Updated: (DDLUTILS-136) Importing a model from a file
previously created with the DatabaseIO.write function fails due to missing
XML declaration
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DDLUTILS-136?page=all ]
Thomas Dudziak updated DDLUTILS-136:
------------------------------------
Fix Version/s: 1.0
> 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
> Fix For: 1.0
>
> 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
[jira] Updated: (DDLUTILS-136) Importing a model from a file
previously created with the DatabaseIO.write function fails due to missing
XML declaration
Posted by "Hajo Birthelmer (JIRA)" <ji...@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("<?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