ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Mixed content problem with literal XML data via DynamicConfig urator
Date Fri, 31 Oct 2003 17:18:15 GMT
> From: Patrick Surry []
> Thanks to feedback from the list, I've got a slightly modified version of
> Dominique's code working (see end) that builds a DOM document to house
> whatever
> 'literal' XML data I want within my task, including property substitution
> for
> attribute values and text nodes.  The only problem now is that it doesn't
> seem
> to work well for 'mixed' content (ie. mixed elements and text) since all
> the
> child elements seem to get create'd prior to any of the text-node
> siblings.
> Any thoughts?  I'm guessing it's because all createDynamicElement() calls
> happen before any addText() calls - should I be able to createText() to
> preserve the sequencing?

See for a
recent discussion of this issue. Your use case might be a legitimate reason
for introducing 'proper' handling of 'Text' XML nodes. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message