I released mdx4j, a wrapper for olap4j's internal parser. It is under EPL so anyone can embed it. I think I'll send a submission to the Guinness World Records book for the smallest library ever.<br><br><a href="http://code.google.com/p/mdx4j/">http://code.google.com/p/mdx4j/</a><br>
<br clear="all">_____________________________<br>Luc Boudreau<br>
<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 7:54 PM, Julian Hyde <span dir="ltr"><<a href="mailto:jhyde@pentaho.com">jhyde@pentaho.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="im">
<div><font color="#000080" face="Lucida Sans" size="2"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 128); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us"><span><font color="#000080" face="Lucida Sans" size="2">Luc
wrote: </font></span><br><br>Julian. Discussing with Jonathan Fuerth, I
came to understand your point. Olap4j does not promote a given MDX syntax nor
should it ever do. I will start a spin-off project able to provide external
code with a MdxParser that does not require a backend server
connection.</div></blockquote>
</div><div><span><span><font color="#000080" face="Lucida Sans" size="2">That would be great. I can think of a
couple of ways to do it.</font></span></span></div>
<div><span><span><font color="#000080" face="Lucida Sans" size="2"></font></span></span> </div>
<div><span><span><font color="#000080" face="Lucida Sans" size="2">One way to do that might be to provide a
dummy driver. It might be easy: just a driver class, a connection class, and the
only thing you can do with the connection is to call getParserFactory. Can't
tell without looking at the code.</font></span></span></div>
<div><span><span><font color="#000080" face="Lucida Sans" size="2"></font></span></span> </div>
<div><span><span><font color="#000080" face="Lucida Sans" size="2">Another way would be to have a way to
instantiate a default parser factory. Say </font></span></span><span><span><font color="#000080" face="Lucida Sans" size="2">MdxParserFactory.DEFAULT.createMdxParser(null). I
don't mind adding that to the olap4j API; I just didn't want an implementation
class like DefaultMdxParserImpl to be forever part of the official
API.</font></span></span></div>
<div><span><span><font color="#000080" face="Lucida Sans" size="2"></font></span></span> </div><font color="#888888">
<div><span><span><font color="#000080" face="Lucida Sans" size="2">Julian</font></span></span></div></font></div>
</blockquote></div><br>