I don't know if you can configure the xml serializer to drop a namespace (seems unlikely, because such namespace might not be used until the end of the document, for all the serializer knows, so it wouldn't be safe without buffering the entire output document to check).
But typically you should suppress the namespace in the XSLT which converts the dir:* content into xhtml, using the exclude-result-prefixes attribute of the xsl:stylesheet or xsl:transform element. This works for me - I just checked! :-) Con > -----Original Message----- > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] > Sent: Monday, 9 February 2004 15:18 > To: Cocoon > Subject: Cleaning up unused namespace declaration > > > I'm not normally bugged by namespace declarations which aren't used, > but boy, something like this just can't go on without me to do > something about it: > > <br xmlns:dir="http://apache.org/cocoon/directory/2.0" > xmlns:include="http://apache.org/cocoon/include/1.0"/> > > [taken from my blog output] > > do you have any suggestions on how to use the xml serializer > so that it > stops doing that? > > -- > Stefano. > >
