cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mato Mira, Fernando" <>
Subject RE: Customization
Date Wed, 28 May 2003 12:19:28 GMT
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:generate type="file" src="{2}.xhtml"/>
      <map:serialize type="html"/>

      <map:match pattern="*/login">
        <map:read mime-type="text/html"

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"/> 


View raw message