ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Locke <jonathanwlo...@yahoo.com>
Subject Re: question and idea.
Date Mon, 18 Feb 2002 17:20:58 GMT

cool.  thanks.

as far as the syntax, we'll just call it an "experiment"... ;-)
seems like it couldn't hurt to test out ant's pluggability,
even if the general public regards it as a test case.

    jon

--- Stefan Bodewig <bodewig@apache.org> wrote:
> On Sat, 16 Feb 2002, Jonathan Locke <jonathanwlocke@yahoo.com> wrote:
> > is the SAX part of ant's XML parsing 100% pluggable?
> > is there a mechanism for doing this?
> 
> Well, sort of.  Ant uses JAXP to get its parser and it uses SAX 1.x,
> at least at the moment and is not really tight to an XML input.
> 
> All you'd have to do to swap the SAX parser was to provide a
> SAXParserFactory of your own, see 
> 
>
<http://java.sun.com/j2se/1.4/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()>
> 
> Whether I think that you syntax is easier to read than Ant's "normal"
> XML is a different question, though 8-)
> 
> Stefan
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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


Mime
View raw message