Re: [DFDL-WG] Non-format annotation scoping rules.

Attached is updated proposal which incorporates Steve's comments.. The main issue to resolve is given that a variable can only be set once should a setVariable for the same variable on an element or element reference override the setVariable on a simpleType of element declaration or is it an error to have a setVariable for the same variable? Other points of interest Non-format annotations cannot be put in scope on a complex type. 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 From: Steve Hanson/UK/IBM To: Alan Powell/UK/IBM@IBMGB Cc: dfdl-wg@ogf.org Date: 03/06/2009 10:20 Subject: Re: [DFDL-WG] Non-format annotation scoping rules. Alan - looks sensible - a couple of comments in the updated doc below: [attachment "ogf-dfdl-annotation-scoping-v1.doc" deleted by Alan Powell/UK/IBM] Regards Steve Hanson Programming Model Architect WebSphere Message Brokers Hursley, UK Internet: smh@uk.ibm.com Phone (+44)/(0) 1962-815848 Alan Powell/UK/IBM@IBMGB Sent by: dfdl-wg-bounces@ogf.org 29/05/2009 15:57 To dfdl-wg@ogf.org cc Subject [DFDL-WG] Non-format annotation scoping rules. Attached are the proposed rules for non-format annotation scoping. As part of the exercise I had to clarify which annotations are permitted on each schema object so please review that table. Of particular interest are 1. Annotations put in scope on a xs:complexType 2. Assert/Discriminator on xs:sequence, xs:choice and xs:any 3. Hidden on an empty sequence only 4. DefineVariable on schema and sequence only to define the scope of the variable. 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 [attachment "ogf-dfdl-annotation-scoping-v1.doc" deleted by Steve Hanson/UK/IBM] -- 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