cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Again: "forgotten" namespaces problem
Date Mon, 02 Jun 2003 14:05:26 GMT
On Mon, 2003-06-02 at 15:34, Geoff Howard wrote:
> <quote-from-wiki>
> So... what I ended up doing was extending the HTMLSerializer (or whatever 
> serializer you're using for your pipelines), and overriding the 
> startPrefixMapping and endPrefixMapping methods to do nothing, effectively 
> removing all namespaces from my HTML. This also had the added benefit of 
> having no performance penalties (and theoretically, a ever-so-slight 
> speedup since we no longer process namespaces in our serializer).
> </quote-from-wiki>
> 
> I have done exactly this before -- does this still work from a purely 
> technical perspective?  If so, why wouldn't we just define an 
> NoNsHTMLSerializer which extends HTMLSerializer and overrides
> just those two methods?  Then, it's a user decision whether these 
> namespaces belong
> in real-world html.

Pragmatically speaking, that will probably work.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message