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 6870 - disallow raising an error in attribute-errors-q14
Summary: disallow raising an error in attribute-errors-q14
Status: REOPENED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: John Snelson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 15:30 UTC by Andrew Eisenberg
Modified: 2011-07-14 10:31 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2009-05-07 15:30:05 UTC
Test case attribute-errors-q14 contains:

copy $in := $input-context/works/employee[1]
modify (
  replace node $in/@name with attribute {"salary"} {"10"},
  replace node $in/@gender with attribute {"name"} {"Blodwyn Jones"}
)
return $in


As this results in an XDM instance that does not violate any constraints, I believe that it should not allow err:XUDY0021 as an expected result.
Comment 1 John Snelson 2009-05-07 16:17:50 UTC
Yes, I think you're right.
Comment 2 John Snelson 2009-05-12 16:26:52 UTC
I've fixed that test now.
Comment 3 Tim Mills 2011-07-14 10:31:43 UTC
The catalog entry for this test still claims that the scenario is "runtime-error".  It should be "standard".