XUDY0021 has odd error parameter

Bug #867006 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Matthias Brantner

Bug Description

The only use of this error (node_items.cpp:2723) passes the attribute name as an error parameter. It's not clear, however, how this should be integrated into an error message. The spec says:

It is a dynamic error if the XDM instance that would result from applying all the updates in a query violates any constraint specified in [XQuery 1.0 and XPath 2.0 Data Model]. In this case, none of the updates in the query are made effective.

I have distilled that down to "updates violate constraint", but it's not clear how an attribute name should be used for that. Please help formulate either a better error message or a better parameter to pass.

Related branches

Changed in zorba:
assignee: Markos Zaharioudakis (markos-za) → Matthias Brantner (matthias-brantner)
Chris Hillery (ceejatec)
tags: removed: simple-store
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.