I¹m running into a strange problem with Mark Logic Server 3.2, and was
hoping someone on the list has seen something similar and could help
diagnose. It seems like there¹s two documents in the database with the
same URI.
If I run
doc(/fake/path/to/file/2008-10-32.xml¹)
I get back a result, but get a warning about multiple nodes being returned.
Stranger still, if I run
fn:count(doc(/fake/path/to/file/2008-10-32.xml¹))
I get back ³2² as a result.
Digging a bit deeper, I used xdmp:directory to iterate over the directory,
and the results indicated there were two documents with the same URI
let $sDirectory := "/fake/path/to/file/"
(: Get a list of all files in the direcory :)
for $xml in xdmp:directory($sDirectory,"infinity")
let $filename := fn:base-uri($xml)
order by $filename
return fn:concat("'",$filename,"'")
Results
...some other files...
'/fake/path/to/file/2008-10-32.xml'
'/fake/path/to/file/2008-10-32.xml'
...some other files...
³/fake/path/to/file/² is a made up directory, but the file is named
2008-10-32.xml. The impossible date is a separate quirk of our application.
I don¹t think it¹s related, but I¹m including it just in case.
Anyone seen anything like this? Any tips/tricks for further
troubleshooting?
Thank you.
--
Alan Storm
[EMAIL PROTECTED]
Rubicon International
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general