Hi Sebastian,<br><br> (i couldn&#39;t check the wiki page but...)<br> We can have the java tools in the repository in case somebody is interested on it, but the main build (when you run &quot;make distcheck&quot; should use only C or python or something &quot;mobile friendly&quot;.<br>
<br> Here we have two scenarios:<br><br>1) Release a tarball with the ontologies + HTML documentation so distributions can build packages from it, and tracker, strigi, kde-nepomuk depend on that package.<br>    For this we should use python/C and autotools. We have already a &quot;soft validator&quot; in C, plus a basic HTML generation also in C. <br>
<br>This is the point we discuss on GCDS, and agree on the svn layout, use autotools and write the HTML generation.<br><br>2) Ontology development. While we work in the ontology we can provide a patch for the ontology and use the validation tools to check everything looks fine. For this you can use Antoni validator, if you have java in your development envieronment and get advantage of the &quot;hard validator&quot;.<br>
<br> I couldn&#39;t check the wiki page, but i guess antoni wrote down what is his validator checking so i can cross-check what is missing in the C version.<br><br> What is blocking me now to write a proper HTML generator is to decide what language to use. I can complete the C code, or rewrite the things in python (nicer HTML template engines, easier string handling...). Python looks nicer but i am not sure there is a turtle parser...<br>
<br> Regards,<br><br>Ivan<br><br><br><div class="gmail_quote">On Mon, Jul 27, 2009 at 4:22 PM, Sebastian Trüg <span dir="ltr">&lt;<a href="mailto:strueg@mandriva.com">strueg@mandriva.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
so you agreed on using java tools then?<br>
And Ivan, you will not provide an alternative?<br>
<br>
Cheers,<br>
<font color="#888888">Sebastian<br>
</font><div><div></div><div class="h5"><br>
On Monday 27 July 2009 00:29:15 Antoni Mylka wrote:<br>
&gt; Xesamies,<br>
&gt;<br>
&gt; After the discussion with Ivan, I&#39;ve uploaded a little specification of<br>
&gt; the validator we used in Nepomuk:<br>
&gt;<br>
&gt; <a href="https://sourceforge.net/apps/trac/oscaf/wiki/Validator" target="_blank">https://sourceforge.net/apps/trac/oscaf/wiki/Validator</a><br>
&gt;<br>
&gt; Now I updated the validator code and wrote an ant task that encapsulates<br>
&gt; it. Basically what you need to do is put a following bit of xml inside<br>
&gt; build.xml:<br>
&gt;<br>
&gt; &lt;onttest&gt;<br>
&gt;       &lt;ontologies dir=&quot;${oscaf.trunk.folder}&quot;&gt;<br>
&gt;               &lt;exclude name=&quot;**/README&quot;/&gt;<br>
&gt;               &lt;exclude name=&quot;**/doc/**&quot;/&gt;<br>
&gt;               &lt;exclude name=&quot;**/pimo/**&quot;/&gt;<br>
&gt;               &lt;exclude name=&quot;**/tmo/**&quot;/&gt;<br>
&gt;               &lt;exclude name=&quot;**/base/**&quot;/&gt;<br>
&gt;       &lt;/ontologies&gt;<br>
&gt;       &lt;baseontologies dir=&quot;${oscaf.trunk.folder}&quot;&gt;<br>
&gt;               &lt;include name=&quot;**/base/*&quot;/&gt;<br>
&gt;               &lt;exclude name=&quot;**/README&quot;/&gt;<br>
&gt;       &lt;/baseontologies&gt;<br>
&gt;       &lt;testcases dir=&quot;tests&quot; /&gt;<br>
&gt; &lt;/onttest&gt;<br>
&gt;<br>
&gt; The ontologies, base ontologies and test cases are specified as ant<br>
&gt; FileSets: <a href="http://ant.apache.org/manual/CoreTypes/fileset.html" target="_blank">http://ant.apache.org/manual/CoreTypes/fileset.html</a> It allows<br>
&gt; for pretty fancy file choosing schemes.<br>
&gt;<br>
&gt; I&#39;ve uploaded a tarball with the sources of the ant task, all<br>
&gt; dependencies and a build.xml script that compiles the java source,<br>
&gt; validates all NIE ontologies and a single example file. It&#39;s here:<br>
&gt;<br>
&gt; <a href="http://www.dfki.uni-kl.de/%7Emylka/nie-ant.tar.bz2" target="_blank">http://www.dfki.uni-kl.de/~mylka/nie-ant.tar.bz2</a><br>
&gt;<br>
&gt; Please<br>
&gt; - download, untar<br>
&gt; - edit the build.xml to point it at the oscaf ontologies trunk folder<br>
&gt; - type &#39;ant&#39;<br>
&gt; - and see the validation report (or some other problem in which case<br>
&gt; send me an email).<br>
&gt;<br>
&gt; Right now it detects 519 problems in NIE. All of them are due to missing<br>
&gt; base ontologies:<br>
&gt; - W3C Geo<br>
&gt; - Masahide Kanzaki EXIF<br>
&gt; - a little hack that states that all XSD datatypes are rdf datatypes<br>
&gt;<br>
&gt; The missing base ontologies are included in the tarball.<br>
&gt;<br>
&gt; I would like to create a tools/java folder in SVN and upload the<br>
&gt; build.xml, the jars and the testcases there. I wouldn&#39;t change anything<br>
&gt; in the &#39;ontologies&#39; folder. If anyone is allergic to java he/she won&#39;t<br>
&gt; have to check it out at all.<br>
&gt;<br>
&gt; More testcases will come in near future. Stay tuned.<br>
&gt;<br>
&gt; Any objections?<br>
&gt;<br>
&gt; Antoni Mylka<br>
&gt; <a href="mailto:antoni.mylka@gmail.com">antoni.mylka@gmail.com</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Xesam mailing list<br>
&gt; <a href="mailto:Xesam@lists.freedesktop.org">Xesam@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/xesam" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xesam</a><br>
_______________________________________________<br>
Xesam mailing list<br>
<a href="mailto:Xesam@lists.freedesktop.org">Xesam@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xesam" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xesam</a><br>
</div></div></blockquote></div><br>