OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

obix message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: Examples versus Contract Definitions


Well, you can check out the “code” style – but I think that is likely to be too subtle.

 

My take:

 

All examples are non-normative unless otherwise marked.

 

And mark the ones you want to be normative.

 

tc

 


"There are seldom good technological solutions to behavioral problems "

-- Ed Crowley


Toby Considine
TC9, Inc

OASIS TC Chair: oBIX & WS-Calendar

OASIS TC Editor: EMIX, Energy Interoperation

SGIP Smart Grid Architecture Committee

  

Email: Toby.Considine@gmail.com
Phone: (919)619-2104

http://www.tcnine.com
blog: http://www.NewDaedalus.com

 

From: Gemmill, Craig [mailto:craig.gemmill@tridium.com]
Sent: Monday, October 13, 2014 12:05 PM
To: Bertsch, Ludo; Toby.Considine@gmail.com; obix@lists.oasis-open.org
Subject: RE: Examples versus Contract Definitions

 

Toby, what do you think?

 

I see his point, that there are some cases which are truly an example of usage of the rule, and not normative (such as the Brady Bunch references).  But others are intended to be fully normative like the contract definitions.  What is the typical committee behavior in this case?  Both of these are using the defined style named “XML”.  You can see it clearly in 4.3.1.X, where we give the (normative) contract definition, followed a line later by a (presumably non-normative) example usage.

 

There is a style called “Code” in the document template that looks similar.  I could change one usage or the other to use the “Code” style.  I’m happy to add a new style, with a different background color or something, but I want to stick within the OASIS guidelines.

 

Or would this just be better as a PR comment that we can address then?

 

Thanks

Craig

 

 

From: obix@lists.oasis-open.org [mailto:obix@lists.oasis-open.org] On Behalf Of Bertsch, Ludo
Sent: Thursday, October 09, 2014 6:10 PM
To: Toby.Considine@gmail.com; obix@lists.oasis-open.org
Subject: [obix] Examples versus Contract Definitions

 

Re: WD34 clean document.

 

Section 1.6, Lines 340-341 indicate that grayed boxes such as on Line 342 are to be used to show "Examples".

 

Following that, the next three grayed boxes are in fact Examples: Lines 407-411, Lines 435-450, and Lines 476-491.

 

However, the grayed box in Section 4.2, Line 580 is not an Example but is a Contract Definition.

 

Following that, some of the grayed boxes are Examples, and some are Contract Definitions.

 

Using the same type of grayed box for both Examples and Contract Definitions can lead to a lack of clarity and is especially confusing when grayed boxes were noted to be used for Examples, but was not noted for Contract Definitions.

 

It is suggested that a different type of box be used for Examples versus Contract Definitions to clarify the difference between the two, and to aid new readers to understand the difference.  This will help to identify Examples (versus Contract Definitions) when not specially mentioned, but implied, such as in Section 4.2.7.6, Line 666.  This will also help with the understanding of the Lobby Contract Definition that we have discussed in Section 5.1, Lines 886-893.

 

Cheers,

Ludo

 

 

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]