You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@excalibur.apache.org by Torsten Curdt <tc...@managesoft.com> on 2005/01/11 15:00:51 UTC

EntityResolver on JaxpParser

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


Re: EntityResolver on JaxpParser

Posted by Torsten Curdt <tc...@managesoft.com>.
> Hi Torsten!

Hey, mate!

> How are things goin'?

All cool here :)

> All cocoon developers have commit access to excalibur svn.

...according to Jim's page

  http://apache.org/~jim/committers.html

I do not have commit access.

> Go ahead and fix it!

Ok ...will do then

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org


Re: EntityResolver on JaxpParser

Posted by Leo Simons <ma...@leosimons.com>.
Hi Torsten!

How are things goin'?

All cocoon developers have commit access to excalibur svn. Go ahead and fix
it!

Cheers,

- Leo


On 11-01-2005 15:00, "Torsten Curdt" <tc...@managesoft.com> wrote:

> 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=m
> arkup
> 
>      /**
>       * 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
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org