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
        Type: Bug
 Environment: Win 2K
SQL Server
jtds
MySQL 5.0
MySQL Connector/J
    Reporter: Appajee Papolu
 Assigned to: Thomas Dudziak 


- 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

Reply via email to