excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@managesoft.com>
Subject EntityResolver on JaxpParser
Date Tue, 11 Jan 2005 14:00:51 GMT
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: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org


Mime
View raw message