[GeoNetwork-users] other type of validation then xsd [SEC=UNCLASSIFIED]

HI Lukasz,

I don't know the intricacies of using Schematron. I believe that it is *not*
linked to the XML Schema however they are linked to the profile being used.

Can someone else (maybe Simon) let Lukasz know how to configure the
Schematron to a profile?

Alternatively, you can validate individual XML metadata records externally
using a double parse process to validate against the XSD and the Schematron
files. I have used Saxon to validate XML against Schematron XML with very
good results.

Thanks.

John

-----Original Message-----
From: Łukasz Sobotowski [mailto:l.sobotowski@anonymised.com]
Sent: Thursday, 5 June 2008 10:28 PM
To: Hockaday John
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] other type of validation then
xsd [SEC=UNCLASSIFIED]

Hi John,

Thank You for your answer. I think that using the Schematron
might solve my problem.
Could You explain me how use such files? Does schematron
files has to be somehow connected to XML Schema or it works
some other way??

I would be appreciated for any help.

Cheers,
Łukasz

2008/6/5 <John.Hockaday@anonymised.com>:

  Hi Lukasz,
  
  I believe GeoNetwork can now use Schematron to validate
rules such as you
  want thanks to Simon Pigot and maybe others.
  
  Australia has created some Schematron that is available from
  http://asdd.ga.gov.au/profileinfo/ . There are three
Schematron files. They
  are available from the following hypertext links:
"Validates many of the ISO
  19115 constraints/conditions", "Validates codeList
values against codeLists"
  and "Checks that there is content in the
fileIdentifier". I think that they
  are self explanatory.
  
  I hope that this helps.
  
  John
  
  > -----Original Message-----
  > From: geonetwork-users-bounces@lists.sourceforge.net
  > [mailto:geonetwork-users-bounces@lists.sourceforge.net] On
  > Behalf Of Lukasz_Sobotowski
  > Sent: Wednesday, 4 June 2008 8:42 PM
  > To: geonetwork-users@lists.sourceforge.net
  > Subject: [GeoNetwork-users] other type of validation then xsd
  >
  >
  > Hi all,
  >
  > I'm wondering if GN has some other type of validation (than
  > XSD) implemented. In my case I have some connections between
  > particular metadata elements for example some elements must
  > be filled only when oher element doesn't exist. Does GN take
  > in to consideration such situations?? If not, what would be
  > the easiest way to do this (using for example javastript or
  > working on xml files)??
  >
  > Please help!! :slight_smile:
  > --
  > View this message in context:
  > http://www.nabble.com/other-type-of-validation-then-xsd-tp1764
  3820p17643820.html
<http://www.nabble.com/other-type-of-validation-then-xsd-tp176
43820p17643820.html>
  > Sent from the geonetwork-users mailing list archive
at Nabble.com.
  >
  >
  > --------------------------------------------------------------
  > -----------
  > Check out the new SourceForge.net Marketplace.
  > It's the best place to buy or sell services for
  > just about anything Open Source.
  > http://sourceforge.net/services/buy/index.php
  > _______________________________________________
  > GeoNetwork-users mailing list
  > GeoNetwork-users@lists.sourceforge.net
  > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
  > GeoNetwork OpenSource is maintained at
  > http://sourceforge.net/projects/geonetwork
  >
  
--

Pozdrawiam,
Łukasz Sobotowski