[Bug 9600] [XQuery 1.1] Importing schema with a simple type conflicting with a function declaration.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9600





--- Comment #5 from Jonathan Robie <jonathan.robie@redhat.com>  2010-05-11 16:24:48 ---
I propose we add an error to the section on constructors:

3.14.5 Constructor Functions

For every atomic type in the in-scope schema types (except xs:NOTATION
and xs:anyAtomicType, which are not instantiable), a constructor
function is implicitly defined.

<add>
If a constructor function has the same name and arity as an existing
function in the function signatures, a static error [err:####] is
raised.
</add>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 11 May 2010 16:24:49 UTC