cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Command Line Interface
Date Sat, 19 Jul 2003 12:47:16 GMT
Upayavira wrote:

>>./cocoon.sh cli -x cli.xconf build/webapp/welcome.xml
>>
>>I got "ERROR: Unexpected children of <logging> node" 
> 
> That one's strange. That is triggered if the <logging> node has children
> (other than attributes).

Not only :) You logged NODE_LOGGING where you need NODE_BROKEN_LINKS or 
NODE_URI. I have fixed it.

The problem is NODE_URI, i.e. <uri/>. In the Main.java there is a test 
whether this node has child nodes, it must not have any. So the old 
behaviour is invalid now: <uri>documents/index.html</uri>.

Remains the question if this change was wanted or not.

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message