[DFDL-WG] Fw: Fw: Scoping Rules with Schema default

Steve Hanson smh at uk.ibm.com
Wed Oct 14 05:44:35 CDT 2009


Mike - the chain can be arbitrarily deep because of simple type 
inheritance.   Any DFDL processor / editor will have to be clever enough 
to keep track of the xsd where a given property value was sourced from.

Alan - some more comments, to get wording clear and ensure that all cases 
are covered.



Regards

Steve Hanson
Programming Model Architect, WebSphere Message  Brokers,
OGF DFDL WG Co-Chair,
Hursley, UK,
Internet: smh at uk.ibm.com,
Phone (+44)/(0) 1962-815848
----- Forwarded by Steve Hanson/UK/IBM on 14/10/2009 11:41 -----

From:
Alan Powell/UK/IBM at IBMGB
To:
dfdl-wg at ogf.org
Date:
14/10/2009 11:13
Subject:
[DFDL-WG] Fw:  Scoping Rules with Schema default
Sent by:
dfdl-wg-bounces at ogf.org





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 





--
  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/3aa5c16b/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/3aa5c16b/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogf-dfdl-new-scoping-rules-with-default-4.doc
Type: application/octet-stream
Size: 58368 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20091014/3aa5c16b/attachment-0003.obj 


More information about the dfdl-wg mailing list