Ross Gardler wrote:
> Ferdinand Soethe wrote:
> >Ross Gardler wrote:
> >
> >>The official documented approaches are predictable.
> >
> >Are they? Take this for example:
> >
> > <map:when test="{project:content.xdocs}/{1}/images/{2}.{3}">
> > <map:read src="{project:content.xdocs}/{1}/images/{2}.{3}"
> > mime-type="image/{3}" />
> > </map:when>
> > <map:when test="resources/images/{2}.{3}">
> > <map:read src="resources/images/{2}.{3}" mime-type="image/{3}" />
> > </map:when>
> >
> >The way I read that, the legacy support for images in a path below
> >xdocs that has images in it is always supported and actually takes
> >precedence over the currently documented solution.
>
> Oh. I had assumed that the precedence order is what appears in the docs.
> As you say, it *should* be.
I wonder if this confusion is arising from a
half-finished job. We changed the docs but no-one
found the time to alter the precedence in resources.xmap
-David