[ http://issues.apache.org/jira/browse/DDLUTILS-31?page=all ]
Thomas Dudziak resolved DDLUTILS-31:
------------------------------------
Resolution: Fixed
I've rewritten the data writer so that it now uses StAX, and so should generate
valid XML (with the exception of table & column names, some mechanism is needed
here to generate valid, unique XML tag/attribute names for them).
Btw, escaping of &,<,> is not necessary for attribute values, but only for
PCDATA content of elements. For these, the new data writer uses CDATA sections
so that no escaping is needed.
> 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