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" <geert.jos...@dayon.nl> 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