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 <[EMAIL PROTECTED]> wrote:
> On Sat, 16 Feb 2002, Jonathan Locke <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to