[DDI-SRG] DDI 1/2.x DTD / XSchema discrepency

Wendy Thomas wlt at pop.umn.edu
Mon Jul 14 09:23:43 EDT 2008


Pascal

The XScheme are in correct if they do not contain both. The xml-lang was a 
mistake instroduced in one of the revisions where xml:lang was changed to 
xml-lang. The following revision corrected this but since we were 
retaining backward compatability they left the xml-lang in also.

Wendy


On Mon, 14 Jul 2008, Pascal Heus wrote:

> All:
> I recently noticed that the DTD and XSchema of the DDI 1.2.2 and 1.3
> specifications published under the official URL have a small
> discrepency:  in the DTD, the <codeBook> element definition  contains
> both and an xml-lang and an xml:lang attributes. This however is not
> carried over in the XSchema definition where the xml:lang does not
> appear. See for example:
> http://www.icpsr.umich.edu/DDI/Version1-2-2.dtd
> http://www.icpsr.umich.edu/DDI/Version1-2-2.xsd
> This actually caused the DDI produced by the latest version of the
> Nesstar Publisher (not yet released) to produce DDI-XML that did not
> properly validate (though being correct). I have notified the developers
> and they have switched to the xml-lang attribute. This is however
> something we may want to correct in the published schemas.
> Also checked 1.02 and in that one both xml-lang and xml:lang are missing
> from the schema For 1.01 and 1.0, only the xml:lang exists in the DTD
> and is missing from the schemas.
> The 2.0 and 2.1 xsd files do not have this problem.
> How should we proceed to have these issues fixed in both CVS and on
> under the official http://www.icpsr.umich.edu/DDI/* URL's? Can we simply
> make the change or do we need to file an official bug?
> best
> *P
> _______________________________________________
> 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


More information about the DDI-SRG mailing list