[ 
http://issues.apache.org/jira/browse/DDLUTILS-31?page=comments#action_12331891 
] 

Thomas Dudziak commented on DDLUTILS-31:
----------------------------------------

That's not quite correct, DdlUtils uses commons-betwixt and commons-digester. I 
will definitely not use XmlBeans to this purpose because it for one is much too 
big a dependency, and I would have no control over the model classes which is 
important because they are part of the external API.
But you're right in that instead of using a simple Writer.write() call, this 
should be done via DynaBeans instead, where then betwixt does the proper 
escaping and encoding handling.

> Generated XML data dump is invalid
> ----------------------------------
>
>          Key: DDLUTILS-31
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-31
>      Project: DdlUtils
>         Type: Bug
>  Environment: any
>     Reporter: Alexandre Borgoltz
>     Assignee: Thomas Dudziak

>
> in DataWriter, data is not "xml-escaped" before it is written to the xml file.
> This makes invalid files. 
> Typically, a '&' character like in "Heaven&Hell" should be escaped to 
> "heaven&Hell".
> idem for <, >, ....

-- 
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