Fw: Scoping Rules with Schema default

Alan Powell MP 211, IBM UK Labs, Hursley, Winchester, SO21 2JN, England Notes Id: Alan Powell/UK/IBM email: alan_powell@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@gmail.com> To: Alan Powell/UK/IBM@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@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@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@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
participants (1)
-
Alan Powell