ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: xinclude for ant?
Date Wed, 20 Jun 2007 22:51:06 GMT
On 6/20/07, Peter Reilly <peter.kitt.reilly@gmail.com> wrote:
> On 6/20/07, Dominique Devienne <ddevienne@gmail.com> wrote:
> > On 6/20/07, Peter Reilly <peter.kitt.reilly@gmail.com> wrote:
> > > I have just realized that xinclude can be enabled easily using JAXPUtils:
> > > +            nsParserFactory.setXIncludeAware(true);
> >
> > Cool, but the Javadoc says @since 1.5, so you'd have to use reflection.
>
> No problem.
> Alternatively, I think that we can use the feature setting method to enable it:
> http://xerces.apache.org/xerces2-j/features.html#xinclude

Isn't that parser specific though? I know we ship with Xerces, but as
we supposed to be parser  agnostic or not? Then again since setting a
Xerces system property is a no-op for any other parser, it should
matter much I guess. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message