[DFDL-WG] Fw: Scoping Rules with Schema default
Alan Powell
alan_powell at uk.ibm.com
Wed Oct 14 05:12:56 CDT 2009
Alan Powell
MP 211, IBM UK Labs, Hursley, Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM email: alan_powell at uk.ibm.com
Tel: +44 (0)1962 815073 Fax: +44 (0)1962 816898
----- Forwarded by Alan Powell/UK/IBM on 14/10/2009 11:12 -----
From:
Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:
Alan Powell/UK/IBM at IBMGB
Date:
13/10/2009 17:47
Subject:
Re: [DFDL-WG] Scoping Rules with Schema default
Looks correct.
My comments added plus fixes to a couple typos.
One item of substance.
Suppose schema 1 contains an element reference to an element declaration
in schema 2, which references a simple type defined in schema 3.
Then defaults for that type can come from 3 different places. Schema 3's
defaults have priority over schema 2's defaults, which have priority over
schema 1's defaults.
Local property annotations can similarly come from all 3 places and must
be non-overlapping/disjoint over all 3.
This 3-deep chain may go unnoticed.
On Tue, Oct 13, 2009 at 11:21 AM, Alan Powell <alan_powell at uk.ibm.com>
wrote:
I have written up the new rules for scoping in the attached document for
discussion on this weeks call.
I have also updated and extended Suman's examples. Note that he dfdl
properties aren't necessarily correct for the construct and are only used
to indicate where they came from. I have not yet extended to multiple
schema.
Alan Powell
MP 211, IBM UK Labs, Hursley, Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM email: alan_powell at uk.ibm.com
Tel: +44 (0)1962 815073 Fax: +44 (0)1962 816898
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
--
dfdl-wg mailing list
dfdl-wg at ogf.org
http://www.ogf.org/mailman/listinfo/dfdl-wg
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20091014/b4b224e3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogf-dfdl-new-scoping-rules-with-default-4.doc
Type: application/octet-stream
Size: 56832 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20091014/b4b224e3/attachment-0001.obj
More information about the dfdl-wg
mailing list