<!-- An experimental NRL schema for XHTML 2.0 + RDF
     $Id: xhtml2-rdf.nrl,v 1.6 2005/06/30 07:35:10 mimasa Exp $
-->
<rules startMode="root"
       xmlns="http://www.thaiopensource.com/validate/nrl">
  <mode name="root">
    <namespace ns="http://www.w3.org/2002/06/xhtml2/">
      <validate schema="../rng/xhtml2.rng" useMode="rdf"/>
      <validate schema="../schematron/xhtml2.sch" useMode="rdf"/>
    </namespace>
  </mode>
  <mode name="rdf">
    <namespace ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <validate schema="../rng/rdfxml.rng" useMode="any"/>
      <!-- experimental support for Schematron validation -->
      <validate schema="../schematron/rdf-schema.sch" useMode="any"/>
    </namespace>
  </mode>
  <mode name="any">
    <anyNamespace>
      <attach/>
    </anyNamespace>
  </mode>
</rules>
