On 12.Jul.2002 -- 08:42 AM, Vadim Gritsenko wrote:
> > From: Christian Haul [mailto:[EMAIL PROTECTED]]
> >          try {
> >             newParser = (org.apache.cocoon.components.parser.Parser)
> > this.manager.lookup(org.apache.cocoon.components.parser.Parser.ROLE);
> >             XSPUtil.include(this.resolver.resolve(<xsl:copy-of
> > select="$source-uri"/>).getInputSource(), this.contentHandler,
> newParser);
> 
> Ooooh, no! Sorry Chris, but why the hell parse source twice???

OK, must have overlooked the toSAX() method. Sorry.
Thanks for pointing it out.

BTW is there an *easy* way to stay up to date with Avalon API docs?
Sofar I've only managed to download a source distro occasionally since
the binary one seemed not to include them

Actually, I wouldn't mind to have the Avalon API docs included with C2...
Afterall, extending C2 is heavily based upon Avalon knowledge.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to