Re: [MarkLogic Dev General] Query Console unusual error message

2014-10-01 Thread Schwartz, Christine
David, Chris,

Thanks for these explanations. Choosing raw rather than auto for viewing query 
results seems to be working with Firefox.

I use Query Console a lot and have never had this problem with my default 
browser, Chrome, so maybe it’s a Firefox thing.

Best,

Chris


Christine Schwartz
Metadata Librarian and XML Database Administrator
Princeton Theological Seminary Library


From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of David Ennis
Sent: Wednesday, October 01, 2014 10:30 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Query Console unusual error message

HI.

I've seen that in Firefox before if I've returned a very Large XML file.  My 
assumption is that it is the adding of the styles on-the-fly.  OUr solution is 
to view the doc as raw.

Kind Regards,
David Ennis



Kind Regards,
David Ennis


David Ennis
Content Engineer

[HintTech] 
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[http://www.hinttech.com] 
[http://www.hinttech.com/signature/Twitter_HintTech.png] 
  
[http://www.hinttech.com/signature/Facebook_HintTech.png] 
  
[http://www.hinttech.com/signature/Linkedin_HintTech.png] 


___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Point in time queries

2014-10-01 Thread Michael Blakeley
You don't, not using point-in-time queries.

It sounds like you want version control rather than point-in-time. Take a look 
at DLS: https://docs.marklogic.com/guide/app-dev/dls

-- Mike

On 1 Oct 2014, at 00:15 , Kapoor, Shruti  wrote:

> Hi all,
> 
> How do I retrieve all the version of the same document(xQuery) if I have 
> enables Point in time queries.
> 
> Thanks and Regards
> Shruti Kapoor
> "This e-mail and any attachments transmitted with it are for the sole use of 
> the intended recipient(s) and may contain confidential , proprietary or 
> privileged information. If you are not the intended recipient, please contact 
> the sender by reply e-mail and destroy all copies of the original message. 
> Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
> or copying of this e-mail or any action taken in reliance on this e-mail is 
> strictly prohibited and may be unlawful." 
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general

___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Query Console unusual error message

2014-10-01 Thread David Ennis
HI.

I've seen that in Firefox before if I've returned a very Large XML file.
My assumption is that it is the adding of the styles on-the-fly.  OUr
solution is to view the doc as raw.

Kind Regards,
David Ennis



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] 
  


On 1 October 2014 16:23, Schwartz, Christine 
wrote:

>  Hi,
>
>
>
> Our developer was using Query Console in Firefox (on a MAC) and received
> this error message several times.
>
>
>
> A script on this page may be busy, or it may have stopped responding. You
> can stop the script now, or you can continue to see if the script will
> complete.
>
>
>
> Script:
> http://markdev2.ptsem.edu:8000/common/output-formatter/lib/sax.js:47
>
>
>
> We’ve never seen this message before, so not sure what’s going on, but it
> appears to be an issue with Query Console’s JavaScript.
>
>
>
> Thanks for any help/advice.
>
>
>
> Chris
>
>
>
> Christine Schwartz
>
> Metadata Librarian and XML Database Administrator
>
> Princeton Theological Seminary Library
>
> 25 Library Place
>
> Princeton, NJ 08540
>
> christine.schwa...@ptsem.edu
>
>
>
>
>
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Query Console unusual error message

2014-10-01 Thread Christopher Hamlin
HI,

My guess is that there may be a lot of XML data coming back.  QC
appears to parse the xml that comes back to make it nice.  These two
guesses are supported by the name of the JS.

I'd try:  whatever you are returning, try returning less, then scale
up.  Or, maybe using raw for the result will bypass the parse and make
things faster.

- Chris

On Wed, Oct 1, 2014 at 10:23 AM, Schwartz, Christine
 wrote:
> Hi,
>
>
>
> Our developer was using Query Console in Firefox (on a MAC) and received
> this error message several times.
>
>
>
> A script on this page may be busy, or it may have stopped responding. You
> can stop the script now, or you can continue to see if the script will
> complete.
>
>
>
> Script: http://markdev2.ptsem.edu:8000/common/output-formatter/lib/sax.js:47
>
>
>
> We’ve never seen this message before, so not sure what’s going on, but it
> appears to be an issue with Query Console’s JavaScript.
>
>
>
> Thanks for any help/advice.
>
>
>
> Chris
>
>
>
> Christine Schwartz
>
> Metadata Librarian and XML Database Administrator
>
> Princeton Theological Seminary Library
>
> 25 Library Place
>
> Princeton, NJ 08540
>
> christine.schwa...@ptsem.edu
>
>
>
>
>
>
> ___
> General mailing list
> General@developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Query Console unusual error message

2014-10-01 Thread Schwartz, Christine
Hi,

Our developer was using Query Console in Firefox (on a MAC) and received this 
error message several times.

A script on this page may be busy, or it may have stopped responding. You can 
stop the script now, or you can continue to see if the script will complete.

Script: http://markdev2.ptsem.edu:8000/common/output-formatter/lib/sax.js:47

We've never seen this message before, so not sure what's going on, but it 
appears to be an issue with Query Console's JavaScript.

Thanks for any help/advice.

Chris

Christine Schwartz
Metadata Librarian and XML Database Administrator
Princeton Theological Seminary Library
25 Library Place
Princeton, NJ 08540
christine.schwa...@ptsem.edu


___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] REST URL Exception

2014-10-01 Thread Dave Cassel
Hi Abhishek,

I was able to duplicate this by trying to deploy an extension to an HTTP server 
that was not set up for the MarkLogic REST API. Please check these two settings 
on your HTTP app server config:

  *   url rewriter: should be /MarkLogic/rest-api/rewriter.xqy
  *   rewrite resolves globally: should be true

Dave.
--
Dave Cassel
Developer Community Manager
MarkLogic Corporation
Cell:  +1-484-798-8720


From: 
"abhishek.srivas...@cognizant.com" 
mailto:abhishek.srivas...@cognizant.com>>
Reply-To: MarkLogic Developer Discussion 
mailto:general@developer.marklogic.com>>
Date: Tuesday, September 30, 2014 at 8:22 PM
To: "general@developer.marklogic.com" 
mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] REST URL Exception

Hi All,

I am trying to register REST URL using curl command and getting 405 Method not 
allowed exception. Let me know if there is any thought.

$curl --anyauth --user username -X PUT -H "Content-type: application/xquery" 
-d@"./xquery.xqy" 
"http://host:8005/v1/config/resources/process?method=put&put:param=xs:string"http://host:8005/v1/config/resources/process?method=put&put:param=xs:string

Exception:

405 Method not found

Thanks
Abhishek
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] any considerations for deploying MarkLogic via Windows sysprep deployment tool?

2014-10-01 Thread Jakob Fix
Hello,

For internal training sessions and potentially general deployment of test
machines, we'd like to set up a template for our virtual machines (we're
using Microsoft's sysprep tool to deploy on VDI). Are there some known
incompatibilities with this approach and MarkLogic?

I understand that there is no official certification of this scenario, but
as I said we're intending to use this for training and tests only.

This may be a question for the support, but I thought I might just as well
ask it here.

cheers,
Jakob.
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Point in time queries

2014-10-01 Thread Kapoor, Shruti
Hi all,


How do I retrieve all the version of the same document(xQuery) if I have 
enables Point in time queries.


Thanks and Regards
Shruti Kapoor
"This e-mail and any attachments transmitted with it are for the sole use of 
the intended recipient(s) and may contain confidential , proprietary or 
privileged information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. Any 
unauthorized review, use, disclosure, dissemination, forwarding, printing or 
copying of this e-mail or any action taken in reliance on this e-mail is 
strictly prohibited and may be unlawful."
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general