[ 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$%$ Query:  '104' LIKE "$GID$;%" OR '104' LIKE > "%;$GID$;%" OR '104' LIKE "% $GID$;%" Entry-list: > window-position: 0518 0145 0395 0326 end "/> > - 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 "" is an invalid XML character. > [ddlToDatabase] org.xml.sax.SAXParseException: Character reference "" 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