Hi Ivan,
I've created a feature request:
https://sourceforge.net/p/sedna/feature-requests/18/
BTW, it's not enough to add this info in debug mode. It'd be much more
comfortable to see the function name to speed up investigation of issues on
Production system. Also debug mode is not available in XML:DB API.
Best regards,
Ivan Lagunov
On Apr 12, 2013, at 9:47 PM, Ivan Shcheklein <shchekl...@gmail.com> wrote:
> Ilya, Ivan, you can get stack trace
> http://sedna.org/progguide/ProgGuidesu10.html#x16-630002.7.2 :)
>
> Unfortunately, it misses function names. Though, it should be easy to add, I
> believe.
>
>
> On Fri, Apr 12, 2013 at 11:43 PM, Ilya Taranov <epsi...@socio.msu.ru> wrote:
> Hi,
>
> That is would be great is we printed an XQuery stack trace, I suppose.
> It's definitely not hard, but we should take a look.
>
> Thanks,
> Ilya Taranov.
>
> On Fri, Apr 12, 2013 at 9:10 AM, Ivan Lagunov <lagi...@gmail.com> wrote:
> Hello,
>
>
>
> We extensively use XQuery modules in Sedna. When an error happens, what we
> see is something like this:
>
>
>
> ERROR 12/04/2013 17:53:48 (TRN nxp pid=32721 sid=45 trid=37)
> [PPSeqChecker.cpp:do_next:75]: (XPTY0019) It is a type error if the result of
> a step (other than the last step) in a path expression contains an atomic
> value. Details: at (45:25), filter step contains atomic in position 1
>
>
>
> This is a good message showing (row:column) information that helps a lot.
> However, it misses the module name that is really uncomfortable. It’d be
> really nice to see the module name and preferably the function name if it’s
> available. Is it something easy to implement?
>
>
>
> Best regards,
>
> Ivan Lagunov
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Sedna-discussion mailing list
> Sedna-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Sedna-discussion mailing list
> Sedna-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion