cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: [Bug] Default-reader depends on JTidy!!!
Date Tue, 13 May 2003 17:49:13 GMT
on 5/13/03 2:03 AM Joerg Heinicke wrote:
>>>With changes like these we make Cocoon harder and harder to use.
>>>But again, if I'm the only one, remove it from the SourceResolver.
>>+1 to remove it.
>>other votes?
> +1 to remove it and explicitely saying the type in the sitemap
> Of course, it's a bit redundant. But the user must get to know what he 
> is happening, auto-magic stuff should be removed as far as possible.
> What are the use cases for AutoMagicFileGenerator? Avoiding typing? I 
> only see a use case, if the source can be of different types.
> How to differ between HTML and XHTML? Both have text/html mime-type and 
> often both have .html as extension. But when JTidy comes across the 
> namespace declaration, you will have your first error, won't you?
> Are there so many users trusting on auto-magic if we have a 
> HTMLGenerator? What happens if we change the auto-magic? The user won't 
> get any hint on the cause of the error.
> Of course, it's "harder to use" Cocoon in the sense of more typing, but 
> it's really simpler to use in the sense of understanding what happens 
> and where a possible error comes from.



View raw message