minor issue in the project-view of BaseX-GUI with error marking

Tuesday, 12 January 2016 · 5 messages · last reply 13 Jan 2016
RS
Rob Stapper12 Jan 2016 17:36 #
Hi, I found that when a directory contains both a program- and a module-file with the same name but with different extensions ( .xq and .xqm) both file are marked as erroneous in the project-view if only one file, on my case the module-file, is indeed erroneous and the other file is ok. Regards, Rob Stapper PS. It is my unittest-directory that contains both program- and module-files.
CG
Christian Grün12 Jan 2016 17:53 #
Hi Rob, If your xq file imports the xqm file, this is expected behavior: As long as an imported module is not valid, the importing module cannot be parsed either. If the xq file can be successfully run, just send me the two files, and I’ll have a closer look. Christian
Quoted text · Rob Stapper · 14 lines
On Tue, Jan 12, 2016 at 5:36 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Hi, > > I found that when a directory contains both a program- and a module-file > with the same name but with different extensions ( .xq and .xqm) > > both file are marked as erroneous in the project-view if only one file, on > my case the module-file, is indeed erroneous and the other file is ok. > > Regards, > Rob Stapper > > PS. It is my unittest-directory that contains both program- and > module-files.
RS
Rob Stapper13 Jan 2016 07:47 #
And a posting to the list of course. -----Oorspronkelijk bericht-----
Quoted text · Rob Stapper · 31 lines
Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] Verzonden: woensdag 13 januari 2016 7:31 Aan: 'Christian Grün' Onderwerp: RE: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking Hi Christian, Here are two example files. It's pretty straight forward. Rob -----Oorspronkelijk bericht----- Van: Christian Grün [mailto:christian.gruen at gmail.com] Verzonden: dinsdag 12 januari 2016 17:54 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking Hi Rob, If your xq file imports the xqm file, this is expected behavior: As long as an imported module is not valid, the importing module cannot be parsed either. If the xq file can be successfully run, just send me the two files, and I’ll have a closer look. Christian On Tue, Jan 12, 2016 at 5:36 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Hi, > > I found that when a directory contains both a program- and a > module-file with the same name but with different extensions ( .xq and > .xqm) > > both file are marked as erroneous in the project-view if only one > file, on my case the module-file, is indeed erroneous and the other file is ok. > > Regards, > Rob Stapper > > PS. It is my unittest-directory that contains both program- and > module-files.
CG
Christian Grün13 Jan 2016 08:47 #
Hi Rob, I got it and fixed it [1]. Thanks for the notification. Christian [1] http://files.basex.org/releases/latest/
Quoted text · Rob Stapper · 45 lines
On Wed, Jan 13, 2016 at 7:47 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > And a posting to the list of course. > > > -----Oorspronkelijk bericht----- > Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] > Verzonden: woensdag 13 januari 2016 7:31 > Aan: 'Christian Grün' > Onderwerp: RE: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking > > Hi Christian, > > Here are two example files. It's pretty straight forward. > > Rob > > -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: dinsdag 12 januari 2016 17:54 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] minor issue in the project-view of BaseX-GUI with error marking > > Hi Rob, > > If your xq file imports the xqm file, this is expected behavior: As long as an imported module is not valid, the importing module cannot be parsed either. If the xq file can be successfully run, just send me the two files, and I’ll have a closer look. > > Christian > > > On Tue, Jan 12, 2016 at 5:36 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: >> Hi, >> >> I found that when a directory contains both a program- and a >> module-file with the same name but with different extensions ( .xq and >> .xqm) >> >> both file are marked as erroneous in the project-view if only one >> file, on my case the module-file, is indeed erroneous and the other file is ok. >> >> Regards, >> Rob Stapper >> >> PS. It is my unittest-directory that contains both program- and >> module-files.
RS
Rob Stapper13 Jan 2016 09:03 #
Urgh, and to the list of course. -----Oorspronkelijk bericht-----
Quoted text · Rob Stapper · 65 lines
Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] Verzonden: woensdag 13 januari 2016 9:02 Aan: 'Christian Grün' Onderwerp: RE: [basex-talk] FW: minor issue in the project-view of BaseX-GUI with error marking Hi Christian, Got it. Seems to be fine now. Rob -----Oorspronkelijk bericht----- Van: Christian Grün [mailto:christian.gruen at gmail.com] Verzonden: woensdag 13 januari 2016 8:48 Aan: Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] FW: minor issue in the project-view of BaseX-GUI with error marking Hi Rob, I got it and fixed it [1]. Thanks for the notification. Christian [1] http://files.basex.org/releases/latest/ On Wed, Jan 13, 2016 at 7:47 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > And a posting to the list of course. > > > -----Oorspronkelijk bericht----- > Van: Rob Stapper [mailto:r.stapper at lijbrandt.nl] > Verzonden: woensdag 13 januari 2016 7:31 > Aan: 'Christian Grün' > Onderwerp: RE: [basex-talk] minor issue in the project-view of > BaseX-GUI with error marking > > Hi Christian, > > Here are two example files. It's pretty straight forward. > > Rob > > -----Oorspronkelijk bericht----- > Van: Christian Grün [mailto:christian.gruen at gmail.com] > Verzonden: dinsdag 12 januari 2016 17:54 > Aan: Rob Stapper > CC: BaseX > Onderwerp: Re: [basex-talk] minor issue in the project-view of > BaseX-GUI with error marking > > Hi Rob, > > If your xq file imports the xqm file, this is expected behavior: As long as an imported module is not valid, the importing module cannot be parsed either. If the xq file can be successfully run, just send me the two files, and I’ll have a closer look. > > Christian > > > On Tue, Jan 12, 2016 at 5:36 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: >> Hi, >> >> I found that when a directory contains both a program- and a >> module-file with the same name but with different extensions ( .xq >> and >> .xqm) >> >> both file are marked as erroneous in the project-view if only one >> file, on my case the module-file, is indeed erroneous and the other file is ok. >> >> Regards, >> Rob Stapper >> >> PS. It is my unittest-directory that contains both program- and >> module-files.

⚡Generated with XQuery