This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In id-insert-expr-084/085 the outer return clause specifies namespace-uri-for-prefix("myco", $newemps/myco:employee[1]/dependents[1]) Since for these case, dependents is added via insert node <dependents/> before $e/myco:employee[1] (or after in 085), this should be changed to namespace-uri-for-prefix("myco", $newemps/dependents[1]) (dropping the myco:employee[1]) This seems to be a copy/paste error In a similar manner, id-insert-expr-086 specifies the wrong insertion target: insert node attribute hisco:salaried {"true"} into $e/myco:employees[1] it should be insert node attribute hisco:salaried {"true"} into $e/myco:employee[1]
I've made the changes that you suggest for id-insert-expr-084/085. I agree that id-insert-expr-086 specifies the wrong insertion target. I've fixed this with: insert node attribute hisco:salaried {"true"} into $e Please close this bug report if you agree with this resolution.