<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi all,<div>thank you for your feedback. After several checks I can confirm that it's definitely a software related problem: I can validate my DDI against the online version of the schema with XMLSpy (trial edition), and locally with any software.</div><div>Thank you again for your help!</div><div>Domingo</div><div><br><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Il 05/09/2019 14:56:52, Sebastian Karcher &lt;skarcher@maxwell.syr.edu&gt; ha scritto:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">Hi Domingo,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">The schema as written assumes that the imported schemas (lines 19-21) are present locally. You can either write absolute URLs in there like so:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-HT" style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">&lt;xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="https://www.w3.org/2001/xml.xsd"/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-HT" style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">&nbsp;&nbsp; &lt;xs:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="https://ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/ddi-xhtml11.xsd"/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-HT" style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">&nbsp;&nbsp; &lt;xs:import namespace="http://purl.org/dc/terms/" schemaLocation="https://www.dublincore.org/schemas/xmls/qdc/dcterms.xsd"/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-HT" style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"></span><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">Or download and add the three referenced files to your local schema location which will of course be much faster if you do this a lot (I’ve never validated XML
 using Notepad++ but in emacs/nxml you’d just have the schema in a folder and would add the other schemas to the same folder.)
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">The ICPSR sample DDI then validates successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">Hope that helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D">Sebastian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif;color: #1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size: 11.0pt;font-family: &quot;Calibri&quot;,sans-serif"> ddi-users-bounces@icpsr.umich.edu &lt;ddi-users-bounces@icpsr.umich.edu&gt;
<b>On Behalf Of </b>UniData - Bicocca Data Archive<br>
<b>Sent:</b> Wednesday, September 4, 2019 7:00 AM<br>
<b>To:</b> ddi-users@icpsr.umich.edu<br>
<b>Subject:</b> [DDI-users] Unable to validate XML against the DDI 2.5 schema<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div id="__MailbirdStyleContent">
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Dear DDI users,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">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&nbsp; trying to validate the example file on the DDI Alliance website (<a href="https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245">https://www.icpsr.umich.edu/icpsrweb/ICPSR/ddi25/studies/4245</a>).
 The error is as follows:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><i><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">schema_reference.4: Failed to read schema document 'http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd',
 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;.</span></i><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Notepad++ and xmlvalidation.com were used for validation.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Do any of you have the same problem?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Best regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Domingo Scisci<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">--&nbsp;<o:p></o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Domingo Scisci (PhD)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Centro Interdipartimentale UniData<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Università degli Studi di Milano-Bicocca<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Via Bicocca degli Arcimboldi 8<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">20126 - Milano<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Phone: (+39) 02 6448 7513<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black">Web:&nbsp;<a href="http://www.unidata.unimib.it/" title="Premi per aprire in una nuova finestra o scheda
http://www.unidata.unimib.it/">www.unidata.unimib.it</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size: 10.0pt;font-family: &quot;Arial&quot;,sans-serif;color: black"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div></blockquote>
                                        
                                        </div></div>