Dunno, it's something that changed and wasn't documented anywhere.

> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, July 09, 2002 5:14 PM
> To: Avalon Developers List
> Subject: Re: FW: Getting a parser
> 
> 
> Is this a change I made or something?
> 
> On Wed, 10 Jul 2002 02:27, Berin Loritsch wrote:
> > FYI
> >
> > > -----Original Message-----
> > > From: Ugo Cei [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, July 09, 2002 12:24 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Getting a parser
> > >
> > > Vadim Gritsenko wrote:
> > > >>From: Ugo Cei [mailto:[EMAIL PROTECTED]]
> > > >>I came up with:
> > > >>
> > > >>        import org.apache.cocoon.components.parser.Parser;
> > > >
> > > > Use org.apache.avalon.excalibur.xml.Parser.
> > > >
> > > > Vadim
> > >
> > > Don't you just love it when interfaces change in an 
> incompatible way 
> > > and
> > >   there are no relevant docs on the Avalon site? ;-)
> > >
> > > By the way, I was using these instructions:
> > >
> > >      parser.setConsumer(new IncludeXMLConsumer(xmlConsumer));
> > >      parser.parse(is);
> > >
> > > Turns out there are no such methods in 
> > > org.apache.avalon.excalibur.xml.Parser. What is a poor 
> developer to 
> > > do? Just use javap! A little ingenuity and here is the solution:
> > >
> > >      parser.parse(is, new IncludeXMLConsumer(xmlConsumer));
> > >
> > > and it's even shorter :-).
> > >
> > > Such is life on the bleeding edge ;-).
> > >
> > > --
> > > Ugo Cei - http://beblogging.com/
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > Please check that your question  has not already been 
> answered in the
> > > FAQ before posting.     
> <http://xml.apache.org/cocoon/faq/index.htm> l>
> > >
> > > To 
> unsubscribe, e-mail:     
> <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:   
> <[EMAIL PROTECTED]>
> 
> -- 
> Cheers,
> 
> Peter Donald
> ---------------------------------------------------
> Murphy's law - "Anything that can go wrong, will." 
> (Actually, this is Finagle's law, which in itself 
> shows that Finagle was right.)
> ---------------------------------------------------
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:avalon-dev-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

Reply via email to