Hi Kari,
I also see the different behavior on 7 and the latest 8. There is a bug fix in
my code not yet released, which is likely why it is working for me on the
latest 8.
The problem is with the Month names. There is a note in the documentation
saying this does not always parse the month
There are a number of bugs that have been fixed on xdmp:parse-dateTime since
6.0-3.
This works in a recent 8.0 build:
xquery version 1.0-ml;
let $startdateTime:=May 28, 2015
return
fn:format-dateTime((xdmp:parse-dateTime([MNn] [D1], [Y0001],
xs:string( $startdateTime ) )),
Ok, so my date input below is May 28, 2015, but my script below says my
pattern doesn't match. I think it should but according to the comment in
https://docs.marklogic.com/xdmp:parse-dateTime, as of 6.0-3.1 this function
does not round-trip non-numeric values. For example
Month names, (other names like day of week, but mostly month) have an ambiguity
problem for parsing in the XPath date format specs, which were intended
originally for printing not parsing. A degenerate case is a pattern like
[MNn,3][D] (note no separator and implementation dependent widths)
On Thu, May 28, 2015 at 5:24 PM, Kari Cowan kco...@alm.com wrote:
Hmm, I have 8.02 on my local machine, and it still throws that error so it
must be more recent than that version. Either way, we’re using v.7 in my
dev/stage environments (where I am seeing an error), and v.6 on production.
It
Hi David,
Test with the following code , Its working for me . Here I created two
collections cdcollection and cd1collection , and inserted sample CD xml
file with range index for TITLE element in both collection with small changes
in the TITLE value like 1.xml have Empire and 2.xml have
Hi Mark,
With Corb (and I assume it is pretty much the same with Corb2), you effectively
split your code into two parts:
declare namespace xh=http://library/;;
let $uris :=
for $t in /xh:books/xh:title
return xdmp:node-uri($t)
return (count($uris), $uris)
And then the execution part:
Hello Mark,If the value of the title that you are interested in is the
complete field value then you can use cts:element-value-query else you can use
cts:element-word-query.
the selector code can be enhanced to select the uris that contain the title
value that you are interested in.
declare
Hi Santhosh,
By default , roxy deployer have three env details like - local, dev and prod.
Did you try with other two than the dev settings .
By
Raja
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
Sent: Thursday, May
Hi Team,
We are using roxy deployer, I am getting 404- Not Found error
when executing bootstrap command.
Command: ml qa bootstrap
Same thing is working in DEV environment, ml dev bootstrap is working fine.
To deploy the code in QA environment, I have created new properties
Hi Santhosh,
What happens when you open http://10.134.125.138:8000/qconsole in a browser?
Cheers
From:
santhosh.rajasekar...@cognizant.commailto:santhosh.rajasekar...@cognizant.com
santhosh.rajasekar...@cognizant.commailto:santhosh.rajasekar...@cognizant.com
Reply-To: MarkLogic Developer
Yes, that does work. Thanks. Though it doesn't really explain why adding
collection to the default-suggestion-source doesn't work.
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of
rajamani.marimu...@cognizant.com
Sent: Thursday, May
On Thu, May 28, 2015 at 9:13 AM, Steiner, David J. (LNG-DAY)
david.j.stei...@elsevier.com wrote:
Yes, that does work. Thanks. Though it doesn’t really explain why adding
collection to the default-suggestion-source doesn’t work.
I'll take a guess. My reading of
13 matches
Mail list logo