[DDI-SRG] Proprietary Record Layout

Pascal Heus pascal.heus at gmail.com
Wed Jan 30 09:31:27 EST 2008


Arofan:
- There is a typo "maxOcurs" for r:Description
- the Software element reference should be to r:Software
- You need to rename the "element" DataItemsType and DataItemType into 
DataItems and DataItem
- ProprietaryProperty makes an incorrect reference to 
ProprietaryDescriptorType (instead of ProprietaryPropertyType)
- the <xs:sequence> definition  in the ProprietaryRecordLayoutType must 
be wrapped by
        <xs:complexContent>
            <xs:extension base="p:BaseRecordLayoutType">
               ... sequence....
            </xs:extension>
        </xs:complexContent>
attached version with above correction

I have not made the following changes:

(1) Per achim's email from 1/18 on data types, under DataItem:
(a) DataType should be ProprietaryDataType
(b) ProprietaryOutputFormat is missing
(this also means we may want to rename DefaultNumerciDataType into 
DefaultNumericProprietaryDataType, same for Text and DateTime -- though 
this gets quite long...)

(2) I would suggest to simplify ProprietaryPropertyType into a xs:string 
element with a mandatory @name attribute (instead of using two children 
which will unnecessarily add to the XML size)
i.e.
<ProprietaryProperty><PropertyName>format</PropertyName><PropertyValue>F8.2</PropertyValue></ProprietaryProperty> 

becomes
<ProprietaryProperty name="format">F8.2</ProprietaryProperty>
(repeating this hundreds of times make a serious difference....)

Also:
- Can you document CodeDataAsNumeric and CodeDataAsText?
- Can you provide a use case / content example for these two items as 
well as  DataItemAddress?

many thanks
*P

A. G. wrote:
> Folks:
>  
> Here is the completed sub-module for Proprietary Record Layout.
> Note that the XML instance would have to reference the sub-module 
> layout, because it is a beta:
> xmlns:pr="ddi:physicaldataproduct/proprietary:3_0_Beta" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xsi:schemaLocation="ddi:physicaldataproduct/proprietary:3_0_Beta 
> ../XMLSchemas/Proprietry.xsd" 
> would need to go in the root-level element (along with other xmlns 
> declarations).
>  
> Cheers,
>  
> Arofan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.icpsr.umich.edu/pipermail/ddi-srg/attachments/20080130/c5f31e70/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proprietary_recordlayout.xsd
Type: text/xml
Size: 5528 bytes
Desc: not available
Url : http://www.icpsr.umich.edu/pipermail/ddi-srg/attachments/20080130/c5f31e70/attachment-0001.xml 


More information about the DDI-SRG mailing list