This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The test function-declaration-023 is catalogued as expecting error XQST0045. It does indeed contain that error; but it also contains an error XPST0017, a call to a non-existent function. Where there is more than one error it's undefined which one is returned.
Added new error as the accepted error.