Well - but are such concerns related to using maps as the output? I do not
think so, and therefore I suggest to avoid mixing specific how-to's with
general challenges. By now you know the idiom how to construct maps
dynamically, as you had already known how to construct node trees dynamically.
Oh yes thanks. Forgot to mention this. Forcing utf8 doesn't help.
Il ven 27 mag 2022, 19:26 Bridger Dyson-Smith ha
scritto:
> Marco -
> I'm sorry but I can only corroborate your findings, and that trying to
> force UTF-8 by adding the encoding parameter to the functions doesn't seem
> to help;
Definitely looks like a bug. I’m currently on the road, but I’ll get to the
bottom of this once I’m back.
Bridger Dyson-Smith schrieb am Fr., 27. Mai 2022,
19:27:
> Marco -
> I'm sorry but I can only corroborate your findings, and that trying to
> force UTF-8 by adding the encoding parameter
Marco -
I'm sorry but I can only corroborate your findings, and that trying to
force UTF-8 by adding the encoding parameter to the functions doesn't seem
to help; e.g.
) ./bin/basex
BaseX 9.7.1 [Standalone]
Try 'help' to get more information.
> xquery file:current-dir()
Dear all,
after wrapping our heads around this for hours today, we don't know how
to get rid of this inconsistency. Thus I ask for help ...
SSCE:
BaseX 9.6.4 [Standalone]
Try 'help' to get more information.
> xquery file:write-text("a1.txt", "°" || out:nl()) (: Same with
On Fri, May 27, 2022 at 03:37:57PM +0200, Markus Elfring scripsit:
> > Gaps? First, to avoid a misunderstanding: whereas map keys must not
> > be the empty sequence, map values may.
>
> Special data sources might contain challenges for further
> clarification of the desired referential integrity.
> Gaps? First, to avoid a misunderstanding: whereas map keys must not be the
> empty sequence, map values may.
Special data sources might contain challenges for further clarification of
the desired referential integrity.
Regards,
Markus
Hi Markus, you wrote
"How would you determine where unexpected gaps occur?"
Gaps? First, to avoid a misunderstanding: whereas map keys must not be the
empty sequence, map values may.
An elegant way to construct map entries safely - taking care that the key is
not empty - is to use the map
On Fri, May 27, 2022 at 10:50:57AM +0200, Markus Elfring scripsit:
> > This code may for example be (most often is) a FLWOR expression. In
> > this code, each entry is constructed by a call of function
> > map:entry().
>
> Now I stumble on the error message “[XPTY0004] Item expected, empty
>
> although I do not quite understand your description
Which wording variant would you have found clearer for the mentioned use case?
> (why should I care for the representation of the map I construct?),
* Selection of a general data structure for the handling of key/value pairs
* I guess that
10 matches
Mail list logo