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 "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2006/07/19 07:11:15 UTC

[jira] Commented: (DDLUTILS-63) ddltoDatabase errors due to specific string values in table rows of data.xml -- ddltoDatabase(to MySQL) using files produced by databaseToDdl(from MSSQL)

    [ http://issues.apache.org/jira/browse/DDLUTILS-63?page=comments#action_12422035 ] 
            
Thomas Dudziak commented on DDLUTILS-63:
----------------------------------------

Could you state the row as it is in the database (e.g. copied from a sql tool) ? I'm not quite sure whether the reading of data from the database or the writing to XML is in error here.

> ddltoDatabase errors due to specific string values  in table rows of data.xml -- ddltoDatabase(to MySQL) using files produced by databaseToDdl(from MSSQL)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DDLUTILS-63
>                 URL: http://issues.apache.org/jira/browse/DDLUTILS-63
>             Project: DdlUtils
>          Issue Type: Bug
>          Components: Core (No specific database)
>         Environment: Win 2K
> SQL Server
> jtds
> MySQL 5.0
> MySQL Connector/J
>            Reporter: Appajee Papolu
>         Assigned To: Thomas Dudziak
>             Fix For: 1.0
>
>
> - Dumped out a MSSQL database using ddlutils ant task
> - Used the resulting files to create a database in MySQL
> - Getting errors while importing data that have embedded XML data in their row data, for example, as in:
>   <whatever-table col1="78" col2="name" col2="Set-schema: User&#1;$%$&#10;Query: &#2; '104' LIKE &quot;$GID$;%&quot; OR '104' LIKE &quot;%;$GID$;%&quot; OR '104' LIKE &quot;% $GID$;%&quot;&#10;Entry-list: &#10;window-position: 0518 0145 0395 0326&#10;end&#10;"/>
> - Receiving error as follows:
> [ddlToDatabase] Jan 20, 2006 7:36:58 AM org.apache.commons.digester.Digester fatalError
> [ddlToDatabase] SEVERE: Parse Fatal Error at line 1705 column 107: Character reference "&#1" is an invalid XML character.
> [ddlToDatabase] org.xml.sax.SAXParseException: Character reference "&#1" is an invalid XML character.

-- 
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