Boris,<br><br>I will try to test XSD with the RSS 2.0 schema you point out. Glancing at the schema, do you see<br>anything that might cause XSD to malfunction ?<br><br>I am trying to familiarize with XSD before thinking of using it with RDF schemas.
<br><br>Thanks and regards,<br>Jose<br><br><br><br><div><span class="gmail_quote">On 1/31/06, <b class="gmail_sendername">Boris Kolpackov</b> &lt;<a href="mailto:boris@codesynthesis.com">boris@codesynthesis.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jose,<br><br>Jose &lt;<a href="mailto:jmalv04@gmail.com">jmalv04@gmail.com</a>&gt; writes:
<br><br>&gt; Before considering the RDF schema I would like to know whether XSD can<br>&gt; tackle parsing the RDF file as XML.<br><br>You probably mean if XSD (the tool) can generate the code to parse<br>RDF as an XML.<br>
<br>&gt; That by itself would make XSD very useful to me.&nbsp;&nbsp;I imagine it's<br>&gt; possible but I am not sure<br>&gt;<br>&gt; Here is a sample for RSS RDF<br><br>It is definitely possible if you can come up with an XML Schema
<br>definition for your RSS RDF. Looking at the instance below it looks<br>very similar to an RSS instance with RDF extensions. There is an<br>XML Schema for RSS 2.0 available:<br><br><a href="http://www.thearchitect.co.uk/schemas/">
http://www.thearchitect.co.uk/schemas/</a><br><br>hth,<br>-boris<br><br>&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&gt; &lt;rdf:RDF xmlns:rdf=&quot;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&quot;<br>&gt;&nbsp;&nbsp;xmlns:dc=&quot;<a href="http://purl.org/dc/elements/1.1/">http://purl.org/dc/elements/1.1/</a>&quot;<br>&gt;&nbsp;&nbsp;xmlns:rss=&quot;<a href="http://purl.org/rss/1.0/">
http://purl.org/rss/1.0/</a>&quot;<br>&gt;&nbsp;&nbsp;xmlns=&quot;<a href="http://purl.org/rss/1.0/">http://purl.org/rss/1.0/</a>&quot;&gt;<br>&gt; &lt;channel rdf:about=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/blog/4">http://dig.csail.mit.edu/breadcrumbs/blog/4
</a>&quot;&gt;<br>&gt;&nbsp;&nbsp;&lt;title&gt;timbl's blog&lt;/title&gt;<br>&gt;&nbsp;&nbsp;&lt;link&gt;<a href="http://dig.csail.mit.edu/breadcrumbs/blog/4">http://dig.csail.mit.edu/breadcrumbs/blog/4</a>&lt;/link&gt;<br>&gt;&nbsp;&nbsp;&lt;description&gt;&lt;/description&gt;
<br>&gt;&nbsp;&nbsp;&lt;items&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:Seq&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:li rdf:resource=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/node/72">http://dig.csail.mit.edu/breadcrumbs/node/72</a>&quot;/&gt;<br>&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:li rdf:resource=&quot;
<a href="http://dig.csail.mit.edu/breadcrumbs/node/71">http://dig.csail.mit.edu/breadcrumbs/node/71</a>&quot;/&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:li rdf:resource=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/node/62">http://dig.csail.mit.edu/breadcrumbs/node/62
</a>&quot;/&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:li rdf:resource=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/node/54">http://dig.csail.mit.edu/breadcrumbs/node/54</a>&quot;/&gt;<br>&gt;&nbsp;&nbsp; &lt;rdf:li rdf:resource=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/node/38">
http://dig.csail.mit.edu/breadcrumbs/node/38</a>&quot;/&gt;<br>&gt;&nbsp;&nbsp; &lt;/rdf:Seq&gt;<br>&gt;&nbsp;&nbsp;&lt;/items&gt;<br>&gt; &lt;/channel&gt;<br>&gt; &lt;item rdf:about=&quot;<a href="http://dig.csail.mit.edu/breadcrumbs/node/72">
http://dig.csail.mit.edu/breadcrumbs/node/72</a>&quot;&gt;<br>&gt;&nbsp;&nbsp;&lt;title&gt;Backward and Forward links in RDF just as important&lt;/title&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&lt;link&gt;<a href="http://dig.csail.mit.edu/breadcrumbs/node/72">
http://dig.csail.mit.edu/breadcrumbs/node/72</a>&lt;/link&gt;<br>&gt;&nbsp;&nbsp;&lt;description&gt;&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;&amp;lt;a<br>&gt; href=&quot;<a href="http://www.ctaz.com/~dmn1/hein.htm">http://www.ctaz.com/~dmn1/hein.htm
</a>&quot;&amp;gt;Piet Hein&amp;lt;/a&amp;gt;, I<br>&gt; think, &amp;lt;a href=&quot;<a href="http://chat.carleton.ca/~tcstewar/grooks/grooks.html">http://chat.carleton.ca/~tcstewar/grooks/grooks.html</a>&quot;&amp;gt;Grooked&amp;lt;/a&amp;gt;
<br>&gt; that,&amp;lt;/p&amp;gt;<br>&gt;<br>&gt; &amp;lt;p&amp;gt;&quot;Two types that had far better leave to their betters&amp;lt;br /&amp;gt;<br>&gt; the civilized art of exchanging letters&amp;lt;br /&amp;gt;<br>&gt; are those who disdain to make any response,&amp;lt;br /&amp;gt;
<br>&gt; and those who infallibly answer at once!&quot;&amp;lt;/p&amp;gt;<br>&gt; &amp;lt;p&amp;gt;The regularity of this blog fails on both counts.&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;<br>&gt;<br>&gt; &amp;lt;p&amp;gt;One meme of RDF ethos is that the direction one choses for a
<br>&gt; given property is arbitrary: it doesn't matter whether one defines<br>&gt; &quot;parent&quot; or &quot;child&quot;; &quot;employee&quot; or &quot;employer&quot;. This philosophy (from<br>&gt; the Enquire design of 1980) is that one should not favor one way over
<br>&gt; another.&nbsp;&nbsp;One day, you may be interested in following the link one<br>&gt; way, another day, or somene else, the other way. &amp;lt;/p&amp;gt;<br>&gt; &amp;lt;p&amp;gt;On the other hand, also one should not encourage people
<br>&gt; having to declare both a property and its inverse, which would simply<br>&gt; double the number of definitions out there, and give one more axis of<br>&gt; arbitrary variation in the way information is expressed. Therefore,
<br>&gt; the design of the tabulator was is to make the system treat forward<br>&gt; and backward links equivalently.&amp;lt;/p&amp;gt;<br>&gt; &amp;lt;p&amp;gt;The design of &amp;lt;a<br>&gt; href=&quot;<a href="http://www.w3.org/DesignIssues/Notation3">
http://www.w3.org/DesignIssues/Notation3</a>&quot;&amp;gt;N3&amp;lt;/a&amp;gt; also<br>&gt; was influenced by this.&nbsp;&nbsp;The ability to write&amp;lt;/p&amp;gt;<br>&gt;<br>&gt; &amp;lt;p&amp;gt;:Joe is f:parent of :Fred.&amp;lt;/p&amp;gt;
<br>&gt; &amp;lt;p&amp;gt;makes it easier to write (or generate) N3 without having to<br>&gt; use f:child.&nbsp;&nbsp;This in turn reduces the pressure to define<br>&gt; both.&amp;lt;/p&amp;gt;<br>&gt; &amp;lt;p&amp;gt;The only loss in not having both is that there is no label
<br>&gt; for the reverse link. (In same cases I have defined an unnamed<br>&gt; predicate which is delcared as the inverse and has a label.)&amp;lt;/p&amp;gt;<br>&gt; &lt;/description&gt;<br>&gt;&nbsp;&nbsp;&lt;dc:date&gt;2006-01-25T16:21:17Z&lt;/dc:date&gt;
<br>&gt; &lt;/item&gt;<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.2.5 (GNU/Linux)<br><br>iQGVAwUBQ9+HOciAKQuuCE8dAQINRQv9FB1w793s6Vey9aV1EOjJI3+8Q8jh/+NS<br>VhyIqs7StAYN0GZIIuuaMhvsezVMnwfwipLmYoSg6ao8C2bAAuQrbSBaI10lOyJ0
<br>RgdOqw2ibPp3zhw5CJx2Y4V/rlD5jd6BuzB0v5U41kACrQm/8LnksPs0LWzx8y7C<br>wHqJ7GQEX2gx2G8S6SNnbaMSjUxttJaq0t3i8yyKqxR4DRk6k09Dk6kYhM2zHCQE<br>afsredi8RPkaBUyJDSODVqpEex8uXKJ/UxvLFTavt2PttTahu63C5BVHO4VexvRS<br>mF8yMs7b4PRtG//turKxHnHy8MkDY1LujBhr6LQleYQDBu5JfKLsIjF5SSwXj0BJ
<br>QrQBv+Vpi1C5KtYi1XE9kgeTjG3knRxxD0VR3AhTPUol8aQgebNubbVTM8nnhLU6<br>CrRLh7fNc/1Rk00FKYRgc0eGPkGyE/4yjAgaoIlpVlzkQMGyAuxXfFvKmq2Sf+IE<br>T/n0QQSpSwpxXjktv0TJmd2h5K6LF0+j<br>=z/Wz<br>-----END PGP SIGNATURE-----<br><br><br>
</blockquote></div><br>