{"action":"closed","issue":{"url":"https://api.github.com/repos/BaseXdb/basex/issues/1374","repository_url":"https://api.github.com/repos/BaseXdb/basex","labels_url":"https://api.github.com/repos/BaseXdb/basex/issues/1374/labels{/name}","comments_url":"https://api.github.com/repos/BaseXdb/basex/issues/1374/comments","events_url":"https://api.github.com/repos/BaseXdb/basex/issues/1374/events","html_url":"https://github.com/BaseXdb/basex/issues/1374","id":182307982,"number":1374,"title":"following:: axis overruns into next document in collection","user":{"login":"AndrewSales","id":1850015,"avatar_url":"https://avatars.githubusercontent.com/u/1850015?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewSales","html_url":"https://github.com/AndrewSales","followers_url":"https://api.github.com/users/AndrewSales/followers","following_url":"https://api.github.com/users/AndrewSales/following{/other_user}","gists_url":"https://api.github.com/users/AndrewSales/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewSales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewSales/subscriptions","organizations_url":"https://api.github.com/users/AndrewSales/orgs","repos_url":"https://api.github.com/users/AndrewSales/repos","events_url":"https://api.github.com/users/AndrewSales/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewSales/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T16:12:39Z","updated_at":"2016-10-11T16:46:35Z","closed_at":"2016-10-11T16:46:35Z","body":"If I have two documents, a.xml and b.xml, in a database, each of whose content is `<a/>`,\r\n`(//a)[last()]/preceding::a`\r\nreturns the empty sequence, as I would expect.\r\n\r\nHowever, \r\n`(//a)[1]/following::a`\r\nreturns `<a/>` from the **next** document in the collection.\r\n\r\nI'm running BaseX 8.5.2 on Windows 7."}}
{"actor":{"display_login":"ChristianGruen"}}