← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/xqdoc-private-variables into lp:zorba

 

Chris Hillery has proposed merging lp:~zorba-coders/zorba/xqdoc-private-variables into lp:zorba.

Requested reviews:
  Zorba Coders (zorba-coders)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/xqdoc-private-variables/+merge/175166

Don't check %private variables.
-- 
https://code.launchpad.net/~zorba-coders/zorba/xqdoc-private-variables/+merge/175166
Your team Zorba Coders is requested to review the proposed merge of lp:~zorba-coders/zorba/xqdoc-private-variables into lp:zorba.
=== modified file 'test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq'
--- test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq	2013-06-25 03:00:45 +0000
+++ test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq	2013-07-17 00:02:26 +0000
@@ -204,6 +204,7 @@
     let $moduleUri := $module/xqdoc:uri
     return
       string-join(for $variable in $xqdoc/xqdoc:variables/xqdoc:variable
+      where not(exists($variable//xqdoc:annotation[@localname = 'private']))
       return local:test-variable($module, $variable),"")
 };
 


Follow ups