[Yanel-dev] Lost namespace

Michael Wechner michael.wechner at wyona.com
Mon Feb 11 21:01:47 CET 2008


Evaldas Taroza wrote:

> Hi,
>
> I have a resource that extends BasicXMLResource. in getContentXML() I 
> return input stream with XML that has a default namespce xmlns="bla bla".
>
> In the resource configuration I say that mime-type is 
> application/xhtml+xml.


what happens if you set it to application/xml?

HTH

Michi

>
> In the rendered page I get a bad XHTML document, where the xmlns is 
> set to XHTML, while I would expect that my xmlns="bla bla" is left 
> untuched...
>
> Evaldas
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list