[GeoNetwork-devel] [GeoNetwork-commit] SF.net SVN: geonetwork:[1523] trunk/web/geonetwork/xml/schemas

Hi Jeroen,

On mer, 2008-09-24 at 14:24 +0000, ticheler@anonymised.com wrote:

Revision: 1523
          http://geonetwork.svn.sourceforge.net/geonetwork/?rev=1523&view=rev
Author: ticheler
Date: 2008-09-24 14:24:54 +0000 (Wed, 24 Sep 2008)

Log Message:
-----------
- updated layout of schematron report

When updating schematron (rules or layout), you have to edit files in
the schematrons directory and then run the script processrules.sh.
For changing rules, edit *.sch, for layout, schematron.xsl.

I have a patch for multilingual schematron report also defining rules
as:
<sch:pattern name="$loc/strings/M8">
  <sch:rule context="//gmd:CI_ResponsibleParty">
    <sch:assert test="(count(gmd:individualName) +
count(gmd:organisationName) + count(gmd:positionName)) >
0">$loc/strings/alert.M8</sch:assert>
    </sch:rule>
</sch:pattern>

and translation in xml/schemas/iso19139/loc/en/schematron.xml
<M8>[ISOFTDS19139:2005-TableA1-Row24] - name required</M8>
<alert.M8>You must specify one or more of individualName,
organisationName or positionName.</alert.M8>

Could we plan to update that next week during the codesprint ?

Ciao
Francois.

Modified Paths:
--------------
    trunk/web/geonetwork/xml/schemas/dublin-core/schematron.xsl
    trunk/web/geonetwork/xml/schemas/fgdc-std/schematron.xsl
    trunk/web/geonetwork/xml/schemas/iso19115/schematron.xsl
    trunk/web/geonetwork/xml/schemas/iso19139/schematron.xsl