You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steven Cummings <cu...@netscape.net> on 2003/03/27 23:45:58 UTC
Parser role?
Hello,
I'm migrating some code from Cocoon 2.0.4 to 2.1-dev and I only have one problem: I have code that relies on the Excalibur "Parser" role and it doesn't seem to exist in Cocoon 2.1-dev nor the avalon libraries that it contains. Could someone tell me where this is found now? Thanks.
/S
--
Steven Cummings
Columbia, MO
Email: cummingscs@netscape.net
AIM: cummingscs
ICQ: 3330114
MSN: cscummings@hotmail.com
__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380
Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: Parser role?
Posted by Charles Yates <ce...@stanford.edu>.
cocoon.roles says this:
<!-- This is the usual SAX parser -->
<role name="org.apache.excalibur.xml.sax.SAXParser"
shorthand="xml-parser"
default-class="org.apache.excalibur.xml.impl.JaxpParser"/>
so you should import org.apache.excalibur.xml.sax.SAXParser and
manager.lookup(SAXParser.ROLE)
Charles
Steven Cummings wrote:
>Hello,
>
>I'm migrating some code from Cocoon 2.0.4 to 2.1-dev and I only have one problem: I have code that relies on the Excalibur "Parser" role and it doesn't seem to exist in Cocoon 2.1-dev nor the avalon libraries that it contains. Could someone tell me where this is found now? Thanks.
>
>/S
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org