atom feed10 messages in com.marklogic.developer.general[MarkLogic Dev General] New server no...
FromSent OnAttachments
Anshu RahejaJan 25, 2012 4:26 am 
Geert JostenJan 25, 2012 4:45 am 
Anshu RahejaJan 25, 2012 4:52 am 
Anshu RahejaJan 26, 2012 3:10 am 
Geert JostenJan 26, 2012 6:29 am 
Dean PullenJan 30, 2012 9:24 am 
Dean PullenFeb 1, 2012 4:07 am 
Dean PullenFeb 1, 2012 4:46 am 
Geert JostenFeb 1, 2012 5:23 am 
Dean PullenFeb 1, 2012 5:25 am 
Subject:[MarkLogic Dev General] New server not finding namespaces
From:Anshu Raheja (Ansh@semantico.com)
Date:Jan 25, 2012 4:26:56 am
List:com.marklogic.developer.general

Hi all,

New to Marklogic and setting up a new dev server (4.2-8), existing server is
4.2-4, and finding that our current Xquery scripts aren't working on the new
server setup.

It seems the namespaces setup in the database Element Range Indexes etc aren't
found (we have to add the namespace manually to each Xquery file), AND that
'local:' is not recognized, e.g.

com.marklogic.xcc.exceptions.XQueryException: XDMP-NONAMESPACEBIND:
(err:FONS0004) local:asis($node) -- No namespace binding for prefix on line 38 expr: local:asis($node), in local:asis(fn:doc("/content/10.1007/s00464-009-0856-x")/item/*:issn[1])

Can anyone help? Thanks in advance.

Anshu