<div dir="ltr"><div style>In regards to the validation problems find below my summary:</div>Please find attached the XML file and DTD which should highlight the problems, mainly with ColumnDefs, Measures and DimensionLinks elements. Please adjust DTD so that a proper validation is possible.<div style>
I based the syntax of my example on the foodmart sample that is supplied with Saiku server (Mondrian 4 version). The book Mondrian in Action seems to use a different syntax in a few areas (which I highlighted yesterday and which are not in line with the syntax Mondrian seems to expect). I tested the attached Mondrian schema on Saiku successfully.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 3:47 PM, Diethard Steiner <span dir="ltr">&lt;<a href="mailto:diethard.steiner@gmail.com" target="_blank">diethard.steiner@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In addition to the previous email I found two more problems:<div>- It is not possible to define a degenerate dimension: The DTD is unaware of any column attribute for the attribute element (sample in Mondrian 4 book shows an attribute column)</div>

<div>- It is not possible to create a FactLink as a child of DimensionLinks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 1:05 PM, Diethard Steiner <span dir="ltr">&lt;<a href="mailto:diethard.steiner@gmail.com" target="_blank">diethard.steiner@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So I have been creating an XML file based on the Mondrian 4 DTD you mentioned. <div>There seems to be a problem with the Measure element within Measures ... which turns out to be invalid based on this DTD. I am following the example from the Mondrian 4 book. Screenshots attached. Based on the DTD, there seems to be only MeasureOrRef valid within Measures. <img src="cid:ii_13c3e4b086f4631f" alt="Inline image 1"><img src="cid:ii_13c3e4b233244f7d" alt="Inline image 2"></div>


</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 10, 2013 at 5:52 PM, Diethard Steiner <span dir="ltr">&lt;<a href="mailto:diethard.steiner@gmail.com" target="_blank">diethard.steiner@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Excellent! Thanks, I&#39;ll check it out.<div>Best regards,</div><div>Diddy</div><div>


<div><div><div><div>On 10 Jan 2013, at 17:49, Luc Boudreau &lt;<a href="mailto:lucboudreau@gmail.com" target="_blank">lucboudreau@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite">Mondrian generates DTDs when building. There is an old XSD file checked in for Mondrian 3, but it is not updated systematically. For the latest Mondrian 4 DTD, try this link: <br>


<br><a href="http://ci.pentaho.com/view/Analysis/job/mondrian-4.0/lastSuccessfulBuild/artifact/lib/mondrian.dtd" target="_blank">http://ci.pentaho.com/view/Analysis/job/mondrian-4.0/lastSuccessfulBuild/artifact/lib/mondrian.dtd</a><br>




<br>Luc<br><br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 6:26 AM, Diethard Steiner <span dir="ltr">&lt;<a href="mailto:diethard.steiner@gmail.com" target="_blank">diethard.steiner@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My best greetings to all of you!<br>
If I remember Julian&#39;s words correctly from the Pentaho User Meeting in Amsterdam (and if nothing has changed since then), Schema Workbench will not be used any more for creating Mondrian 4 XML files. So, that&#39;s no problem for me as long as I can get hold of an XSD file to validate the XML. I could find a very old DTD and then also an XSD for Mondrian 3.x but no sight yet of anything related to Mondrian 4. Can someone please point me to the right direction?<br>






Thanks,<br>
Diddy<br>
_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
</blockquote></div><br>
_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br><a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>


</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>