[ 
http://issues.apache.org/jira/browse/DDLUTILS-63?page=comments#action_12442189 
] 
            
Appajee Papolu commented on DDLUTILS-63:
----------------------------------------


   [[ Old comment, sent by email on Mon, 31 Jul 2006 13:33:30 -0700 ]]

Thomas,

Unfortunately I am unable to locate the produced file, but I looked at the
table row's specific column data using DBVisualizer and this is what I

Set-schema: User$%$
Query:  '104' LIKE "$GID$;%" OR '104' LIKE "%;$GID$;%" OR '104' LIKE "%
$GID$;%"
Entry-list:
window-position: 0518 0145 0395 0326
end
<<<Value ends right above line>>>>

As you can see, this column value indeed has embedded Ascii character 1 as a
value (the square like thingy - right after User, before the $ sign). If
fact this character is XML encoded out (as "&#1;") in the DDLUtils produced
xml file - however this character does not seem to be valid is in xml char
field. And hence the error while parsing this file upon import attempt.

I am wondering if we can designate another type, so that export would
produce different kind of XML content node for such columns (that could have
non-textual ASCII characters).

regards
Appajee










On 7/18/06, Thomas Dudziak (JIRA) <[EMAIL PROTECTED]> wrote:
http://issues.apache.org/jira/browse/DDLUTILS-63?page=comments#action_1242203
5]
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------


> 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
>
>         Attachments: RowWithAsciiOneChar.txt
>
>
> - 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