[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Questions related to UML diagram and mostly Contracts
As an obix neophyte, I did a thorough reread of WD39 (hence a lot of
edtorial nits). This is taken from OBIX-238 at https://issues.oasis-open.org/browse/OBIX-238 . IT WOULD BE MOST USEFUL FOR COMMENTS TO BE MADE IN THE JIRA ITEM RATHER THAN BY EMAIL - comments can easily be added, or one can create a proposed resolution and then comment on it. These are my issues as reflected in the UML diagram in WD39 Figure 4-1 page 17 Line 323: The UML diagram has a number of issues that need to be addressed to avoid misleading a UML knowledgeable reader.Is the correct use for use in an obix Obj "is" as a space-separated list of URIs? Seems that relative and absolute are OK; are fragments OK? Are there any uses of "contract" where only a single URI is required? Should this actually be "contracts" with a plural? Note that in the XSD PR03 (same as WD38): <xs:simpleType name="contract">So the UML is correct, but it doesn't work with space-separated lists of URIs. And apparently neither does the schema. Note the xs:list. Then in the schema list is defined as <xs:element name="list" type="List" substitutionGroup="obj"> Note the comment. But this differs from the xs:list used earlier. How is this treated in the schema? Is there a difference between an empty string "" and an empty list of URIs (list of contracts)? (3) Should a Sequence be used in the UML rather than a conformed string?Ties into number (1) - if a contract is xsd:anyURI then what seems to be required is a sequence (unordered list) of contracts. I don't understand the history. So what is "normalized semantics and structure"? does that phrase make sense? Does the URI reference something and the reference is a contract, and any contract may have multiple URIs? , but the object itself is a subclass equivalent to "anyURI" in the UML). The apparent conflict between an object as a template and a URI referencing an object needs to be clearly resolved in both the Quick Start and section 3.6.If a contract is a list of space-separated URIs, is this actually represented as the null string (of zero length)? Or is it a distinguished URI that INDICATES that it's not a valid contract [list]? I'm confusing the terminology, I'm afraid. This is confusing. Ties in with 1-7
--
William Cox Email: wtcox@CoxSoftwareArchitects.com Web: http://www.CoxSoftwareArchitects.com +1 862 485 3696 mobile
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]