Hi,
we noticed you prepare release 8.5.4.
Please don't forget to fix issue: SQL with BaseX 8.5.3 #1341
Thx
Jan
--
Jan Dölle
E-Mail: basex-list(a)id1.de Telefon +49-69-244502-0 Home: www.id1.de
Information Design One AG, Baseler Straße 10, 60329 Frankfurt am Main
Registereintrag: Amtsgericht Frankfurt am Main, HRB 52596
Vorstand: Robert Peters, Aufsichtsrat: Christian Hecht (Vorsitz)
Hi all -
I'm able to create a database with the GUI from an XML document that
contains an invalid character (U+0000) -- I guess BaseX does some character
scrubbing, which is awesome :). When I try creating a database with the
same input XML document from the commandline (using the basex executable),
I get an error message.
Here are my commands in standalone mode:
BaseX 8.5.3 [Standalone]
Try 'help' to get more information.
> create db test-bad-char /usr/home/bridger/src/another-test.xml
"/…
[View More]usr/home/bridger/src/another-test.xml" (Line 4): An invalid XML character
(Unicode: 0xb) was found in the element content of the document.
> xquery db:create("test-bad-char",
"/usr/home/bridger/src/another-test.xml", "/usr/home/bridger/src/", map {
"chop": false() })
Stopped at ., 1/10:
[FODC0002] "/usr/home/bridger/src/another-test.xml" (Line 4): An invalid
XML character (Unicode: 0xb) was found in the element content of the
document.
>
This isn't a surprise (I'm more surprised (pleasantly) by the GUI
behavior); is there a way to apply the same "scrubbing" from the GUI in
standalone mode? I'm sure there is, but I'm not able to figure out which
option to apply.
As always, thank you for your time and trouble, and thanks for BaseX.
Best,
Bridger
[View Less]
When we start up BaseX (whether the server or the GUI) and run a particular a query against a particular .xqm file, we always get a tail recursion error.
Error:[bxerr:BASX0005] Stack Overflow: Try tail recursion?
If we attempt to execute it again (sometimes twice, but have done so repeatedly up to 5 times), the error goes away and all is fine.
Is there anything you can suggest or anything we can provide you to see how to eliminate this. This is particularly problematic on our server when …
[View More]we reboot our production application.Anything you can suggest or anyway we can help is much appreciated.
Buddy
[View Less]
Hi all -
I think that I weak grasp of the practical requirements, but I'm unable to
find a reference in the spec to clarify what's happening in the following:
I have a constructor:
return(
for $item in $file-list
let $item-less := replace($item, '^\d{1,}-', '')
(: returns "missing" supplemental files :)
where ($item-less[(not(. = ($files-titles, $excludes)))])
or ($item-less[(. = $files-titles)])
return(
<relatedItem>
<title>{$item-less}</title>
…
[View More]<mimeType>
{if ($item-less = $files-titles)
then ($content/files/file/name[. =
$item-less]/following-sibling::mimetype/text())
else
(fetch:content-type(concat(file:parent(document-uri($doc)),$item)))}
</mimeType>
<uri>{file:parent(document-uri($doc))}</uri>
</relatedItem>
)
)
and it works fine so long at the <relatedItem> is not namespaced. As soon
as the <relatedItem> is namespaced; e.g. <relatedItem xmlns="
http://bridger.net">, then I need to use the following XPath in the `then`
keyword:
($content/*:files/*:file/*:name[. =
$item-less]/following-sibling::*:mimetype/text())
The input documents (in the SSCCE, under sample-data/*/metadata.xml) are
not in a namespace.
Would someone mind providing some context for the "why" here? I've been
looking through Priscilla Walmsley's 2nd edition, and the specification,
but haven't been able to find an answer. I'm almost certainly looking for
the wrong thing(s).
Any help will be greatly appreciated! Thank you in advance.
Best,
Bridger
[View Less]
Hi team!
As you know, TagSoup 1.2.1 doesn't support correct HTML5 tag nesting. For
example, this string
<b><p>Test</p></b>
will be parsed as
<b/><p><b></b></p><b/>
But html5 code
<b><aside>Test</aside></b>
will be parsed as is.
How to implement in BaseX the html5 support?
I've found this project, but not sure that it's possible to add it into basex
code
https://github.com/UniversityofWarwick/tagsoup-html5
Thanks!
I am new to BaseX which I find as a powerful tool to work on xml data. The BaseX GUI is great. My question is: how can I save the Tables in the visualization as spreadsheet(s). I understand there are multiple views but it should be possible to save them as separate tables or tabs in a single spreadsheet.
I apologize if this has been addresses in an earlier talk.
I would like to know if there is a way to quickly search the base-talk archives without having to look through them all (…
[View More]arranged by month).
Thanks! -R. Kalamegham
[View Less]
Dear BaseX folks,
I'm having trouble understanding the subtleties of the WRITEBACK option.
I found this issue report that seems to describe my case as well but it
refers to a rather old baseX version.
https://github.com/BaseXdb/basex/issues/848
As I understand it the WRITEBACK option will only work for files directly
read from disk and not for those that have been added to a database at time
of creation. I have created my database with a input path that already held
all the xmls I needed to …
[View More]import:
Resource Properties
Input Path: /home/enea/tmp/AF PHR extraction ALL DATA
Input Size: 74 MB
Timestamp: 2016-12-19T08:45:34.841Z
Encoding: UTF-8
CHOP: true
Does the above still apply to baseX 8.2.3? If the issue has been addressed
can you describe how the current implementation works?
Is the only workaround to this explicitly calling EXPORT after all the
update/insertion/deletion queries to see the modifications reflected in the
original files on disk?
Thanks for your help,
Enea
--
*Enea Parimbelli, Ph.D.*
Post-doc research fellow | Biomedical informatics lab "Mario Stefanelli"
Department of Electrical, Computer and Biomedical Engineering
University of Pavia
Via Ferrata 5, 27100, Pavia (Italy)
[View Less]
Hi everyone,
I know some of you are waiting for BaseX 8.6, and I promised to make
it happen until end of this year. I am afraid we won’t make it in
time, but you can definitely expect the new version in January!
Until then, as usual, we are looking forward to your feedback on our
latest snapshot [1].
All the best,
Christian
[1] http://files.basex.org/releases/latest/