W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2010

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 May 2010 16:24:48 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OBsGG-0006UX-Gh@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:42 UTC