From: Joe W. <jo...@gm...> - 2012-12-24 16:50:08
|
Hi Dannes, > it should be OK right now..... It is! Thank you very much. The only public repo app I'm having problems with is the demo app - which (1) has two entries in the list of apps, and (2) installing either one yields the same error, "Install Application: Failed to connect to public repo." Odd, because I have no problem connecting to the demo server and even retrieving the list of apps at http://demo.exist-db.org/exist/apps/public-repo/public. My exist.log reports, "Retrieving package from http://demo.exist-db.org/exist/apps/public-repo/find?name=http%3A%2F%2Fexist-db.org%2Fapps%2Fdemo" and no error. But going to this URL yields this error: err:XPTY0004 checking function parameter 1 in call util:binary-doc($config:app-root "/public/" $app/attribute::{}path): XPTY0004: The actual cardinality for parameter $app/attribute::{}path does not match the cardinality declared in the function's signature: zero or one. Expected cardinality: $app/attribute::{}path, got zero or one. [at line 15, column 72, source: /db/apps/public-repo/modules/find.xql] It's odd to see an expected cardinality of "$app/attribute::{}path", isn't it? Looking at the source of find.xql, 15:72 refers to the $app/@path here: let $xar := util:binary-doc($config:app-root || "/public/" || $app/@path) Is this a problem with error messages involving ||, I wonder? Joe |