[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Question about declaration of Obj in obix.xsd, and UML presentation
Toby, Craig, and all -- Opinions wanted on the xs:any representation. My recommendation is in the attached PNG (that there be no type specified for "any"). This question relates to the emboldened text in the complexType definition below. As I read the XML Schema Recommendations, ##other refers to any namespace OTHER THAN THE TARGETNAMESPACE, so the embedded well-formed XML cannot be of the obix namespace. Any well-formed XML that is from a namespace other than the target namespace of the type being defined (unqualified elements are not allowed)I'm not certain how to express this in UML, however. An Obj has any number of included things of type Obj as well as any number of "any" that are well-formed but from outside the obix namespace. My attempt in the attached PNG is to add a UML attribute "any" of no type, cardinality 0..*. See attached PNG and look in Obj. I could also argue that in UML it should be any: string, as the well-formed XML will be representable as a string. The diagram shows no type. I've also made all the integer types "int" - next email will address the integral types question in more detail. <xs:complexType name="Obj">Thanks! bill --
William Cox Email: wtcox@CoxSoftwareArchitects.com Web: http://www.CoxSoftwareArchitects.com +1 862 485 3696 mobile
|
Attachment:
Obj and Subclasses wd36.png
Description: PNG image
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]