[DDI-users] DDI schema 2.1

Winona Salesky wmeltzer at Princeton.EDU
Fri Jan 13 10:15:45 EST 2006


Hi,

Is anybody using the DDI schema 2.1? We are moving our files over from DTD
to schema and I have run into a very odd validation error. In our variable
description we frequently use <valrng>, according to the example in the tag
library we are using this correctly:

 

<valrng><range min="1" max="3" /></valrng>

 

However, the above example doesn't validate, because <range> and <item> are
both mandatory tags in <valrng>. In order to make the above validate I would
need to include an <item> tag:

 

<valrng><range min="1" max="3" /><item VALUE="1"/></valrng>
 
This second example validates just fine, but seems redundant, what is the
point of having a range if you need to specify the individual values. Is
this a mistake in the schema? Am I misusing these tags?
 
Any help is appreciated.
Thanks,
 
-Winona Salesky
Applications Delivery Specialist
wmeltzer at princeton.edu
CPANDA [www.cpanda.org]
Princeton University Library
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.icpsr.umich.edu/pipermail/ddi-users/attachments/20060113/5aa64d60/attachment.html


More information about the DDI-users mailing list