cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geissel, Adrian" <>
Subject RE: Customization
Date Wed, 28 May 2003 12:24:56 GMT

Unsure of the content of your login.xhtml file - check that it is well

On comment - I tend to use the 'defaulting' matcher in an internal-only
pipeline and always get it to return XML (ie map:serialize/@type='xml' ),
and then the puplic matcher has a generate/serialize pair, rather than a

What happens if you call-up content/login.xhtml from your browser (ie. go
straight to the first matcher)?


> -----Original Message-----
> From: Mato Mira, Fernando []
> Sent: Wednesday 28 May 2003 14:19
> To: ''
> Subject: RE: Customization
> OK. The previous was bogus. But now I get a real error with:
> This doesn't work:
>     <map:match pattern="*/**.xhtml">
>       <map:act type="resource-exists" src="{2}_{1}.xhtml">
>         <map:generate type="file" src="{../2}_{../1}.xhtml"/>
>         <map:serialize type="html"/>
>       </map:act>
>       <map:generate type="file" src="{2}.xhtml"/>
>       <map:serialize type="html"/>
>     </map:match>
>       <map:match pattern="*/login">
>         <map:read mime-type="text/html"
> src="cocoon:/{1}/content/login.xhtml"/>
>       </map:match>
> It gives an XML Parsing Error: mismatched tag. Expected: </META>
> when it reaches the </head> tag of the file.
> The same file works here:
>       <map:match pattern="*/login">
>         <map:generate type="file" src="content/login.xhtml"/>
>         <map:serialize type="html"/> 
>       </map:match>
> Thanks

Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither
be binding nor construed as constituting a commitment by the ECB except where provided for
in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised
disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail
and delete this e-mail from your system.

View raw message