Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Danny Sokolsky
Hi Tim, I believe it is true that since about 4.2 or so, MarkLogic has been more spec-compliant with respect to how the xml declaration is handled. So it is not that surprising that some things behave slightly differently. It sounds like whatever code you are running thinks the xml declaratio

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Tim Meagher
Well, I tried creating an example using xquery, but trying to add the xml declaration to a document results in the following documented error after trying to create the record and not during insert: Processing instructions may not have the target 'XML' So I'm wondering if the XML declarat

Re: [MarkLogic Dev General] Marklogic 6 REST API limitations?

2012-12-14 Thread Charles Greer
Hi, Nelson, From within the MarkLogic organization we too would like to hear about implementations! I think that for any CRUD and search applications, the REST API will meet most needs out of the box. We know about the need for a join operation, and I've got as a TODO to write a custom cons

[MarkLogic Dev General] Marklogic 6 REST API limitations?

2012-12-14 Thread Nelson Wells
Hi all, We're exploring options for interacting with MarkLogic without writing XQuery code. We currently do CRUD operations in MarkLogic with our own custom REST endpoints, and this particular flavor proven a little too hands on. We're looking at another, more generic REST interface developed

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Geert Josten
Hi Tim, I recommend creating a test case that shows the problem as clearly as possible, and file an RFE at support. Cheers, Geert > -Oorspronkelijk bericht- > Van: general-boun...@developer.marklogic.com [mailto:general- > boun...@developer.marklogic.com] Namens Tim Meagher > Verzonden:

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Tim Meagher
Hi Folks, I found a note from Geert that MarkLogic does not need the xml processing instruction, so I removed it from the XML document I was trying to insert into a MarkLogic database running 6.0.2 and it worked. Why isn't 6.0.2 merely ignoring the processing instruction when it is included? Tim

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Tim Meagher
No whitespace, no BOM. Why would that be different in ML 6.0? -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Tim Meagher Sent: Friday, December 14, 2012 12:09 PM To: 'Mike Sokolov'; 'MarkLogic Developer Discus

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Tim Meagher
I do need to check the document. Looks like I omitted part of the error message: XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing instruction name "xml" at line 1 -Original Message- From: Mike Sokolov [mailto:soko...@ifactory.com] Sent: Friday, December 14, 2012 12:

Re: [MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Mike Sokolov
Totally random guess, but is the xml declaration in your document preceded by anything else? White space? A BOM? On 12/14/2012 11:16 AM, Tim Meagher wrote: > XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing > instruction name "xml" at line 1 > > Can someone tell me what this

Re: [MarkLogic Dev General] Admin function for listing open login sessions on HTTP app server?

2012-12-14 Thread John Snelson
The server has that information, but there's no way to get it from XQuery. You might want to add an RFE for this. John On 14/12/12 15:52, David Sewell wrote: > I realize that login sessions to MarkLogic HTTP servers are stateless, but is > there any admin function or functions that would make it

[MarkLogic Dev General] XDMP-BADPINAME: xdmp:get-request-body("xml")

2012-12-14 Thread Tim Meagher
XDMP-BADPINAME: xdmp:get-request-body("xml") -- Invalid processing instruction name "xml" at line 1 Can someone tell me what this is about? "xml" is one of the allowable types per the documentation at http://docs.marklogic.com/xdmp:get-request-body?q=xdmp:get-request-body . I've been running this

[MarkLogic Dev General] Admin function for listing open login sessions on HTTP app server?

2012-12-14 Thread David Sewell
I realize that login sessions to MarkLogic HTTP servers are stateless, but is there any admin function or functions that would make it possible to determine which login sessions on an HTTP app server are active (not timed out) at a given moment? Or is that information all completely dependent o

Re: [MarkLogic Dev General] Role based security in ml

2012-12-14 Thread David Lee
What version of ML are you using ? There is now a built-in REST and JSON support which was modeled on the good work of Corona but fully optimized and supported in ML 6.0. You might consider taking a look. - David Lee Lea

Re: [MarkLogic Dev General] CORB- Update: GC overhead limit exceeded

2012-12-14 Thread Abhishek53 S
Thanks Mike...It helps to remove immediate blockage.. Regards Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto: abhishek5...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Busines

Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-14 Thread Jakob Fix
Thanks everybody for the good advice. I'll be trying the simplest approach, i.e. creating a domain manually, loading the existing pipelines, and attaching them to the domain. My pipelines depend on the basic conversion pipeline, so I'll have to add this one too. I may have a look at how roxy does

Re: [MarkLogic Dev General] Role based security in ml

2012-12-14 Thread manoj viswanadha
Thanks a lot justin. It worked for me... Thanks, Manoj. On Fri, Dec 14, 2012 at 11:59 AM, Justin Makeig wrote: > I don’t know the details of how Corona assigns permissions to documents, > but it sounds like you don’t have a read permission for the corona-dev role > on any of your documents. Per

Re: [MarkLogic Dev General] Role based security in ml

2012-12-14 Thread Geert Josten
Hi Manoj, I think Justin is right. Corona expects you upload documents as corona-dev or corona-admin, which makes sure such permissions are added automatically.. Kind regards, Geert *Van:* general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] *Namens *J

Re: [MarkLogic Dev General] cpf install not scriptable via admin api?

2012-12-14 Thread Geert Josten
Hi Jacob, I have done so in the past. If all help so far doesn't work out, just shout. I could look up the code I used. It ran against an older version of MarkLogic, but pretty sure the basics haven't changed much.. Cheers, Geert > -Oorspronkelijk bericht- > Van: general-boun...@develope