cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject Re: [C2]: Patch for TraxTransformer
Date Wed, 14 Feb 2001 11:43:39 GMT
* Giacomo Pati (giacomo@apache.org) wrote :
> I'm in the middle of commiting some changes to make the sitemap able to use 
> the newly created URLFactory class for loading classes outside the classpath. 
> This was originally suggested to work (see 
> xdocs/drafts/sitemap-working-draft.xmap).

Funky.

> Then the next issue is to make use of the URLFactory it in sitemap components 
> itself either by the sitemap component itself or by the sitemap engine. 
> Former will leave everything as it is, later will change all the interfaces 
> from a String to an URL.
> 
> What do you all think?
> 
> Personally I'd like to change the interfaces because it would make the system 
> consistent based on the draft.

Yep, I'd prefer that too. Good software design 101: If the method parameter
should be a URL, then force the issue by making it a URL, not a String.


-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk

Mime
View raw message