[oXygen-user] Error while compiling a Schematron schema

Florent Georges
Fri Dec 19 09:23:56 CST 2008


Florent Georges wrote:

> I have the Schematron schema at the end of this email

  BTW, everything works just fine with this simplified version:

    <schema xmlns="http://purl.oclc.org/dsdl/schematron"
            queryBinding="xslt2">

       <let name="dico" value="
           doc('luis-costa-rules.xml')/rules/ContentInfo"/>

       <pattern>
          <rule context="ContentInfo">
             <assert test="
                 some $d in $dico satisfies deep-equal(., $d)">
                Message...
             </assert>
          </rule>
       </pattern>

    </schema>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/






















      



More information about the oXygen-user mailing list