db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DDLUTILS-174) Not all "special characters" in content detected
Date Tue, 29 May 2007 03:30:16 GMT

    [ https://issues.apache.org/jira/browse/DDLUTILS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499671

Thomas Dudziak commented on DDLUTILS-174:

After some testing I found the problem - it is actually a bug in the default XML stream writer
in the JDK which does not properly escape CDATA sequences. Woodstox (http://woodstox.codehaus.org/)
which is used by the unit tests, does not have this problem which is why I couldn't reproduce
it in the tests. To fix the problem, simply add the woodstox jar (wstx-asl-[version].jar,
comes with DdlUtils in the lib folder) to your classpath, Woodstox then should be used instead
of the default XML stream writer.

> Not all "special characters" in content detected
> ------------------------------------------------
>                 Key: DDLUTILS-174
>                 URL: https://issues.apache.org/jira/browse/DDLUTILS-174
>             Project: DdlUtils
>          Issue Type: Bug
>          Components: Core (No specific database)
>    Affects Versions: 1.0 RC1
>            Reporter: Michael Lipp
>            Assignee: Thomas Dudziak
>         Attachments: liferay-db-schema.xml, patch.txt, populate-liferay-db.xml
> Besides the characters already detected in DataWriter.containsSpecialCharacters there
is another "special character" that requires using base64 encoding: "<![CDATA[". Because
content is written to XML within "<![CDATA[...]]>" it may not contain "<![CDATA[".

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message