feature request - point to xpath expression that is incorrect

3 views
Skip to first unread message

Jarosław Kowalewski

unread,
Nov 18, 2020, 4:50:27 PM11/18/20
to orb...@googlegroups.com
Hi,
in the log I see 
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|XPath syntax error at char 176 in {...xs:dayTimeDuration('P1D'))[...}:                                                |
|    Unexpected token ")" beyond end of expressi                                                                       |
|on                                                

Is it possible to display e.g. line number of the form definition or full xpath expression? 
It's really difficult to find an exact expression that rises error. Especially when you have dozens of similar, complex expressions and you see that in one of them you have an extra bracket :)

//Jarek

Alessandro Vernet

unread,
Nov 19, 2020, 4:09:11 PM11/19/20
to orb...@googlegroups.com
Hi Jarek,

Yes! I've added a +1 from you on #3351.

https://github.com/orbeon/orbeon-forms/issues/3351

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

Alessandro Vernet

unread,
May 13, 2021, 4:07:30 PM5/13/21
to orb...@googlegroups.com
Hi Jarek,

This is now improved (or should I say fixed?), and will be in Orbeon Forms
PE 2020.1.4.
Reply all
Reply to author
Forward
0 new messages