Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 43654 invoked from network); 29 May 2007 03:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2007 03:30:37 -0000 Received: (qmail 44925 invoked by uid 500); 29 May 2007 03:30:41 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 44905 invoked by uid 500); 29 May 2007 03:30:41 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 44894 invoked by uid 99); 29 May 2007 03:30:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 20:30:41 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 20:30:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45333714163 for ; Mon, 28 May 2007 20:30:16 -0700 (PDT) Message-ID: <7006366.1180409416277.JavaMail.jira@brutus> Date: Mon, 28 May 2007 20:30:16 -0700 (PDT) From: "Thomas Dudziak (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Commented: (DDLUTILS-174) Not all "special characters" in content detected In-Reply-To: <30458306.1179778096965.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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: "" it may not contain "