[DFDL-WG] Non-format annotation scoping rules.
Alan Powell
alan_powell at uk.ibm.com
Fri Jun 5 06:07:05 CDT 2009
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 at uk.ibm.com
Tel: +44 (0)1962 815073 Fax: +44 (0)1962 816898
From:
Steve Hanson/UK/IBM
To:
Alan Powell/UK/IBM at IBMGB
Cc:
dfdl-wg at 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 at uk.ibm.com
Phone (+44)/(0) 1962-815848
Alan Powell/UK/IBM at IBMGB
Sent by: dfdl-wg-bounces at ogf.org
29/05/2009 15:57
To
dfdl-wg at 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 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
[attachment "ogf-dfdl-annotation-scoping-v1.doc" deleted by Steve
Hanson/UK/IBM] --
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/20090605/9fbff731/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogf-dfdl-annotation-scoping-v2.doc
Type: application/octet-stream
Size: 58368 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20090605/9fbff731/attachment-0001.obj
More information about the dfdl-wg
mailing list