Re: [MarkLogic Dev General] Trying to add a rule to xqdt plug-in
I would like to validate my xquery against a set of rules on saving the xquery in eclipse. Say I am declaring a variable in xquery and never using it, i would like to throw a warning saying this variable is never read locally, similar to how java is compiled and warnings are displayed. On Jan 3, 2012 9:51 PM, "Geert Josten" wrote: Hi Raghu, Not quite sure I understand what you are trying to achieve. Can you elaborate on what you are trying to do? Are you talking about something like the Java imports cleanup of Eclipse, but applied to declarations in an XQuery module? Or is it more like a cleanup of your output? Did you consider posting an issue at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20Incubator&component=wtp.inc.xquery? Kind regards, Geert *Van:* general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] *Namens *Raghu *Verzonden:* dinsdag 3 januari 2012 16:26 *Aan:* General MarkLogic Developer Discussion *Onderwerp:* [MarkLogic Dev General] Trying to add a rule to xqdt plug-in Hi All, I am trying to add a rule to xqdt plugin (e.g) to remove unused namespace... ___ 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] Trying to add a rule to xqdt plug-in
Hi Raghu, Not quite sure I understand what you are trying to achieve. Can you elaborate on what you are trying to do? Are you talking about something like the Java imports cleanup of Eclipse, but applied to declarations in an XQuery module? Or is it more like a cleanup of your output? Did you consider posting an issue at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=WTP%20Incubator&component=wtp.inc.xquery? Kind regards, Geert *Van:* general-boun...@developer.marklogic.com [mailto: general-boun...@developer.marklogic.com] *Namens *Raghu *Verzonden:* dinsdag 3 januari 2012 16:26 *Aan:* General MarkLogic Developer Discussion *Onderwerp:* [MarkLogic Dev General] Trying to add a rule to xqdt plug-in Hi All, I am trying to add a rule to xqdt plugin (e.g) to remove unused namespaces/variables. Is there a simpler way to do it? Can somebody please point me to an xquery parser or anything which would help me accmpolish this task. I already tried downloading xqdt code but there are too many dependencies. Thanks in advance Raghu ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general
[MarkLogic Dev General] Trying to add a rule to xqdt plug-in
Hi All, I am trying to add a rule to xqdt plugin (e.g) to remove unused namespaces/variables. Is there a simpler way to do it? Can somebody please point me to an xquery parser or anything which would help me accmpolish this task. I already tried downloading xqdt code but there are too many dependencies. Thanks in advance Raghu ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general