>From this line in the logs:
DEBUG (2003-03-28) 16:41:55.909 [sitemap] (/cocoon/book/book.css)
Thread-7/sitemap_xmap: Matched wildcard pattern book/*

it appears you have a match that you didn't refer to here:
<map:pipeline>
<map:match pattern="book">
<map:generate src="book.xml"/>
<map:transform src="book.xsl">
<map:parameter name="css-stylesheet" value="book.css"/>
</map:transform>
<map:serialize/>
</map:match>
<map:match pattern="*.css">
<map:read src="{1}.css" mime-type="text/css"/>
</map:match>
</map:pipeline>

are you sure there is no book/* pattern in your sitemap?
Move the *.css pattern to the beginning of that pipeline and
I bet you'll be in business.

> There is a *.css in the main sitemap. Would that conflict with this one in
> this sub-sitemap (cocoon/book/sitemap.xmap)?
>

No - **.css would, if it came _before_ the map:mount.  Don't forget that
pipeline
matches are tried in order and the first match is used.  A * wildcard
matches
any text except a file separator / which is why book/book.css wouldn't get
matched.
A ** though includes the separator and would match book/book.css unless
another
match gets there first.

HTH,
Geoff Howard

> -----Original Message-----
> From: Joe Williams [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 5:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbie question about CSS display
>
>
> > Ah, interesting ;-) As I expected it ...
> >
> > Please have a look into the log files. You should get more information
> > there, e.g. something like a stacktrace. It seems, that the
> book.css can't
> be
> > found on the disk, where it should be to found (as you
> specified it in the
> > sitemap). But the pipeline matching on *.css you sent already in this
> thread looked
> > ok. Maybe another pipeline matches already earlier on *.css in the
> sitemap?
> >
> There is a *.css in the main sitemap. Would that conflict with this one in
> this sub-sitemap (cocoon/book/sitemap.xmap)?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to