Hi Manoj,

I already have all xquery 1.0 best practices rule sets.

I am looking for MarkLogic specific best practices related to cts apis and
search:search apis.

Anyways i am digging out for best practices for cts apis and search:search
apis.

Thank you very much for the quick reply.

Thanks,
Abhinav kumar mishra
 On 13 Sep 2013 14:39, <[email protected]> wrote:

> 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. Need suggestions for xqury coding best practices specific to
>       MarkLogic apis. (abhinav mishra)
>    2. Re: Need suggestions for xqury coding best practices specific
>       to MarkLogic apis. (Manoj)
>    3. Re: xdmp:http-get using digest authentication
>       (Vijayasekar Padmanaban)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 13 Sep 2013 08:32:20 +0530
> From: abhinav mishra <[email protected]>
> Subject: [MarkLogic Dev General] Need suggestions for xqury coding
>         best practices specific to MarkLogic apis.
> To: [email protected]
> Message-ID:
>         <
> cacp7mw8fbh1uaxkjfl_ohsgvucvcn7wbykhvsv4iy6bssws...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
> Hope all doing well.
>
> I am writing a tool for xquery code analysis same as Java PMD concept.
>
> I need suggestions regarding best practices for marklogic specific apis
> such as CTS-APIs,SEARCH-APIs,Admim-Apis etc. which also cover performence
> related scenerios as well.
>
> I posted in the forum, so that i can get more
>
> your suggestions are always helpful.
>
> Thanks all in advance.
>
> Abhinav kumar mishra
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://developer.marklogic.com/pipermail/general/attachments/20130913/355e5c72/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Thu, 12 Sep 2013 23:33:39 -0400
> From: Manoj <[email protected]>
> Subject: Re: [MarkLogic Dev General] Need suggestions for xqury coding
>         best practices specific to MarkLogic apis.
> To: MarkLogic Developer Discussion <[email protected]>
> Message-ID:
>         <CAP3DMM89CeXB4Eo05BA5feaqj+Q=
> [email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Abinav,
>     Sometime back chris posted a message on XQuery static code analysis in
> this forum. Copy, pasted the content of the mail sent by chris. May be you
> could take a look at this to begin with...
>
> "I have just released to open source a project that runs static code
> analysis against XQuery code.  It is a plugin for the SonarQube (
> http://www.sonarqube.org/) code quality management tool.  There are a few
> security/convention checks already created (most inspired by Michael
> Blakeley) and it is very easy to add more.
>
> You can check it out here:
> https://github.com/malteseduck/sonar-xquery-plugin
>
> It is not perfect, but it is a place to start and has been useful for our
> organization.  There is a lot of potential for more types of checks for
> things like security and localizability.  I am of course open to any
> suggestions and contributions you feel inclined to give.  Thanks.
>
> Chris Cieslinski"
>
>
> On Thu, Sep 12, 2013 at 11:02 PM, abhinav mishra
> <[email protected]>wrote:
>
> > Hi All,
> > Hope all doing well.
> >
> > I am writing a tool for xquery code analysis same as Java PMD concept.
> >
> > I need suggestions regarding best practices for marklogic specific apis
> > such as CTS-APIs,SEARCH-APIs,Admim-Apis etc. which also cover performence
> > related scenerios as well.
> >
> > I posted in the forum, so that i can get more
> >
> > your suggestions are always helpful.
> >
> > Thanks all in advance.
> >
> > Abhinav kumar mishra
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://developer.marklogic.com/pipermail/general/attachments/20130912/832b8853/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Fri, 13 Sep 2013 09:08:53 +0000
> From: Vijayasekar Padmanaban <[email protected]>
> Subject: Re: [MarkLogic Dev General] xdmp:http-get using digest
>         authentication
> To: MarkLogic Developer Discussion <[email protected]>
> Message-ID: <C5B31F62E55BF44E92E922C16D7AA61D668A74F0@chnshlmbx13>
> Content-Type: text/plain; charset="us-ascii"
>
> Yes I am able to telnet Apache server from MarkLogic server.
>
> Regards,
> Vijay
>
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Khan, Kashif
> Sent: Thursday, September 12, 2013 6:43 PM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] xdmp:http-get using digest
> authentication
>
> Vijay, It might be a firewall issue. Are you able to telnet Apache Server
> from your Marklogic server?
>
> ----------------
> Kashif Khan, PMI-ACP
> Sr. Solution Architect
> Publishing Technology
>
> Houghton Mifflin Harcourt
> 9400 South Park Center Loop
> Orlando, FL 32819
> Office: 407.345.3420
> Mobile: 407.949.4697
> hmhco.com
>
> From: Vijayasekar Padmanaban <[email protected]<mailto:
> [email protected]>>
> Reply-To: MarkLogic Developer Discussion <[email protected]
> <mailto:[email protected]>>
> Date: Thursday, September 12, 2013 1:04 AM
> To: MarkLogic Developer Discussion <[email protected]
> <mailto:[email protected]>>
> Subject: Re: [MarkLogic Dev General] xdmp:http-get using digest
> authentication
>
> Hi Danny,
>
> Thank you for your response. Yes I have tried connecting from some other
> clients like "poster" in Firefox. There I am able to connect using the same
> credentials. And I am sure that it is set up to use digest auth.
>
> Regards,
> Vijay
>
> From: [email protected]<mailto:
> [email protected]> [mailto:
> [email protected]] On Behalf Of Danny Sokolsky
> Sent: Wednesday, September 11, 2013 11:09 PM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] xdmp:http-get using digest
> authentication
>
> Have you tried connecting to the Apache server from another client (like
> curl for example)?  Are you sure it is set up to use digest auth?
>
> -Danny
>
> From:[email protected]<mailto:
> [email protected]> [mailto:
> [email protected]] On Behalf Of Vijayasekar
> Padmanaban
> Sent: Wednesday, September 11, 2013 2:45 AM
> To: [email protected]<mailto:[email protected]
> >
> Subject: [MarkLogic Dev General] xdmp:http-get using digest authentication
>
> Hi,
> We are trying to connect to Apache server from MarkLogic using digest
> authentication. However, we are getting 401 unauthorized error while trying
> to connect. Below is the MarkLogic API we are using:
> xdmp:http-get("http://localhost:port/a/b/c";,
> <options xmlns="xdmp:http">
>    <authentication method="digest">
>      <username>abc</username>
>      <password>abc123</password>
>    </authentication>
>   </options>)
> And the response we are getting is below. Could you tell me what could be
> the issue here?
> <response>
> <code>401</code>
> <message>Unauthorized</message>
> <headers>
>   <server>Apache-Coyote/1.1</server>
>   <www-authenticate>Digest realm="ABCRealm", qop="auth",
>  
> nonce="MTM3ODg4ODk3MjY5NTplMGFiYWI1YmZiNmM4YzU0OWJmMWM2ZWU5ZTYwODcxOQ=="</www-authenticate>
>   <content-type>text/html;charset=utf-8</content-type>
>   <content-length>1041</content-length>
>   <date>Wed, 11 Sep 2013 08:37:52 IST</date>
>   <cache-control>proxy-revalidate</cache-control>
>   <connection>close</connection>
> </headers>
> </response>
> HTTP Status 401 - Nonce should have yielded two tokens but was
> Regards, Vijay
>
>
> **************** CAUTION - Disclaimer *****************
>
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
>
> for the use of the addressee(s). If you are not the intended recipient,
> please
>
> notify the sender by e-mail and delete the original message. Further, you
> are not
>
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
>
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken
>
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
>
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
>
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
>
> right to monitor and review the content of all messages sent to or from
> this e-mail
>
> address. Messages sent to or from this e-mail address may be stored on the
>
> Infosys e-mail system.
>
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://developer.marklogic.com/pipermail/general/attachments/20130913/3a3cb9ec/attachment.html
>
> ------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
>
> End of General Digest, Vol 111, Issue 19
> ****************************************
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to