Sorry, an error has occurred

Your request generated an error.

If you think this is a bug, you can help us by opening an issue here: sarit-existdb issues. To be useful, please copy the detailed error message (shown below), as well as the URL your browser is currently showing.

Detailed error message:

err:XPTY0004 Type error: the node name should evaluate to a single item [at line 388, column 35, source: /db/apps/sarit-pm/modules/lib/pages.xql]
In function:
	pages:get-content(map, element()) [241:46:/db/apps/sarit-pm/modules/lib/pages.xql]
	pages:view(node(), map, xs:string, xs:string?) [-1:-1:/db/apps/sarit-pm/modules/lib/pages.xql]
	templates:process-output(element(), map, item()*, element()) [211:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [189:28:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call(item(), element(), map) [137:36:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [237:13:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process-output(element(), map, item()*, element()) [211:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [189:28:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call(item(), element(), map) [137:36:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [237:13:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process-output(element(), map, item()*, element()) [211:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [189:28:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call(item(), element(), map) [137:36:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [428:17:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process-output(element(), map, item()*) [230:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process-output(element(), map, item()*, element()) [211:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [189:28:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call(item(), element(), map) [137:36:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [148:81:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [518:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	pages:app-root(node(), map) [-1:-1:/db/apps/sarit-pm/modules/lib/pages.xql]
	templates:process-output(element(), map, item()*, element()) [211:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [189:28:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:call(item(), element(), map) [137:36:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [133:51:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:process(node()*, map) [90:9:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]
	templates:apply(node()+, function, map?, map?) [48:5:/opt/lib/sarit-existdb/exist/webapp/WEB-INF/data/expathrepo/shared-0.8.2/content/templates.xql]