<commit_before><module>
  <depends module="util"/>
  <depends module="resolver"/>
  <depends module="validate"/>
  <depends module="rng-validate"/>
  <depends lib="xalan"/>
  <depends lib="saxon"/>
  <depends lib="saxon9"/>
  <test name="old-saxon" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="saxon"/>
  <test name="new-saxon" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="saxon9"/>
  <test name="xalan" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="xalan"/>
  <test name="jaxp" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"/>
  <ant rescompile="mod.schematron.compile-res">
    <target name="mod.schematron.compile-res">
      <property name="mod.schematron.respackage"
		value="com/thaiopensource/validate/schematron/resources"/>
      <property name="mod.schematron.resdir"
		value="${build.dir}/mod/schematron/classes/main/${mod.schematron.respackage}"/>
      <mkdir dir="${mod.schematron.resdir}"/>
      <xslt style="mod/schematron/lib/xsltc-fixup.xsl"
	    in="mod/schematron/src/main/${mod.schematron.respackage}/schematron.xsl"
	    out="${mod.schematron.resdir}/schematron-xsltc.xsl">
	<factory name="com.icl.saxon.TransformerFactoryImpl"/>
      </xslt>
    </target>
  </ant>
  <compile/>
  <service type="com.thaiopensource.validate.SchemaReaderFactory">
    <provider classname="com.thaiopensource.validate.schematron.NewSaxonSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.OldSaxonSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.XalanSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.SchematronSchemaReaderFactory"/>
  </service>
</module><commit_msg>Move the new Saxon schema reader down to allow the Schematron validation to work - a quick workaround for issue 136. When issue 136 is fixed we should move it back to the top.<commit_after><module>
  <depends module="util"/>
  <depends module="resolver"/>
  <depends module="validate"/>
  <depends module="rng-validate"/>
  <depends lib="xalan"/>
  <depends lib="saxon"/>
  <depends lib="saxon9"/>
  <test name="old-saxon" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="saxon"/>
  <test name="new-saxon" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="saxon9"/>
  <test name="xalan" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"
	lib="xalan"/>
  <test name="jaxp" in="mod/schematron/test/schematrontest.xml"
	type="validate" schema="test/schematrontest.nrl"/>
  <ant rescompile="mod.schematron.compile-res">
    <target name="mod.schematron.compile-res">
      <property name="mod.schematron.respackage"
		value="com/thaiopensource/validate/schematron/resources"/>
      <property name="mod.schematron.resdir"
		value="${build.dir}/mod/schematron/classes/main/${mod.schematron.respackage}"/>
      <mkdir dir="${mod.schematron.resdir}"/>
      <xslt style="mod/schematron/lib/xsltc-fixup.xsl"
	    in="mod/schematron/src/main/${mod.schematron.respackage}/schematron.xsl"
	    out="${mod.schematron.resdir}/schematron-xsltc.xsl">
	<factory name="com.icl.saxon.TransformerFactoryImpl"/>
      </xslt>
    </target>
  </ant>
  <compile/>
  <service type="com.thaiopensource.validate.SchemaReaderFactory">
    <provider classname="com.thaiopensource.validate.schematron.OldSaxonSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.XalanSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.SchematronSchemaReaderFactory"/>
    <provider classname="com.thaiopensource.validate.schematron.NewSaxonSchemaReaderFactory"/>
  </service>
</module>
{'fraction_non_alphanumeric': 0.16278481012658227, 'fraction_numerical': 0.002531645569620253, 'mean_word_length': 5.301435406698564, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5249465', 'n_tokens_mistral': 1424, 'n_tokens_neox': 1356, 'n_words': 175}