Hi Andy,
Back again... I have fixed xqdoc parsing. Could you give it another
try? The snapshot is available in a few minutes..
Christian
On Tue, Mar 24, 2015 at 5:28 PM, Andy Bunce bunce.a...@gmail.com wrote:
I think it is the handling of nested comments:
let $a:='
(:~
: BEFORE
Hi Andy,
I have just updated the modules.zip file; maybe the first error is gone?
https://github.com/BaseXdb/basex-dist/blob/master/etc/modules.zip
If not, I agree something must go wrong while there must be something
wrong with parsing the description as XML.
2) inspect:xqdoc(array.xqm)
I think it is the handling of nested comments:
let $a:='
(:~
: BEFORE code(:~/code MIDDLE code:)/code AFTER
:)
declare function local:foo(){42};local:foo()
'
return inspect:xqdoc($a)
Result:
xqdoc:descriptionlt;/codegt; MIDDLE lt;codegt;/xqdoc:description
may be confusing [1] indeed.
/Andy
I am looking to generate documentation from the system module stubs in
etc/modules.zip.
I have two issues
1) There is an issue with inspect.xqm
declare namespace xqdoc=http://www.xqdoc.org/1.0;;
let
$a:=inspect:xqdoc(inspect.xqm)//xqdoc:function[xqdoc:name='inspect:xqdoc']//xqdoc:description
4 matches
Mail list logo