attribute-range()
Tuesday, 29 March 2022 · 2 messages
JB
Johannes Bauer29 Mar 2022 06:53 #
Hello,
when I use the
db:attribute-range function with the attribute name filter I always get all attributes:db:attribute-range("db", "1", "1000", "id")I would expect that it only returns the "id" attributes.
It seems the attribute name does not matter at all. The results are always the same even for a bogus attribute name.
Regards
Johannes
CG
Christian Grün29 Mar 2022 11:52 #
Hi Johannes,
Good catch! Support for the third function argument seems to have got lost recently. A new snapshot is available [1].
Best,
Christian
[1] https://files.basex.org/releases/latest/
Quoted text · Johannes Bauer · 17 lines
On Tue, Mar 29, 2022 at 6:53 AM Johannes Bauer <johannes.bauer at tanner.de> wrote: > > Hello, > > when I use the db:attribute-range function with the attribute name > filter I always get all attributes: > > db:attribute-range("db", "1", "1000", "id") > > I would expect that it only returns the "id" attributes. > > It seems the attribute name does not matter at all. The results are > always the same even for a bogus attribute name. > > Regards > Johannes >
Written for BaseX 9.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery