Re: [basex-talk] Re Re Add line-number function

2018-07-16 Thread Christian Grün
Hi Pavel, Thanks for the background information. I can understand that it would be enticing to work with the original line and column numbers in your scenario. The BaseX database layout was optimized to be as be as compact as possible. We ignore all extra information that is not required by any

Re: [basex-talk] Re Re Add line-number function

2018-07-16 Thread Imsieke, Gerrit, le-tex
Still, I suggest that you do not only provide users with a list of errors but also with an HTML rendering of the whole document (or only of the erroneous bits, plus some context maybe). Alternatively, pay BaseX GmbH in the order of (I’m just guessing) 20 kEUR so that they enhance the storage

[basex-talk] Re Re Add line-number function

2018-07-16 Thread Павел Павлов
Hi! Users send to us xml files according published xsd scheme. And they can use any software: any xml editor or special editors, developed by third companies, with textbox'es for fill business objects. So, our application does not have a graphical interface. Our software' main goal is to

Re: [basex-talk] Re Add line-number function

2018-07-16 Thread Imsieke, Gerrit, le-tex
Hi Pavel, What kind of editor are your users using? If they use an XML editor proper, there will probably be a means to jump to a location specified by an XPath expression. If they are using an ordinary text editor, how do you prevent them from messing up the XML in the first place?

[basex-talk] Re Add line-number function

2018-07-16 Thread Павел Павлов
Thanks for the detailed answer. Our software is developed in .NET. And we use BaseX as a Xquery processor. We use fn:path and return path to error element to user. But it's not enough. Our users are ordinary people, not IT, and they want to see in which lines of xml files there are mistakes. Now