Late binding

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