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 11:44:35 GMT
On Mon, 2003-06-02 at 13:14, Torsten Knodt wrote:
> On Monday 02 June 2003 09:49, Alexander Schatten wrote:
> AS> However, revisiting the problem (also watching websites others create
> AS> with Cocoon), I have to realize, that leftover namespaces are very
> AS> usual; e.g. the following: SQL, i18n, XHTML also others, that have
> AS> nothing to do with HTML specification.
> Don't know why I didn't see your first posting. But I had, like many others, 
> the same problem. I've solved by writing a NamespaceStripperTransformer, 
> which creates a DOM and removes unused namespaces. This solves the problem 
> for me. I can put it in the BTS on request. And no, I can't use SAX, because 
> I have to modify elements dependent on their childs. Details are in my 
> source.

Nice, but an overkill for Alexander who simply wants all namespaces to
be removed, which could be done streaming. And preferably immediately in
the serializer, instead of another transformation step. The Xalan people
seem not yet convinced though.

-- 
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