An Error Occurred

expected a single value for order expression $link/child::name[attribute::lang = "en"] ; found: 2 [at line 129, column 14]
In call to function:
mfn:links4land(xs:string, xs:string, xs:string) [129:14]
mfn:display-landen(node()+) [115:25]
mfn:display(node()+) [235:21]
mfn:links() [251:11]

org.apache.cocoon.ProcessingException: XMLDBException occurred: expected a single value for order expression $link/child::name[attribute::lang = "en"] ; found: 2 [at line 129, column 14]
In call to function:
mfn:links4land(xs:string, xs:string, xs:string) [129:14]
mfn:display-landen(node()+) [115:25]
mfn:display(node()+) [235:21]
mfn:links() [251:11]: org.xmldb.api.base.XMLDBException: expected a single value for order expression $link/child::name[attribute::lang = "en"] ; found: 2 [at line 129, column 14]
In call to function:
mfn:links4land(xs:string, xs:string, xs:string) [129:14]
mfn:display-landen(node()+) [115:25]
mfn:display(node()+) [235:21]
mfn:links() [251:11]

cause: org.exist.xquery.XPathException: expected a single value for order expression $link/child::name[attribute::lang = "en"] ; found: 2 [at line 129, column 14]
In call to function:
mfn:links4land(xs:string, xs:string, xs:string) [129:14]
mfn:display-landen(node()+) [115:25]
mfn:display(node()+) [235:21]
mfn:links() [251:11]

full exception chain stacktrace[show]

stacktrace[show]

If you need help and this information is not enough, you are invited to read the Cocoon FAQ.
If you still don't find the answers you need, can send a mail to the Cocoon users mailing list, remembering to:

For more detailed technical information, take a look at the log files in the log directory of Cocoon, which is placed by default in the WEB-INF/logs/ folder of your cocoon webapp context.
If the logs don't give you enough information, you might want to increase the log level by changing the Logging configuration which is by default the WEB-INF/logkit.xconf file.

If you think you found a bug, please report it to Apache's Bugzilla; a message will automatically be sent to the developer mailing list and you'll be kept in contact automatically with the further progress on that bug.

Thanks, and sorry for the trouble if this is our fault.

The Apache Cocoon Project

Processed by Apache Cocoon 2.1.7 in 55 milliseconds.