This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
Yes, I think you're right.
I've fixed that test now.
The catalog entry for this test still claims that the scenario is "runtime-error". It should be "standard".