-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

On 9/29/2011 4:43 AM, Paul Wilson wrote:
> On 29 September 2011 09:28, Konstantin Kolinko
> <knst.koli...@gmail.com>wrote:
>> 
>> 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>
> 
> 
> Unfortunately (this is the first thing I tried), the client won't
> accept the namespace being bound on the element itself, and
> requires that it be bound on the XML's root tag. Looks like I'm
> stuck.

Silly question: why not just do your own XML root tag?

<?xml version="1.0" encoding="UTF-8" ?>

<foo:xyz xmlns:foo="path/to/foo/ns" xmlns:bar="path/to/bar/ns">
  <real-foo-taglib:whatever>
      ...
  </real-foo-taglib:whatever>
  <bar:q />
</foo:xyz>

?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6Ei54ACgkQ9CaO5/Lv0PCO2QCfYMhDvjiiiwPli2Nufy5fdTBT
WHIAn3S1QDb3XguxuwyeipBQ+uiOp0Wo
=NtJl
-----END PGP SIGNATURE-----

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

Reply via email to