Hi Alex,

I have two questions.


1)      Do you have only one document with this issue or are there many?

2)      Does the following query throw the XDMP-URI exception too?:

for $lev4 in xdmp:directory-properties("/ReBIC/FBU/11/23/","1")//prop:properties
return (
    <li>{fn:base-uri($lev4)}</li>,
    fn:doc(xdmp:node-uri($lev4))
)

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Alberts, Alex 
(RB-NL)
Sent: Tuesday, November 17, 2009 7:30 AM
To: [email protected]
Subject: [MarkLogic Dev General] Character "Paragraph Separator"

An XML document has been loaded into MarkLogic (at that time version 3.2-2) and 
in the filename there are some paragraph separator characters (line feed, 
&#10). Recent MarkLogic has been upgraded to version 4.1-3.
Now there's an error when the function fn:doc() tries to get access to the 
document:
[0.9-ml] XDMP-URI: (err:FODC0005) 
fn:doc("/ReBIC/FBU/11/23/FBU_11_23_0823_solarfun-kader-1-&#10;De-erven-B...") 
-- Invalid URI format: 
"/ReBIC/FBU/11/23/FBU_11_23_0823_solarfun-kader-1-&#10;De-erven-Brenninkmeijer&#10;-.xml"

Query evaluated in ReBIC-PRD as 0.9-ml (cq v4.1-1)
When I use the code below, then the query gives a result.
for $lev4 in xdmp:directory-properties("/ReBIC/FBU/11/23/","1")//prop:properties
return (
    <li>{fn:base-uri($lev4)}</li>
)
Result (text):
...
<li>/ReBIC/FBU/11/23/FBU_11_23_0823_Index.xml</li>
<li>/ReBIC/FBU/11/23/FBU_11_23_0823_solarfun-kader-1-
De-erven-Brenninkmeijer
-.xml</li>
<li>/ReBIC/FBU/11/23/FBU_11_23_0823_TECH25_INTRO.xml</li>
...


How can I solve this problem?


Met vriendelijke groet,

Kind Regards,

Alex Alberts
Reed Business Netherlands

IT Development
Phone: +31 (0)20 - 515 9946
E-mail: [email protected]<mailto:[email protected]>
www.reedbusiness.nl<blocked::www.reedbusiness.nl>
======================================

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to