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] Resolved: (DDLUTILS-31) Generated XML data dump is invalid
Date Sat, 29 Oct 2005 23:25:55 GMT
     [ 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&amp;Hell".
> idem for <, >, ....

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message