This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
During the analysis phase, err:XPST0005 is raised if any expression other than () or data() has a static type of empty-sequence(). But all updating expressions return empty sequences, and we do not want all updating expressions to be static errors. In the Update spec, Section 4 (Static Typing Feature) should state that err:XPST0005 does not apply to updating expressions.
The Query working group discussed this bug report on 3 June 2008 and agreed with the suggested change. The Update spec will specify that updating expressions, although they return empty sequences, are not static errors. Don Chamberlin (for the Query Working Group.)