[Yanel-dev] xslt order
Michael Wechner
michael.wechner at wyona.com
Tue Feb 12 11:48:24 CET 2008
Evaldas Taroza wrote:
> Hi,
>
> I am implementing a CreatableV2 resource, and I have the following
> method:
> public HashMap createRTIProperties(HttpServletRequest request) {
> HashMap map = new HashMap();
> map.put("mime-type", "application/xhtml+xml");
> map.put("xslt", "/xslt/single_page.xsl");
> map.put("xslt", "/xslt/global.xsl");
> return map;
> }
>
> As far as I understand the order of XSLTs for my resource matter. But
> HashMap does not impose ordering with the put() method. Is that a bug?
it's not a bug, but it's a feature.
But you are very right, we need to change this (IIRC Simon also brought
up this issue once).
Any suggestion how we can improve this?
Thanks
Michi
>
> 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