Hi, Thanks, this sounds like issue [#664]. If you find a temporary workaround, i'll be interested as well.
cheers Arve [#664] https://github.com/BaseXdb/basex/issues/664 On Fri, Mar 22, 2013 at 3:22 PM, Hans-Juergen Rennau <hren...@yahoo.de>wrote: > Dear BaseX team, > > I encountered a strange phenomenon: after loading a document into the > database (using db:create), ordinary retrieval yields a phantom with > distorted namespaces, like this: > > <Accommodation xmlns="http://otds-group.org/otds"> > <Availabilities xmlns="" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns=" > http://otds-group.org/otds" Key="1Z"> > <Availability xmlns="" xmlns="http://otds-group.org/otds" Key="1Z" > StartDate="2013-05-01" EndDate="2013-10-31"> > <DefaultDayState xmlns="" xmlns="http://otds-group.org/otds"> > <Open xmlns="" xmlns="http://otds-group.org/otds"/> > </DefaultDayState> > </Availability> > ... > > Note the xmlns="", side by side with xmlns="...". > > This is the query: > > let $c := * return element {node-name($c)} {$c/*:Availabilities} > > And this is the (correct) result I obtain if I use as input not the > uploaded document, but the original file: > > <Accommodation xmlns="http://otds-group.org/otds"> > <Availabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > Key="1Z"> > <Availability Key="1Z" StartDate="2013-05-01" EndDate="2013-10-31"> > <DefaultDayState> > <Open/> > </DefaultDayState> > </Availability> > ... > > I wanted to reproduce the problem with a minimal input document, but then > the error did not occur. > > The document producing the error has 286 KB. > > One more remark: after droping all databases and repeating the exercise, > the problem still remained. > > Kind regards, > Hans-Juergen > > PS: If a team member would like to receive the input file, I would send it > to him or her directly. > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk@mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > -- Arve Gengelbach, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk