[DDI-SRG] another HTML burp

Wendy Thomas wlt at pop.umn.edu
Fri Feb 22 11:09:32 EST 2008


The attributeGroup listed below ...our old friend PRIVACY... shows up in 
the html as two separate simple types. This may just be a difference in 
schema writing styles but it looked odd to me.

PrivacyCodeType: Element's privacy/security


RecommendedPrivacyCodeType: Enumeration of recommended privacy type
.	Restricts: xs:string
 	o	Code: public -
 	o	Code: restricted -
 	o	Code: private -





       <xs:attributeGroup name="PRIVACY">
          <xs:attribute name="privacy" type="PrivacyCodeType" 
use="optional"/>
       </xs:attributeGroup>
       <xs:simpleType name="PrivacyCodeType">
          <xs:annotation>
             <xs:documentation>Element's 
privacy/security</xs:documentation>
          </xs:annotation>
          <xs:union memberTypes="xs:string RecommendedPrivacyCodeType"/>
       </xs:simpleType>
       <xs:simpleType name="RecommendedPrivacyCodeType">
          <xs:annotation>
             <xs:documentation>Enumeration of recommended  privacy 
type</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
             <xs:enumeration value="public"/>
             <xs:enumeration value="restricted"/>
             <xs:enumeration value="private"/>
          </xs:restriction>
       </xs:simpleType>


Wendy L. Thomas                          Phone: +1 612.624.4389
Data Access Core Director		 Fax:   +1 612.626.8375
Minnesota Population Center              Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455


More information about the DDI-SRG mailing list