Lars Huttar wrote:

Hello Birgit,



But I got this error-message:


...


-------------------- Executing -----------------
Main Class: org.apache.cocoon.Main
ERROR: Unexpected children of <uri> node
--------------------------------------------------------------





This is my cli.xconf where I changed the uri file.



...



<uri>favicon.ico</uri>
<!-- <uri type="append" src-prefix="documents/" src="index.html"
dest="docs/"/> -->
<uri type="append" src-prefix="html/" src="pageOne.html"
dest="html_pdf/"/>



It looks to me like for the last <uri>, you have the URI in the src="" attribute, which is probably correct. But in the first <uri>, you have the URI ("favicon.ico") as the content of the <uri> element. Is that really what you want? If this is a mistake, that would explain the error message: "favicon.ico" is a text node child of <uri>, which is unexpected.

I'm just guessing since I don't know anything about cli.xconf, but
that seems like a reasonable possibility.


Lars, Birgit,

You are correct. I thought I had a <uri>favicon.ico</uri> line in my cli.xconf, but I don't, which explains why I wasn't seeing this error.

Anyway, in 2.1 CVS, this is now fixed. To work around it without using CVS version, remove the <uri>favicon.ico</uri>, and always use <uri> nodes with attributes only, not text content.

Regards, Upayavira



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



Reply via email to