Guys,

just wondering why the EntityResolver on the JaxpParser is
not configurable. If there is no particular reason I'd
like to supply a patch.

http://cvs.apache.org/viewcvs.cgi/excalibur/trunk/components/xmlutil/src/java/org/apache/excalibur/xml/impl/JaxpParser.java?root=Apache-SVN&rev=37165&view=markup

    /**
     * Get the Entity Resolver from the component m_manager
     *
     * @avalon.dependency type="EntityResolver" optional="true"
     */
    public void service( final ServiceManager manager )
        throws ServiceException
    {
        m_manager = manager;

        if( manager.hasService( EntityResolver.ROLE ) )
        {
            m_resolver = (EntityResolver)manager.lookup( EntityResolver.ROLE );
            if( getLogger().isDebugEnabled() )
            {
                getLogger().debug( "JaxpParser: Using EntityResolver: " + 
m_resolver );
            }
        }
    }

WDYT?

cheers
--
Torsten

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



Reply via email to