[DDI-SRG] DataSet
Joachim Wackerow
joachim.wackerow at gesis.org
Wed Nov 21 03:56:38 EST 2007
The lines below seem correct to me. Anyway something seems to be wrong
with DataSet. Hopefully Arofan or J have time to look into that.
For the testing of the development of the converters we really need
DataSet.
Achim
Wendy Thomas wrote:
> PhysicalDataProduct does not import any of the substition groups and
> they all work. I think the problem lies in the header information of
> dataset.xsd. Here is the difference I see in the header of dataset when
> compared to say ncube_recordlayout.xsd.
>
> DATASET
>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="ddi:dataset:3_0_CR2" xmlns:r="ddi:reusable:3_0_CR2"
> xmlns:p="ddi:physicaldataproduct:3_0_CR2"
> targetNamespace="ddi:dataset:3_0_CR2" elementFormDefault="qualified"
> attributeFormDefault="unqualified">
> <xs:import namespace="ddi:reusable:3_0_CR2"
> schemaLocation="reusable.xsd"/>
> <xs:import namespace="ddi:physicaldataproduct:3_0_CR2"
> schemaLocation="physicaldataproduct.xsd"/>
> <xs:element name="DataSet" type="DataSetType"
> substitutionGroup="p:BaseRecordLayout"/>
> <xs:complexType name="DataSetType">
> <xs:complexContent>
> <xs:extension base="p:BaseRecordLayoutType">
>
>
> NCUBE_RECORDLAYOUT
>
> <!-- DDI 3.0 Candidate Release June 22, 2007 -->
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns="ddi:physicaldataproduct/ncube/normal:3_0_CR2"
> xmlns:r="ddi:reusable:3_0_CR2" xmlns:p="ddi:physicaldataproduct:3_0_CR2"
> targetNamespace="ddi:physicaldataproduct/ncube/normal:3_0_CR2"
> elementFormDefault="qualified">
> <xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="xml.xsd"/>
> <xs:import namespace="ddi:reusable:3_0_CR2"
> schemaLocation="reusable.xsd"/>
> <xs:import namespace="ddi:physicaldataproduct:3_0_CR2"
> schemaLocation="physicaldataproduct.xsd"/>
> <!-- COMMON RECORD LAYOUT - CUBED - MODULE 1 -->
> <xs:element name="RecordLayout" type="RecordLayoutType"
> substitutionGroup="p:BaseRecordLayout"/>
> <xs:complexType name="RecordLayoutType">
>
>
> Note that in dataset the targetnamespace in the second line is
> targetNamespace="ddi:dataset:3_0_CR2"
>
> whereas in ncube its
> targetNamespace="ddi:physicaldataproduct/ncube/normal:3_0_CR2"
>
> then the element declaration for dataset is
> <xs:element name="DataSet" type="DataSetType"
> substitutionGroup="p:BaseRecordLayout"/>
> <xs:complexType name="DataSetType">
> <xs:complexContent>
> <xs:extension base="p:BaseRecordLayoutType">
>
> Whereas in ncube its
> <xs:element name="RecordLayout" type="RecordLayoutType"
> substitutionGroup="p:BaseRecordLayout"/>
> <xs:complexType name="RecordLayoutType">
>
>
> All the other substitution groups look like the ncube content. Could
> this be where the problem lies?
>
> Wendy
>
>
> On Tue, 20 Nov 2007, Joachim Wackerow wrote:
>
>> I just noticed, that the inline DataSet is still not working. Probably
>> the import of the module DataSet is missing in physicaldataproduct, just
>> the namespace is mentioned.
>>
>> Or do I understand something wrong?
>>
>> Achim
>> _______________________________________________
>> DDI-SRG mailing list
>> DDI-SRG at icpsr.umich.edu
>> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>>
>
> 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
--
GESIS - German Social Science Infrastructure Services
http://www.gesis.org/en/
More information about the DDI-SRG
mailing list