Hello! Can you add to BaseX (as module) function "line-number" which retrieves the line number of the expression ? Same as in eXist-db ( http://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xqu... ) or saxon ( http://www.saxonica.com/html/documentation/functions/saxon/line-number.html ). it is very important for us because our users want see error line number in xml docs when our xquery scripts validate them.
Hello, could the $err:line-number [1] variable help you ? [1] http://docs.basex.org/wiki/XQuery_3.0#Try.2FCatch Best regards, Fabrice ETANCHAUD cerfrancepch De : BaseX-Talk [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de ????? ?????? Envoyé : jeudi 5 juillet 2018 06:39 À : basex-talk@mailman.uni-konstanz.de Objet : [basex-talk] Add line-number function Hello! Can you add to BaseX (as module) function "line-number" which retrieves the line number of the expression ? Same as in eXist-db (http://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xqu...) or saxon (http://www.saxonica.com/html/documentation/functions/saxon/line-number.html). it is very important for us because our users want see error line number in xml docs when our xquery scripts validate them.
participants (2)
-
Fabrice ETANCHAUD -
Павел Павлов