<div dir="ltr">Re: Unable to validate XML against the DDI 2.5 schema <div><br></div><div>Hi, Domingo.</div><div><br></div><div>Yes, there is a problem with ICPSR&#39;s DDI 2.5 exports, which do not validate because there are a couple of errors in the document header (the &quot;codeBook&quot; line).</div><div>We are aware of this bug and are working to fix it.</div><div><br></div><div>Until then, in order to use ICPSR&#39;s DDI 2.5 exports please replace the current header: </div><div><span style="font-size:13.33px">&lt;codeBook xsi:schemaLocation=&quot;</span><a href="http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" target="_blank" style="font-size:13.33px">http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd</a><span style="font-size:13.33px">&quot; xmlns=&quot;</span><a href="http://purl.org/dc/elements/1.1/" target="_blank" style="font-size:13.33px">http://purl.org/dc/elements/1.1/</a><span style="font-size:13.33px">&quot; xmlns=&quot;ddi:codebook:2_5&quot; xmlns=&quot;</span><a href="http://purl.org/dc/terms/" target="_blank" style="font-size:13.33px">http://purl.org/dc/terms/</a><span style="font-size:13.33px">&quot; xmlxsi=&quot;</span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" style="font-size:13.33px">http://www.w3.org/2001/XMLSchema-instance</a><span style="font-size:13.33px">&quot;&gt;</span> </div><div><br></div><div>with this: </div><div><span style="font-size:13.33px">&lt;codeBook xmlns=&quot;ddi:codebook:2_5&quot; xmlns:xsi=&quot;</span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" style="font-size:13.33px">http://www.w3.org/2001/XMLSchema-instance</a><span style="font-size:13.33px">&quot; xsi:schemaLocation=&quot;ddi:</span><span style="font-size:13.33px">codebook:2_5 </span><a href="http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" target="_blank" style="font-size:13.33px">http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd</a><span style="font-size:13.33px">&quot; xmlns:dc=&quot;</span><a href="http://purl.org/dc/elements/1.1/" target="_blank" style="font-size:13.33px">http://purl.org/dc/elements/1.1/</a><span style="font-size:13.33px">&quot; xmlns:dcterms=&quot;</span><a href="http://purl.org/dc/terms/" target="_blank" style="font-size:13.33px">http://purl.org/dc/terms/</a><span style="font-size:13.33px">&quot;&gt;</span> </div><div><br></div><div>Thank you, <br>Sanda.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Sanda Ionescu</div><div>ICPSR</div><div>University of Michigan</div><div>Ann Arbor, MI</div><div>Phone: 734-615-2932</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 4, 2019 at 12:01 PM &lt;<a href="mailto:ddi-users-request@icpsr.umich.edu">ddi-users-request@icpsr.umich.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send DDI-users mailing list submissions to<br>
        <a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:ddi-users-request@icpsr.umich.edu" target="_blank">ddi-users-request@icpsr.umich.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ddi-users-owner@icpsr.umich.edu" target="_blank">ddi-users-owner@icpsr.umich.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of DDI-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Recommended use of TopcClas in DDI-C 2.1 (Gautier, Julian)<br>
   2. Re: Recommended use of TopcClas in DDI-C 2.1 (Wendy Thomas)<br>
   3. Unable to validate XML against the DDI 2.5 schema<br>
      (UniData - Bicocca Data Archive)<br>
   4. Re: Unable to validate XML against the DDI 2.5 schema<br>
      (Wendy Thomas)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 3 Sep 2019 12:15:32 -0400<br>
From: &quot;Gautier, Julian&quot; &lt;<a href="mailto:juliangautier@g.harvard.edu" target="_blank">juliangautier@g.harvard.edu</a>&gt;<br>
Subject: Re: [DDI-users] Recommended use of TopcClas in DDI-C 2.1<br>
To: Data Documentation Initiative Users Group<br>
        &lt;<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>&gt;<br>
Cc: Janet McDougall &lt;<a href="mailto:janet.mcdougall@anu.edu.au" target="_blank">janet.mcdougall@anu.edu.au</a>&gt;,       Steven McEachern<br>
        &lt;<a href="mailto:steven.mceachern@anu.edu.au" target="_blank">steven.mceachern@anu.edu.au</a>&gt;,  &quot;DDI Structural Reform Working Group.&quot;<br>
        &lt;<a href="mailto:ddi-srg@icpsr.umich.edu" target="_blank">ddi-srg@icpsr.umich.edu</a>&gt;,      Marina McGale &lt;<a href="mailto:Marina.McGale@anu.edu.au" target="_blank">Marina.McGale@anu.edu.au</a>&gt;<br>
Message-ID:<br>
        &lt;CANK3XXzjTESSqieG1O66Ta6=<a href="mailto:nD5rEi3mYKKwAKDuwFYi7XPPkQ@mail.gmail.com" target="_blank">nD5rEi3mYKKwAKDuwFYi7XPPkQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi everyone,<br>
<br>
Would a concern here be that repositories are already using that attribute<br>
to point to the vocab URL itself, and using it for the PURL of the vocab<br>
term would mean that it would then be used to store two types of<br>
information? I know Dataverse is using it for the vocab URL. How would<br>
other systems know when the vocabURI attribute points to the vocab and when<br>
it points to the vocab term?<br>
<br>
Would an additional, optional attribute for the vocab term URI be possible?<br>
<br>
All best,<br>
Julian<br>
<br>
-- <br>
Julian Gautier<br>
Product Research Specialist, IQSS &lt;<a href="http://www.iq.harvard.edu/" rel="noreferrer" target="_blank">http://www.iq.harvard.edu/</a>&gt;<br>
?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190903/672e89eb/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190903/672e89eb/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 3 Sep 2019 12:16:48 -0500<br>
From: Wendy Thomas &lt;<a href="mailto:wlt@umn.edu" target="_blank">wlt@umn.edu</a>&gt;<br>
Subject: Re: [DDI-users] Recommended use of TopcClas in DDI-C 2.1<br>
To: Data Documentation Initiative Users Group<br>
        &lt;<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>&gt;<br>
Cc: Janet McDougall &lt;<a href="mailto:janet.mcdougall@anu.edu.au" target="_blank">janet.mcdougall@anu.edu.au</a>&gt;,       Steven McEachern<br>
        &lt;<a href="mailto:steven.mceachern@anu.edu.au" target="_blank">steven.mceachern@anu.edu.au</a>&gt;,  &quot;DDI Structural Reform Working Group.&quot;<br>
        &lt;<a href="mailto:ddi-srg@icpsr.umich.edu" target="_blank">ddi-srg@icpsr.umich.edu</a>&gt;,      Marina McGale &lt;<a href="mailto:Marina.McGale@anu.edu.au" target="_blank">Marina.McGale@anu.edu.au</a>&gt;<br>
Message-ID:<br>
        &lt;CAOrpSNoab2YXypZp3_iadR=<a href="mailto:E8BkG-STt0ZkGueU2jgvyy7jjLg@mail.gmail.com" target="_blank">E8BkG-STt0ZkGueU2jgvyy7jjLg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Good point, particularly the fact of DataVerse use. I think adding a<br>
specific URI in addition to the vocabURI would be the most appropriate.<br>
Thanks Julian!<br>
<br>
Wendy<br>
<br>
On Tue, Sep 3, 2019 at 11:17 AM Gautier, Julian &lt;<a href="mailto:juliangautier@g.harvard.edu" target="_blank">juliangautier@g.harvard.edu</a>&gt;<br>
wrote:<br>
<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; Would a concern here be that repositories are already using that attribute<br>
&gt; to point to the vocab URL itself, and using it for the PURL of the vocab<br>
&gt; term would mean that it would then be used to store two types of<br>
&gt; information? I know Dataverse is using it for the vocab URL. How would<br>
&gt; other systems know when the vocabURI attribute points to the vocab and when<br>
&gt; it points to the vocab term?<br>
&gt;<br>
&gt; Would an additional, optional attribute for the vocab term URI be possible?<br>
&gt;<br>
&gt; All best,<br>
&gt; Julian<br>
&gt;<br>
&gt; --<br>
&gt; Julian Gautier<br>
&gt; Product Research Specialist, IQSS &lt;<a href="http://www.iq.harvard.edu/" rel="noreferrer" target="_blank">http://www.iq.harvard.edu/</a>&gt;<br>
&gt; ?<br>
&gt; _______________________________________________<br>
&gt; DDI-users mailing list<br>
&gt; <a href="mailto:DDI-users@icpsr.umich.edu" target="_blank">DDI-users@icpsr.umich.edu</a><br>
&gt; <a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
&gt;<br>
<br>
<br>
-- <br>
Wendy L. Thomas                              Phone: +1 612.624.4389<br>
Data Access Core Director                 Fax:   +1 612.626.8375<br>
Minnesota Population Center             Email: <a href="mailto:wlt@umn.edu" target="_blank">wlt@umn.edu</a><br>
University of Minnesota<br>
50 Willey Hall<br>
225 19th Avenue South<br>
Minneapolis, MN 55455<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190903/9e443996/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190903/9e443996/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 04 Sep 2019 13:00:19 +0200<br>
From: &quot;UniData - Bicocca Data Archive&quot; &lt;<a href="mailto:unidata@unimib.it" target="_blank">unidata@unimib.it</a>&gt;<br>
Subject: [DDI-users] Unable to validate XML against the DDI 2.5 schema<br>
To: &quot;&quot; &lt;<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>&gt;<br>
Message-ID: &lt;<a href="mailto:3e1d3160-514d-4902-ac4b-8349a4c2b2eb@getmailbird.com" target="_blank">3e1d3160-514d-4902-ac4b-8349a4c2b2eb@getmailbird.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear DDI users,<br>
<br>
since we started working again after the summer break (this week) we can no longer validate the DDI 2.5 XML files produced through our archival system. We thought it was a problem with our DDI files, but the same error occurs? trying to validate the example file on the DDI Alliance website (<a href="https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245" rel="noreferrer" target="_blank">https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245</a>). The error is as follows:<br>
<br>
schema_reference.4: Failed to read schema document &#39;<a href="http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" rel="noreferrer" target="_blank">http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd</a>&#39;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.<br>
<br>
Notepad++ and <a href="http://xmlvalidation.com" rel="noreferrer" target="_blank">xmlvalidation.com</a> were used for validation.<br>
<br>
Do any of you have the same problem?<br>
<br>
Best regards,<br>
Domingo Scisci<br>
<br>
--?<br>
<br>
Domingo Scisci (PhD)<br>
<br>
Centro Interdipartimentale UniData<br>
Universit? degli Studi di Milano-Bicocca<br>
Via Bicocca degli Arcimboldi 8<br>
20126 - Milano<br>
Phone: (+39) 02 6448 7513<br>
Web:?<a href="http://www.unidata.unimib.it" rel="noreferrer" target="_blank">www.unidata.unimib.it</a> [<a href="http://www.unidata.unimib.it/" rel="noreferrer" target="_blank">http://www.unidata.unimib.it/</a>]<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190904/19059370/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190904/19059370/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 4 Sep 2019 08:21:04 -0500<br>
From: Wendy Thomas &lt;<a href="mailto:wlt@umn.edu" target="_blank">wlt@umn.edu</a>&gt;<br>
Subject: Re: [DDI-users] Unable to validate XML against the DDI 2.5<br>
        schema<br>
To: Data Documentation Initiative Users Group<br>
        &lt;<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAOrpSNqaMoQVjLOszUtRCCVPCJAK1D21Fd96emjz4noWzw7vzA@mail.gmail.com" target="_blank">CAOrpSNqaMoQVjLOszUtRCCVPCJAK1D21Fd96emjz4noWzw7vzA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear Domingo<br>
<br>
I&#39;ll check this out and get back to you.<br>
<br>
Wendy<br>
<br>
On Wed, Sep 4, 2019, 06:01 UniData - Bicocca Data Archive &lt;<a href="mailto:unidata@unimib.it" target="_blank">unidata@unimib.it</a>&gt;<br>
wrote:<br>
<br>
&gt; Dear DDI users,<br>
&gt;<br>
&gt; since we started working again after the summer break (this week) we can<br>
&gt; no longer validate the DDI 2.5 XML files produced through our archival<br>
&gt; system. We thought it was a problem with our DDI files, but the same error<br>
&gt; occurs  trying to validate the example file on the DDI Alliance website (<br>
&gt; <a href="https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245" rel="noreferrer" target="_blank">https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245</a>). The error<br>
&gt; is as follows:<br>
&gt;<br>
&gt; *schema_reference.4: Failed to read schema document<br>
&gt; &#39;<a href="http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" rel="noreferrer" target="_blank">http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd</a><br>
&gt; &lt;<a href="http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd" rel="noreferrer" target="_blank">http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd</a>&gt;&#39;,<br>
&gt; because 1) could not find the document; 2) the document could not be read;<br>
&gt; 3) the root element of the document is not &lt;xsd:schema&gt;.*<br>
&gt;<br>
&gt; Notepad++ and <a href="http://xmlvalidation.com" rel="noreferrer" target="_blank">xmlvalidation.com</a> were used for validation.<br>
&gt;<br>
&gt; Do any of you have the same problem?<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Domingo Scisci<br>
&gt;<br>
&gt; --<br>
&gt; Domingo Scisci (PhD)<br>
&gt;<br>
&gt; Centro Interdipartimentale UniData<br>
&gt; Universit? degli Studi di Milano-Bicocca<br>
&gt; Via Bicocca degli Arcimboldi 8<br>
&gt; 20126 - Milano<br>
&gt; Phone: (+39) 02 6448 7513<br>
&gt; Web: <a href="http://www.unidata.unimib.it" rel="noreferrer" target="_blank">www.unidata.unimib.it</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; DDI-users mailing list<br>
&gt; <a href="mailto:DDI-users@icpsr.umich.edu" target="_blank">DDI-users@icpsr.umich.edu</a><br>
&gt; <a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190904/439fcc03/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20190904/439fcc03/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
DDI-users mailing list<br>
<a href="mailto:DDI-users@icpsr.umich.edu" target="_blank">DDI-users@icpsr.umich.edu</a><br>
<a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" rel="noreferrer" target="_blank">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
<br>
<br>
End of DDI-users Digest, Vol 166, Issue 4<br>
*****************************************<br>
</blockquote></div>