Please keep me off the subscription. Thanks!
> From: [email protected] > Subject: General Digest, Vol 134, Issue 6 > To: [email protected] > Date: Thu, 6 Aug 2015 06:22:44 -0700 > > Send General mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://developer.marklogic.com/mailman/listinfo/general > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > > 1. REST v1/documents/ DELETE Documentation issue (?) (Gilles Lenfant) > 2. Fwd: Fwd: xdmp:hash32 and xdmp:hash64 algorithm (sweet frd) > 3. Re: REST v1/documents/ DELETE Documentation issue (?) > (Dave Cassel) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 6 Aug 2015 14:14:08 +0200 > From: Gilles Lenfant <[email protected]> > Subject: [MarkLogic Dev General] REST v1/documents/ DELETE > Documentation issue (?) > To: [email protected] > Message-ID: > <CAJ8oE9KLut8txzsqRqanNxpjFqwVQOKjkupPtudaFiPDk+p=p...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > The REST developer documentation at > http://docs.marklogic.com/REST/DELETE/v1/documents says that I can > delete any number of documents ("uri+"), but when I try to delete 2 or > more documents in one request, I get the following error : > > ---- > DELETE > /v1/documents?uri=python_demo%2Fsample1%2Fdoc1.xml&uri=python_demo%2Fsample1%2Fdoc2.json > HTTP/1.1" 400 221 > > HTTP code 400 (REST-REPEATEDPARAM): REST-REPEATEDPARAM: > (rest:REPEATEDPARAM) Endpoint does not support repeated parameter: uri > can only appear once > ---- > > I did not find (or search correctly) where I did something wrong. > > BTW, deletinig one document per request works as expected. > > Best regards > -- > Gilles Lenfant > > > ------------------------------ > > Message: 2 > Date: Thu, 6 Aug 2015 08:38:05 -0400 > From: sweet frd <[email protected]> > Subject: [MarkLogic Dev General] Fwd: Fwd: xdmp:hash32 and xdmp:hash64 > algorithm > To: MarkLogic Developer Discussion <[email protected]> > Message-ID: > <cacntjf2jqord1fct6uau2kkdqxkk5sznubicor+muhgseod...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > > Referred the websites below > > http://stackoverflow.com/questions/25457943/xdmphash64-equivalent-in-java > http://iswwwup.com/t/d920b2cb9d40/xdmp-hash64-equivalent-in-java.html > > As suggested gone for the SHA / MD5 algorithms in java which has its > equivalent below APIs in xquery. > > - xdmp:hmac-md5 <https://docs.marklogic.com/xdmp:hmac-md5> > - xdmp:hmac-sha1 <https://docs.marklogic.com/xdmp:hmac-sha1> > - xdmp:hmac-sha256 <https://docs.marklogic.com/xdmp:hmac-sha256> > - xdmp:hmac-sha512 <https://docs.marklogic.com/xdmp:hmac-sha512> > > > Thanks, > > Sumathi. > > > On Wed, Aug 5, 2015 at 11:40 AM, Paul Hoehne <[email protected]> > wrote: > > > MD5 and SHA1 are standardized and available in Java. Generally you will > > need to convert the binary hash value (returned in Java as bytes) to a > > hexidecimal number. Make suer you generate the same number on bot the > > XQuery and Java side of the equation. Make sure you add leading zeros and > > make sure you use the same case, so you don?t accidentally generate > > ?03b7d405? on one server and ?3B7D45? on the other. > > > > *Paul Hoehne* > > Senior Consultant > > MarkLogic Corporation > > [email protected] > > mobile:* +1 571-992-8869 <%2B1%20571-992-8869>* > > www.marklogic.com > > > > Click http://po.st/hMGDFm to get your free NoSQL For Dummies e-book! > > > > From: Raghu <[email protected]> > > Reply-To: MarkLogic Developer Discussion <[email protected]> > > Date: Wednesday, August 5, 2015 at 11:15 AM > > To: MarkLogic Developer Discussion <[email protected]> > > Subject: Re: [MarkLogic Dev General] Fwd: xdmp:hash32 and xdmp:hash64 > > algorithm > > > > Hi all, > > > > To add to that question, I have a requirement, I have to hash certain > > value at xquery end and the same value has to be hashed/unhashed at Java > > end. Is there a hashing function in Marklogic which exactly matches with > > Java hash implementation? > > > > Thanks in advance! > > Raghu > > > > On Wed, Aug 5, 2015 at 10:49 AM, sweet frd <[email protected]> > > wrote: > > > >> > >> Hi, > >> > >> The xdmp hash APIs are using which algorithm?. how it is converting > >> the string to unsignedInt? on which basis? > >> > >> Thanks in Advance > >> Sumathi. > >> > >> > >> _______________________________________________ > >> General mailing list > >> [email protected] > >> Manage your subscription at: > >> http://developer.marklogic.com/mailman/listinfo/general > >> > >> > > > > _______________________________________________ > > General mailing list > > [email protected] > > Manage your subscription at: > > http://developer.marklogic.com/mailman/listinfo/general > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150806/190a0110/attachment-0001.html > > > ------------------------------ > > Message: 3 > Date: Thu, 6 Aug 2015 13:22:44 +0000 > From: Dave Cassel <[email protected]> > Subject: Re: [MarkLogic Dev General] REST v1/documents/ DELETE > Documentation issue (?) > To: MarkLogic Developer Discussion <[email protected]> > Message-ID: <d1e8d7a6.d7b1e%[email protected]> > Content-Type: text/plain; charset="us-ascii" > > What version of MarkLogic are you using? ML8 supports multiple uris, but ML7 > does not. > > -- > Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> > Technical Community Manager > MarkLogic Corporation<http://www.marklogic.com/> > http://developer.marklogic.com/ > > > From: > <[email protected]<mailto:[email protected]>> > on behalf of Gilles Lenfant > <[email protected]<mailto:[email protected]>> > Reply-To: MarkLogic Developer Discussion > <[email protected]<mailto:[email protected]>> > Date: Thursday, August 6, 2015 at 8:14 AM > To: "[email protected]<mailto:[email protected]>" > <[email protected]<mailto:[email protected]>> > Subject: [MarkLogic Dev General] REST v1/documents/ DELETE Documentation > issue (?) > > Hi, > > The REST developer documentation at > http://docs.marklogic.com/REST/DELETE/v1/documents says that I can > delete any number of documents ("uri+"), but when I try to delete 2 or > more documents in one request, I get the following error : > > ---- > DELETE > /v1/documents?uri=python_demo%2Fsample1%2Fdoc1.xml&uri=python_demo%2Fsample1%2Fdoc2.json > HTTP/1.1" 400 221 > > HTTP code 400 (REST-REPEATEDPARAM): REST-REPEATEDPARAM: > (rest:REPEATEDPARAM) Endpoint does not support repeated parameter: uri > can only appear once > ---- > > I did not find (or search correctly) where I did something wrong. > > BTW, deletinig one document per request works as expected. > > Best regards > -- > Gilles Lenfant > _______________________________________________ > General mailing list > [email protected]<mailto:[email protected]> > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://developer.marklogic.com/pipermail/general/attachments/20150806/6affaf47/attachment.html > > > ------------------------------ > > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > > > End of General Digest, Vol 134, Issue 6 > ***************************************
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
