This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5700 - [UPD] Updating expressions should not raise XPST0005
Summary: [UPD] Updating expressions should not raise XPST0005
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on: 5646
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-19 18:41 UTC by Don Chamberlin
Modified: 2008-06-03 17:39 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2008-05-19 18:41:04 UTC
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.
Comment 1 Don Chamberlin 2008-06-03 17:39:17 UTC
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.)