tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Using namespaces within XML documents produced from JSPXs
Date Thu, 29 Sep 2011 08:28:47 GMT
2011/9/29 Paul Wilson <paulalexwilson@gmail.com>:
> On 28 September 2011 18:11, Konstantin Kolinko <knst.kolinko@gmail.com>wrote:
>
> This is what isn't working on Tomcat 6.0.32 for me. Note additionally that "
> http://www.w2.org/2000/svg" should be a taglib uri too to fully mirror my
> example. Perhaps I'm being too optimistic that the namespace attribute
> 'xmlns' would be made available to the custom tag??
>

As I wrote,  taglib can only generate text. It cannot generate
org.w3c.dom.Element.

The following will work for you:

<foo:xyz xmlns:foo="path/to/foo/ns">
  <foo:p/>
  <bar:q xmlns:bar="path/to/bar/ns" />
</foo:xyz>


Best regards,
Konstantin Kolinko

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


Mime
View raw message