W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2004

Late binding

From: Michael Kay <mhk@mhk.me.uk>
Date: Tue, 5 Oct 2004 23:30:38 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <E1CExq4-0001FS-Cp@frink.w3.org>

I was looking again at the sentence in 4.2.1:

 During schema construction, implementations must retain .QName. values for
such references, in case an appropriately-named component becomes available
to discharge the reference by the time it is actually needed

It seems implementations have to retain much more than QName values to do
late binding of schema components. For example, until you know the type of
an element or attribute declaration you don't know whether its
default/fixed/enumeration values are namespace-sensitive (QNames or
notations), so you have to keep not only their lexical representation but
also their entire namespace context! This part of the spec seems to leave an
awful lot unsaid...

Michael Kay
http://www.saxonica.com/
Received on Tuesday, 5 October 2004 22:31:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC