<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpFirst, li.MsoNormalCxSpFirst, div.MsoNormalCxSpFirst
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpMiddle, li.MsoNormalCxSpMiddle, div.MsoNormalCxSpMiddle
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpLast, li.MsoNormalCxSpLast, div.MsoNormalCxSpLast
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormalCxSpFirst"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Hi Mark and all,<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I’m an almost-beginner, experimenting with XML ::Compile to talk to an internal application that uses Web Services.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I have a strange behaviour with XML::Compile::Schema.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">The application can supply the schema for the data it provides. I can create a writer from a schema, but I can’t always create a reader.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I get the following error, and I don’t know if the problem is in the schema or in XML::Compile:<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Can't locate object method "nodeNil" via package "false" (perhaps you forgot to load "false"?) at C:/Perl64/site/lib/XML/Compile/Translate/Reader.pm line
698.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I have XML-Compile version 1.35.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I have other schemas were I can generate a reader, so the problem isn’t systematic.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">How can I debug this ? “Log::Report mode => 'DEBUG';” doesn’t give me any extra info.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">My XSD has several lines like<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element default="false" minOccurs="0" name="vital" nillable="true" type="xs:boolean"><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Perhaps it’s strange to have a default on an element that’s nillable…?<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Thanks for any pointers,<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Ciaran Deignan<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">RSD SA (Geneva)<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpLast"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
</div>
</body>
</html>