ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rosenberg" <ja...@squaretrade.com>
Subject Re: Expanding ${} constructs for all attributes
Date Wed, 13 Dec 2000 11:49:19 GMT
Can you describe this EntityResolver.  At the very least,
I'd like to know if this is something I can use....

In general, it would be good if the entity would just be
inserted as CDATA, and then it would parse the inserted
data as if it were there initially.  Would that be so hard?

Jason

----- Original Message ----- 
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, December 13, 2000 4:07 AM
Subject: Re: Expanding ${} constructs for all attributes


> Jason Rosenberg <jason@squaretrade.com> wrote:
> 
> > I'd like to see this in the expanded in <!ENTITY> expansions as
> > well:
> > 
> > I realize this may be a limitation with XML parsing....
> 
> No a real technical problem, we already implement an EntityResolver of
> our own. But note that entities get resolved before any tags have been
> parsed, this means we'd be restricted to system properties and
> properties defined on the command line.
> 
> I'm not sure I'd want to resolve ${} in entity declarations as this
> would result in Ant using a specialized variant of XML. And once
> XInclude is there (and supported by parsers) I'd love to get rid of
> entities completely.
> 
> Stefan


Mime
View raw message