[MarkLogic Dev General] Farewell, general@developer.marklogic.com

2018-05-24 Thread Trinh Lieu
Hi Community, As you may have read in the last Developer Community Newsletter, we are discontinuing the use of this mailing list in order to be in compliance with EU GDPR regulations and pending deadline. Old messages sent to this mailing list will

[MarkLogic Dev General] abstract and name elements value is null when convert XML to json

2018-05-24 Thread Indrajeet Verma
Hi - I am converting XML doc to json and it was working before till today. Now suddenly and elements values are converting into "null" values. I am using custom config strategy. Have someone faced this issue before? XML: 2017-08-31T16:00:08.131792-04:00 active

Re: [MarkLogic Dev General] fragments filter large difference

2018-05-24 Thread Geert Josten
06 PM To: "general@developer.marklogic.com" <general@developer.marklogic.com> Subject: [MarkLogic Dev General] fragments filter large difference collection($mycollection)/myelem[.//myA[@myattr="myval"]//myB="val"] vs collection($mycollection)[./myelem//myA[@myattr="

[MarkLogic Dev General] fragments filter large difference

2018-05-23 Thread Paul M
collection($mycollection)/myelem[.//myA[@myattr="myval"]//myB="val"]vscollection($mycollection)[./myelem//myA[@myattr="myval"]//myB="val"] The first iteration performs markedly better than the second.The second attempts to filter a million + fragments. xdmp:query-trace shows only two constraints

[MarkLogic Dev General] Flexible replication retry not working after 4 retries

2018-05-16 Thread Yalaverthi, Sudheer (LNG-RDU)
Hi, I am doing a POC on MarkLogic with flexible replication to copy data between two clusters. For this, I have been doing some testing and here is an issue I encountered. I have enabled the retry task mentioned here https://docs.marklogic.com/guide/flexrep/configuring#id_66155 to run every

[MarkLogic Dev General] empty attachment in marklogic data hub framework 3.0.0

2018-05-14 Thread Vikas.Singh6
Hi All, We have upgraded marklogic data hub framework from 2.0.4 to 3.0.0 and marklogic 9.0.4 to marklogic 9.0.5. While loading content to stage database , I have observed in earlier version envelop contains instance and attachment as a content but in new version attachment is empty .We are

Re: [MarkLogic Dev General] how to save multiple documents to file system.

2018-05-10 Thread Damon Feldman
substring-after($d/@url, "http://;) return xdmp:document-insert($uri, $d) From: general-bounces-dev-marklogic <general-boun...@developer.marklogic.com> on behalf of Ly CafeSua <thich...@gmail.com> Reply-To: MarkLogic Discussion <general@developer.marklogic.com> Date: Thurs

[MarkLogic Dev General] how to save multiple documents to file system.

2018-05-10 Thread Ly CafeSua
Hello all, I am new to Marklogic and would like to learn how to save document nodes to server. I have a sample code but it always save a last record has "SP0002". How can I save both records. Thanks in advance. xquery version "1.0-ml"; declare namespace html =

Re: [MarkLogic Dev General] collection function searching

2018-05-10 Thread Erik Hennum
gic.com> on behalf of Paul M <pjm...@yahoo.com> Sent: Tuesday, May 8, 2018 11:47:35 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] collection function searching I have the following three queries I am comparing declare variable $my:col as xs:string... (:

[MarkLogic Dev General] unsubscribe

2018-05-10 Thread Philip Fennell
___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

Re: [MarkLogic Dev General] How to specify Collection along with the document URI when inserting a marklogic document

2018-05-10 Thread Bharath Umesh
Thanks Shabana. That was very helpful. On Thu, May 10, 2018 at 2:48 PM, shabana khan wrote: > Hi Bharath, > > You can add document and collection in single step itself. If you look at > the syntax of xdmp.documentInsert(), you will seen that you can pass > collection in

Re: [MarkLogic Dev General] How to specify Collection along with the document URI when inserting a marklogic document

2018-05-10 Thread shabana khan
Hi Bharath, You can add document and collection in single step itself. If you look at the syntax of xdmp.documentInsert(), you will seen that you can pass collection in options node itself : declareUpdate(); xdmp.documentInsert( 'document URI', document, { collections : 'name

Re: [MarkLogic Dev General] How to specify Collection along with the document URI when inserting a marklogic document

2018-05-10 Thread Bharath Umesh
Thanks, Christopher. I was able to add document and add this document to its collection in 2 steps. declareUpdate(); xdmp.documentInsert('", ""); Is this correct? Thanks, Bharath On Wed, May 9, 2018 at 6:08 PM, Christopher Hamlin wrote: > The second and third examples

Re: [MarkLogic Dev General] How to specify Collection along with the document URI when inserting a marklogic document

2018-05-09 Thread Christopher Hamlin
The second and third examples at https://docs.marklogic.com/xdmp:document-insert shows collections being set. Do those work for you? On Wed, May 9, 2018 at 7:48 AM, Bharath Umesh wrote: > Hi > > How do I specify Collection info along with the document URI when inserting >

[MarkLogic Dev General] How to specify Collection along with the document URI when inserting a marklogic document

2018-05-09 Thread Bharath Umesh
Hi How do I specify Collection info along with the document URI when inserting a marklogic document. Thanks, Bharath ___ General mailing list General@developer.marklogic.com Manage your subscription at:

[MarkLogic Dev General] collection function searching

2018-05-08 Thread Paul M
I have the following three queries I am comparing declare variable  $my:col as xs:string...(:let $ait := collection()[.//myelem="myval"] :) (: let $ait := collection($mycol)/aaa[.//myelem="myval"] :) let $ait := collection($mycol)[.//myelem=" myval"] return $ait//someelem There may be 10mil

[MarkLogic Dev General] Community Newsletter

2018-05-04 Thread Trinh Lieu
Hello Community, With MarkLogic World coming up, there's been a lot happening so I hope you make it to the end. It's last call for MarkLogic World and the MLW Hackathon in the Developer

Re: [MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9)

2018-05-03 Thread DK Singh
Yes, I got it Regards Dharmendra Kumar Singh On Thu, May 3, 2018 at 7:02 PM, Jason Hunter wrote: > In MarkLogic 9 each app server gets its own error log now. Have you > looked at the other files in the directory? > > -jh- > > > On May 3, 2018, at 21:21, DK Singh

Re: [MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9)

2018-05-03 Thread Jason Hunter
In MarkLogic 9 each app server gets its own error log now. Have you looked at the other files in the directory? -jh- > On May 3, 2018, at 21:21, DK Singh wrote: > > Hi I am using Marklogic 9 and i am running simple query using xdmp:log > function from query console to

Re: [MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9)

2018-05-03 Thread DK Singh
.@developer.marklogic.com> on behalf of DK Singh < > dharam.m...@gmail.com> > *Reply-To: *MarkLogic Developer Discussion <general@developer.marklogic. > com> > *Date: *Thursday, May 3, 2018 at 3:21 PM > *To: *MarkLogic Developer Discussion <general@developer.marklogi

Re: [MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9)

2018-05-03 Thread Geert Josten
> Subject: [MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9) Hi I am using Marklogic 9 and i am running simple query using xdmp:log function from query console to write in in the ErrorLog.txt but not able to write, can anyone anything need to be configured in ma

[MarkLogic Dev General] Not able to write in ErrorLog.txt (Markloglogc 9)

2018-05-03 Thread DK Singh
Hi I am using Marklogic 9 and i am running simple query using xdmp:log function from query console to write in in the ErrorLog.txt but not able to write, can anyone anything need to be configured in marklogc 9 for the writing in the log . i also tried to restart the server but the same result.

Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Erik Hennum
esday, May 1, 2018 10:32:45 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster Hi Erik, Issue got resolved now. Below property in app server was false: "Rewrite resolves globally", after making it true i

Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Pooja Rajput
f Of Erik Hennum Sent: Tuesday, May 1, 2018 10:24 AM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster Hi, Pooja: It's strange that one REST API appserver is working but another o

Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Erik Hennum
inal message. -Original Message- From: general-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> On Behalf Of Erik Hennum Sent: Tuesday, May 1, 2018 9:01 AM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General

Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Pooja Rajput
...@developer.marklogic.com <general-boun...@developer.marklogic.com> On Behalf Of Erik Hennum Sent: Tuesday, May 1, 2018 9:01 AM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster Hi, P

Re: [MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Erik Hennum
l-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> on behalf of Pooja Rajput <pooja.raj...@healthbi.com> Sent: Tuesday, May 1, 2018 12:03 AM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] Extension installation not working on marklogic cl

[MarkLogic Dev General] Extension installation not working on marklogic cluster

2018-05-01 Thread Pooja Rajput
(ExtensionLibrariesManagerImpl.java:62) Thanks From: general-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> On Behalf Of Simón Carbajal Sent: Saturday, April 28, 2018 6:29 PM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] Loadin

Re: [MarkLogic Dev General] Loading a text doc into the database

2018-04-28 Thread Simón Carbajal
ncarba...@gmail.com> > Sent: Friday, April 27, 2018 9:58:10 AM > To: general@developer.marklogic.com > Subject: [MarkLogic Dev General] Loading a text doc into the database > > Hi, > > I'm trying to upload a "text/html" document with the Node.js client API > but the document is

Re: [MarkLogic Dev General] Loading a text doc into the database

2018-04-27 Thread Erik Hennum
<general-boun...@developer.marklogic.com> on behalf of Simón Carbajal <simoncarba...@gmail.com> Sent: Friday, April 27, 2018 9:58:10 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] Loading a text doc into the database Hi, I'm trying to upload a "text/html

Re: [MarkLogic Dev General] DataHub app digest authentication with MarkLogic 9

2018-04-27 Thread Ron Hitchens
GAH! Head. Banging. Desk. I knew about this patch. I applied it a while ago and it didn’t seem to fix the problem, but there were other issues still in play at that point. I had to roll some stuff back and did not re-apply the patch. In my trace output the “/v1” prefix was present

[MarkLogic Dev General] Loading a text doc into the database

2018-04-27 Thread Simón Carbajal
Hi, I'm trying to upload a "text/html" document with the Node.js client API but the document is encoded as "windows 1252" and not utf-8 as required, this is causing the following error: "XDMP-DOCUTF8SEQ: Invalid UTF-8 escape sequence at line 39 -- document is not UTF-8 encoded" Is there a way

Re: [MarkLogic Dev General] DataHub app digest authentication with MarkLogic 9

2018-04-26 Thread Ryan Dew
Hi Ron, You can find the changes that fixed this issue at https://github.com/marklogic-community/slush-marklogic-node/pull/520/files Basically, when performing the path as part of the digest authentication was missing the "/v1" prefix. On Thu, Apr 26, 2018 at 8:20 AM Ron Hitchens

[MarkLogic Dev General] DataHub app digest authentication with MarkLogic 9

2018-04-26 Thread Ron Hitchens
I’ve inherited an application that was created by MarkLogic professional services. It uses the the DataHub Framework and a Node.js app that was generated with Slush. It was created on MarkLogic 8 and is working there. I need to make several changes/improvements, one of which is to upgrade

[MarkLogic Dev General] SonarQube Plugin for XQuery

2018-04-24 Thread Gene Thomas
Hi, Does anyone know of a commercial plugin for SonarQube? We were using the SonarQube Xquery Plugin downloaded from Github, but it doesn't work with the newest versions of SonarQube. The owners of the plugin do not have bandwidth to be able to update it, and our security does not allow using

[MarkLogic Dev General] Entity Services

2018-04-24 Thread Sudheer Kakileti
Hi Team, As per Entity Services, the examples given in Marklogic site is for 1:1 and 0:n relationship. But as per Relational database we have 1:1, 1:n, n:n, n:1. Can you please let us know whether we have only 1:1 and 0:n relationship in Marklogic? Thanks ​Sudheer​

[MarkLogic Dev General] Connection Issue

2018-04-20 Thread Pooja Rajput
t; On Behalf Of Gary Larsen Sent: Friday, April 20, 2018 8:17 AM To: 'General MarkLogic Developer Discussion' <general@developer.marklogic.com> Subject: [MarkLogic Dev General] Shutdown error Hi, I have a Java app using an XDBC server. The app runs in Tomcat. When I shutdown Tomcat while there

[MarkLogic Dev General] Shutdown error

2018-04-20 Thread Gary Larsen
Hi, I have a Java app using an XDBC server. The app runs in Tomcat. When I shutdown Tomcat while there is activity I get this error and the shutdown hangs. INFO: Stopping service Catalina Apr 20, 2018 10:32:45 AM com.marklogic.xcc.impl.SocketPoolProvider returnErrorConnection

[MarkLogic Dev General] Regarding XQMVC Framework

2018-04-20 Thread Mani, Sivasubramani (ELS)
Hi All, Currently I am using XQMVC framework which is running fine in MarkLogic 7.0-5.4 version, now I upgraded to MarkLogic 8 the application is not working fine , Does MarkLogic 8 support XQMVC framework ? is anyone running XQMVC framework application in MarkLogic 8. I got following error

Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED

2018-04-18 Thread Mani, Sivasubramani (ELS)
.mis...@nl.abnamro.com] Sent: 18 April 2018 17:21 To: MarkLogic Developer Discussion <general@developer.marklogic.com> Cc: Mani, Sivasubramani (ELS) <s.m...@elsevier.com> Subject: Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED *** External em

Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED

2018-04-18 Thread Mani, Sivasubramani (ELS)
ogic Developer Discussion <general@developer.marklogic.com> Cc: Mani, Sivasubramani (ELS) <s.m...@elsevier.com> Subject: Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED *** External email: use caution *** Hi Siva, Based on the error, this looks to be a

Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED

2018-04-18 Thread kirti singh
Hi Siva, Based on the error, this looks to be a space error. Can you please check if you have enough space to perform the restore job? Warm Regards, Kirti On Wed, 18 Apr 2018, 13:48 Mani, Sivasubramani (ELS), wrote: > Hi Team, > > > > I try to upgrade from MarkLogic 7 to

Re: [MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED

2018-04-18 Thread himanshu . mishra
@elsevier.com> To: MarkLogic Developer Discussion <general@developer.marklogic.com> Cc: "Mani, Sivasubramani \(ELS\)" <s.m...@elsevier.com> Date: 04/18/2018 01:48 PM Subject:[MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED Hi T

[MarkLogic Dev General] Regarding MarkLogic Upgrade XDMP-FORESTRESTOREFAILED

2018-04-18 Thread Mani, Sivasubramani (ELS)
Hi Team, I try to upgrade from MarkLogic 7 to MarkLogic 8 I use below steps 1. Created parallel environment 2. Export configuration files and backup all the databases 3. Restore security Database first and restart MarkLogic server 4. Import Configuration files 5.

Re: [MarkLogic Dev General] Change the collection TAG for set of documents

2018-04-11 Thread Damon Feldman
-marklogic <general-boun...@developer.marklogic.com> on behalf of "C. Yaswanth" <rocking...@gmail.com> Reply-To: MarkLogic Discussion <general@developer.marklogic.com> Date: Wednesday, April 11, 2018 at 10:35 AM To: MarkLogic Discussion <general@developer.marklog

[MarkLogic Dev General] Change the collection TAG for set of documents

2018-04-11 Thread C. Yaswanth
Hi All, Actually , I want to move(i.e.change) the documents(I.e.around 2M) from one collection to another. For that we tried xdmp:set-collection method which successfully did our job, but taken a lot of time(I.e.12min) which is nearly equal to the time for their ingestion into marklogic(13min).

[MarkLogic Dev General] Regarding MarkLogic Upgrade

2018-04-09 Thread Mani, Sivasubramani (ELS)
Hi Team, Currently we upgraded Mark Logic 7 (ML7 is integrated in Cloud environment) to Mark Logic 9 using following steps 1. Create parallel environment 2. Take snapshot of old EBS volume and Make it as new volume 3. Create cloud formation template 4. Setup

Re: [MarkLogic Dev General] Near Query with min-occurs

2018-04-05 Thread Praveen Gontla
Damon, Your explanation is correct on what documents am I expecting for the query formed. Can you help what tools do you have to achieve this required behavior ? Thanks. On Wed, Apr 4, 2018 at 10:51 AM, Damon Feldman wrote: > Praveen, > > Can you tell us the use

Re: [MarkLogic Dev General] Using metadata to store references to several other docs?

2018-04-05 Thread David Gorbet
logic.com> Subject: Re: [MarkLogic Dev General] Using metadata to store references to several other docs? Hi David, Thank you for your response, and sorry for taking so long to respond. I initially wanted to keep the source association out of the canonical entities, so keep the staging areas

[MarkLogic Dev General] Community Newsletter

2018-04-05 Thread Trinh Lieu
Hello Community, As we gear up for MarkLogic World next month, I wanted to take this month's newsletter to highlight five great reasons for developers to join us in San Francisco, California, May 7-10, 2018. Attending MLW will really help you

[MarkLogic Dev General] Access package.json from a JavaScript file

2018-04-05 Thread Florent Georges
Hi, In one of my NPM pakages which is designed to be compatible with both MarkLogic and Node (which is sometimes difficult, especially that require() does not look in node_modules/), I use the usual idiom to access the package.json file: const pkg = require('../package.json'); But trying that

Re: [MarkLogic Dev General] Using metadata to store references to several other docs?

2018-04-05 Thread Florent Georges
gt; *On Behalf Of *Florent Georges > *Sent:* Friday, March 23, 2018 3:09 AM > *To:* MarkLogic Developer Discussion <general@developer.marklogic.com> > *Subject:* Re: [MarkLogic Dev General] Using metadata to store references > to several other docs? > > > > Hi David, >

Re: [MarkLogic Dev General] transformation of document formats

2018-04-05 Thread Philip Fennell
: MarkLogic Developer Discussion <general@developer.marklogic.com> Date: Thursday, 5 April 2018 at 09:24 To: "general@developer.marklogic.com" <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] transformation of document formats Thanks, Mary for your repl

Re: [MarkLogic Dev General] transformation of document formats

2018-04-05 Thread Mary Holstege
transformation of document formats (Mary Holstege) -- Message: 1 Date: Tue, 3 Apr 2018 17:13:36 +0530 From: Rajesh Kumar <rajava...@gmail.com<mailto:rajava...@gmail.com>> Subject: [MarkLogic Dev General] transformation of document formats To: general@developer.mar

[MarkLogic Dev General] Regarding Error in MarkLogic 9

2018-04-05 Thread Mani, Sivasubramani (ELS)
Hi Team, I had recently upgraded the MarkLogic version 7 to 9, after upgrade I got the following error while I try to run the application, APP sever is up, content db, modules db everything is fine Default login page hits the security object and I got following Error in MarkLogic 9 500

Re: [MarkLogic Dev General] transformation of document formats

2018-04-05 Thread Rajesh Kumar
> > Message: 1 > Date: Tue, 3 Apr 2018 17:13:36 +0530 > From: Rajesh Kumar <rajava...@gmail.com> > Subject: [MarkLogic Dev General] transformation of document formats > To: general@developer.marklogic.com > Message-ID: > <CAGcYHOuD_R_pBihYkz+BfgZB7qLesDku59aWFrguWXY

Re: [MarkLogic Dev General] Near Query with min-occurs

2018-04-04 Thread Damon Feldman
Praveen, Can you tell us the use case? It looks like you might want a phrase query on a set of terms like property tax, propensity tax, etc, and perhaps some notion of relevance or scoring where 4 mentions is more important than just one or two. There are other tools that may help if you tell

Re: [MarkLogic Dev General] Near Query with min-occurs

2018-04-04 Thread Mary Holstege
The semantics of this is a document in which prop* occurs at least 4 times, where one of those times is within distance 1 of tax. Here's the thing: index resolution of min-occurs requires positions of the appropriate type, and there are various cases where we can't tell in the indexes and

Re: [MarkLogic Dev General] Near Query with min-occurs

2018-04-04 Thread Christopher Hamlin
The min-occurs is an option to the word-query, not the near-query. I'd check if results match what is described in the word query doc page. On Tue, Apr 3, 2018, 10:37 PM Praveen Gontla < praveenkumargontla...@gmail.com> wrote: > Team, > > Has anyone come across a query like this ? Trying to

[MarkLogic Dev General] Near Query with min-occurs

2018-04-03 Thread Praveen Gontla
Team, Has anyone come across a query like this ? Trying to understand what would happen in here. prop* case-insensitive diacritic-insensitive punctuation-insensitive *min-occurs=4* tax case-insensitive diacritic-insensitive punctuation-insensitive unstemmed ordered When my near query

Re: [MarkLogic Dev General] transformation of document formats

2018-04-03 Thread Mary Holstege
On Tue, 03 Apr 2018 04:43:36 -0700, Rajesh Kumar wrote: > Hi Team, > > > Is there a way that word can be saved in MarkLogic and can be converted > to other > formats like PDF or ePUB within MarkLogic instead of calling external > API of a > different technology like

[MarkLogic Dev General] transformation of document formats

2018-04-03 Thread Rajesh Kumar
Hi Team, Is there a way that word can be saved in MarkLogic and can be converted to other formats like PDF or ePUB within MarkLogic instead of calling external API of a different technology like Saxon. Thanks, Rajesh ___ General mailing list

Re: [MarkLogic Dev General] How to import xar files in MarkLogic

2018-04-01 Thread Florent Georges
Hi Siva, The EXPath Console for MarkLogic, amongst many other things, let you manage the packages (the XAR files) installed on app servers in MarkLogic. You can install XAR files from your disk (that you downloaded somewhere), or directly from CXAN (selecting a repository and a specific package

Re: [MarkLogic Dev General] Regarding EXpath crypto

2018-04-01 Thread Florent Georges
Hi Siva, I am not aware of any implementation of EXPath Crypto for MarkLogic. I think there is one for BaseX, one for eXist, it might be implemented in Saxon as well, but I do not think there is one for MarkLogic, sadly. Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ On 12

Re: [MarkLogic Dev General] encryption of username and password in gardle properties and set different user for harmonization

2018-03-29 Thread Damon Feldman
behalf of "vikas.sin...@cognizant.com" <vikas.sin...@cognizant.com> Reply-To: MarkLogic Discussion <general@developer.marklogic.com> Date: Thursday, March 29, 2018 at 10:51 AM To: MarkLogic Discussion <general@developer.marklogic.com> Subject: [MarkLogic Dev General] encryption

[MarkLogic Dev General] encryption of username and password in gardle properties and set different user for harmonization

2018-03-29 Thread Vikas.Singh6
Hi All, We are using data hub for building an application. We have customized ingestion and harmonization code for doing these process. I have few question about encryption of admin password and harmonization user name. 1. Do we have any way to encrypt username and password in

Re: [MarkLogic Dev General] General Digest, Vol 165, Issue 24

2018-03-27 Thread Mani, Sivasubramani (ELS)
.m...@elsevier.com> Subject: [MarkLogic Dev General] Regarding Mark Logic License To: "general@developer.marklogic.com" <general@developer.marklogic.com> Message-ID: <cy4pr08mb285354d7281589e8d5c6dc03f4...@cy4pr08mb2853.namprd08.prod.outlook.com> Content-Type: text

Re: [MarkLogic Dev General] Using metadata to store references to several other docs?

2018-03-23 Thread David Gorbet
logic.com> Subject: Re: [MarkLogic Dev General] Using metadata to store references to several other docs? Hi David, Thank you for your response! Short answers to your questions: "none" and "yes and no" :-) A bit of context, trying not to give too much details. We have several

Re: [MarkLogic Dev General] Using metadata to store references to several other docs?

2018-03-23 Thread Florent Georges
ment that indicates this > relationship, just not with the doc URI? > > > > *From:* general-boun...@developer.marklogic.com < > general-boun...@developer.marklogic.com> *On Behalf Of *Florent Georges > *Sent:* Thursday, March 22, 2018 1:06 PM > *To:* MarkLogic Developer

Re: [MarkLogic Dev General] code reference across db's.

2018-03-22 Thread Santhosh.Rajasekaran2
eone, but it is very hard to win someone. From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Kanugovi, Santhosh Sent: Thursday, March 22, 2018 2:48 PM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] code reference ac

[MarkLogic Dev General] code reference across db's.

2018-03-22 Thread Kanugovi, Santhosh
Hello Can we share reference between different modules-databases. For example I have A module db "Library" and a module db "Order-Application" Can we reference a module from Library in Order-Application? Thank you. Santhosh Kanugovi Legal Markets and Innovation Legal & Regulatory Solutions U.S.

Re: [MarkLogic Dev General] Using metadata to store references to several other docs?

2018-03-22 Thread David Gorbet
lorent Georges Sent: Thursday, March 22, 2018 1:06 PM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: [MarkLogic Dev General] Using metadata to store references to several other docs? Hi, I need to store references from one document to another. The mechanism

[MarkLogic Dev General] Using metadata to store references to several other docs?

2018-03-22 Thread Florent Georges
Hi, I need to store references from one document to another. The mechanism is generic and cannot be tied to a particular type of document. It is then difficult to store the reference inside the document. What looks like a perfect solution is to use a metadata with a specific name, the value of

Re: [MarkLogic Dev General] Regarding Mark Logic License

2018-03-22 Thread David Gorbet
Thursday, March 22, 2018 3:24 AM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: [MarkLogic Dev General] Regarding Mark Logic License Hi Team, Currently I am using Mark Logic 7 and I try to upgrade it to Mark Logic 9, I need to enable encr

Re: [MarkLogic Dev General] Regarding Mark Logic License

2018-03-22 Thread David Gorbet
. Best, * David From: general-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> On Behalf Of Mani, Sivasubramani (ELS) Sent: Thursday, March 22, 2018 3:24 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev General] Regarding Mark Logic License H

[MarkLogic Dev General] Regarding Mark Logic License

2018-03-22 Thread Mani, Sivasubramani (ELS)
Hi Team, Currently I am using Mark Logic 7 and I try to upgrade it to Mark Logic 9, I need to enable encryption in Database level, In the Marklogic 9 Document I found the following things To enable encryption at rest, a license key that includes encryption at rest security is required. For

Re: [MarkLogic Dev General] XML Developer jobs in Berlin

2018-03-21 Thread Trinh Lieu
ral@developer.marklogic.com> Subject: [MarkLogic Dev General] XML Developer jobs in Berlin Hi folks, we're on the lookout for new people to join our team, and are specifically interested in MarkLogic or XML skills. If you're looking for a change in your career and fancy joining a small team w

[MarkLogic Dev General] XML Developer jobs in Berlin

2018-03-20 Thread Hans Hübner
Hi folks, we're on the lookout for new people to join our team, and are specifically interested in MarkLogic or XML skills. If you're looking for a change in your career and fancy joining a small team working in the US public healthcare space, please get in touch! More info here:

[MarkLogic Dev General] get bi temporal data without split document

2018-03-20 Thread Vikas.Singh6
Hi , How to get bi temporal data without split. Example: I have loaded 1.xml in database as bitemporal data. Initially it will be 1 documents in database, once 1.xml updated now it creates 3 document in database(1 version and 1 split). Now in database uri will be

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-20 Thread Evgeny Degtyarev
Thanks, Florent! It's very useful! Regards, *Evgeny* On Mon, Mar 19, 2018 at 8:34 PM, Florent Georges wrote: > Not exactly. You can have several library modules with the same namespace > URI, but you have to import them all explicitly in the import statement: > > import

Re: [MarkLogic Dev General] Wrong Behavior of Term-Query vs. Value-Query

2018-03-19 Thread Will Thompson
Hi Hubertus, I would not expect that behavior, so probably the best thing to do is contact ML support if you have not already done so. My understanding is that element value queries use the same index data structures under the hood as word/term queries, so I would not expect fewer results for

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Florent Georges
Not exactly. You can have several library modules with the same namespace URI, but you have to import them all explicitly in the import statement: import module namespace ns = "http://ns; at "/test/one.xqy", "/test/two.xqy"; $ns:var1, $ns:var2 ==> ('variable1', 'variable2') Not that it is a

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Evgeny Degtyarev
Oh, I see. Thank you Ron! Regards, -- *Evgeny* On Mon, Mar 19, 2018 at 4:07 PM, Ron Hitchens wrote: > >Each module should have a unique namespace. > > > Ron Hitchens r...@overstory.co.uk, +44 7879 358212 <+44%207879%20358212> > > > On March 19, 2018 at 2:46:42 PM,

Re: [MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Ron Hitchens
Each module should have a unique namespace. Ron Hitchens r...@overstory.co.uk, +44 7879 358212 On March 19, 2018 at 2:46:42 PM, Evgeny Degtyarev ( evgeny.degtya...@lambdawerk.com) wrote: I have three files: module.application1.xqy xquery version "1.0-ml"; module

[MarkLogic Dev General] Importing a module from another imported module

2018-03-19 Thread Evgeny Degtyarev
I have three files: module.application1.xqy xquery version "1.0-ml"; module namespace ns = "http://ns;; import module "http://ns; at "module .xqy"; declare variable $var1 := 'variable1'; module.xqy xquery version "1.0-ml"; module namespace ns = "http://ns;;

[MarkLogic Dev General] Typo in doc

2018-03-18 Thread Florent Georges
Hi, In https://docs.marklogic.com/guide/jsref/api#id_19160 (section "Node Object for XML Nodes"), the table says "localname" instead of "localName" (with an uppercase "N"). Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ ___ General

[MarkLogic Dev General] Access op:* operators as functions from SJS

2018-03-16 Thread Florent Georges
Hi, Are the XPath and XQuery operators (defined in F as functions in the op:* namespace) available as actual function from SJS? Regards, -- Florent Georges H2O Consulting http://h2o.consulting/ ___ General mailing list General@developer.marklogic.com

[MarkLogic Dev General] temporal deployment using data hub

2018-03-15 Thread Vikas.Singh6
Hi All, How to deploy temporal axes and collection to data hub using command. I have created temporal folder in user-config and using mlDeployTemporal command but getting an error. Regards, Vikas Singh This e-mail and any files transmitted with it are for the sole use of the intended

Re: [MarkLogic Dev General] Potential System Entity Expansion with MarkLogic

2018-03-15 Thread Marcel de Kleine
: Trinh Lieu <trinh.l...@marklogic.com> Subject: [MarkLogic Dev General] Potential System Entity Expansion withMarkLogic To: "General@developer.marklogic.com" <General@developer.marklogic.com> Message-ID: <33492976866b4c14b60a0872e67fd...@marklogic.com&

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-15 Thread Marcel de Kleine
2018 17:28:34 +0000 From: Keith Breinholt <breinhol...@ldschurch.org> Subject: Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention To: MarkLogic Developer Discussion <general@developer.marklogic.com> Message-ID: <sn1pr04mb190429cfb3c02923235f767fb8...@sn1

[MarkLogic Dev General] How to import xar files in MarkLogic

2018-03-15 Thread Mani, Sivasubramani (ELS)
Hi Team, How to import xar files into Mark Logic, I try to use EXPath Crypto library for AES in Mark Logic but I don't know how to use that. Kindly do the needful. Thanks & Regards, Siva ___ General mailing list General@developer.marklogic.com Manage

[MarkLogic Dev General] Potential System Entity Expansion with MarkLogic

2018-03-14 Thread Trinh Lieu
Hello Developers, Several developers have raised some concerns about potential system entity expansion with MarkLogic. There are some things to keep in mind when thinking about this. Since MarkLogic is a database management system, it works with the operating system to provide high levels of

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Liam R. E. Quin
On Wed, 2018-03-14 at 16:40 -0500, Eliot Kimber wrote: > Anyway, the original sample doc was (is) valid and the injection can > be done if you have access to the ML server’s file system and ML has > read access to a directory you can write to and you can create and > can run XQuery to load the

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Eliot Kimber
<ekim...@contrext.com> Reply-To: MarkLogic Developer Discussion <general@developer.marklogic.com> Date: Wednesday, March 14, 2018 at 2:49 PM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb preven

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb

2018-03-14 Thread Marcel de Kleine
cts a node at which point the original document is already processed. The unquote option sometimes prevents the execution of the exploits, sometimes not. Any thoughts on the matter would be appreciated! Thanks, Marcel Date: Wed, 14 Mar 2018 17:28:34 +0000 From: Keith Breinholt <brein

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Eliot Kimber
Logic Developer Discussion <general@developer.marklogic.com> Date: Wednesday, March 14, 2018 at 12:07 PM To: MarkLogic Developer Discussion <general@developer.marklogic.com> Subject: Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention Perhaps you could show the code that you

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Keith Breinholt
er.marklogic.com<mailto:general-boun...@developer.marklogic.com> <general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>> On Behalf Of Marcel de Kleine Sent: Wednesday, March 14, 2018 6:43 AM To: general@developer.marklogic.com<mailto:general@d

Re: [MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Keith Breinholt
please share the code you used to insert this document into a database. -Keith From: general-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> On Behalf Of Marcel de Kleine Sent: Wednesday, March 14, 2018 6:43 AM To: general@developer.marklogic.com Subject: [MarkLogic Dev

[MarkLogic Dev General] Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Marcel de Kleine
Hello, We have noticed Marklogic is vulnerable to xxe (entity expansion) and xml bomb attacks. When loading an malicious document using xdmp:document-insert it won't catch these and cause either loading of unwanted external documents (xxe) and lockup of the system (xml bomb). For example, if

[MarkLogic Dev General] Unable to fetch the registered UDF

2018-03-13 Thread Yogesh Kumar
Hi Team, I am trying to register a sample plugin (a C++ implementation) using plugin:install-from-zip() API function. When pass the "native" string as first parameter and a zip file(manifest.xml and C++ implementation file) as a second parameter I am getting 1 as a result (the API function

  1   2   3   4   5   6   7   8   9   10   >