Jörn Nettingsmeier wrote:

Thorsten Scherler wrote:

Please test the new generator and report bugs to our issue tracker and
problems to this list.
I added a small example to the default pub (tutorial.html -> eng only)
which is actually only a showcase.
salu2
>
i just played around with the generator. since i want to access the metadata from my page2shtml.xsl, i added the following to my publication sitemap:
<map:match pattern="lenyabody-*/*/*/*/**">
 <map:aggregate element="cmsbody">
  <map:part src="cocoon://modules/sitetree/{2}/{3}/breadcrumb/{5}.xml"/>
  <map:part src="cocoon://modules/sitetree/{2}/{3}/tabs/{5}.xml"/>
  <map:part src="cocoon://modules/sitetree/{2}/{3}/menu/{5}.xml"/>
  <map:part src="cocoon://modules/sitetree/{2}/{3}/search/{5}.xml"/>
  <map:part
       src="cocoon:/{2}/{3}/meta?docid={page-envelope:document-id}"/>
  <map:part src="{resource-type:format-xhtml}"/>


the LenyaMetaDataGenerator barfs when i create a new document:

The source [context://lenya/pubs/politik/content/authoring/personen/index_en.xml.meta] does not exist! org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:150:36 at <map:transform type="link-rewrite"> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:147:49 at <map:transform type="i18n"> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:141:36 at <map:transform> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:121:69 at <map:transform> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:117:79 at <map:serialize type="xhtml"> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:231:50 at <map:transform> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:227:83 at <map:transform> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:199:164 at <map:generate> - file:/build/lenya_1_4_X/build/lenya/webapp/lenya/pubs/unidue/sitemap.xmap:188:171 at <map:mount> - file:/build/lenya_1_4_X/build/lenya/webapp/global-sitemap.xmap:425:113 at <map:mount> - file:/build/lenya_1_4_X/build/lenya/webapp/sitemap.xmap:591:106 cause: org.apache.lenya.cms.repository.RepositoryException: The source [context://lenya/pubs/politik/content/authoring/personen/index_en.xml.meta] does not exist!

(i'm not sure why it looks for the english version here, since my default locale is DE and i have not created a "language version" yet.)

i still want to include the metadata in my pipeline. is there some xmap setting that will make the pipeline continue if a generator fails?


regards,

jörn



--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

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

Reply via email to