[Nexus] Antwort: Welcome to the "NeXus" mailing list (Digest mode)

freddie.akeroyd at stfc.ac.uk freddie.akeroyd at stfc.ac.uk
Tue Aug 12 13:34:09 BST 2014


Igor,

There is a command line alternative to the java interface and this shows that steps involved a bit more clearly - have a look at   nxvalidate_cli.in   in https://github.com/nexusformat/definitions/blob/master/validate_cmdline/

Regards,

Freddie


From: NeXus [mailto:nexus-bounces at nexusformat.org] On Behalf Of Igor.Khokhriakov at hzg.de
Sent: 31 July 2014 17:18
To: nexus at nexusformat.org
Subject: [Nexus] Antwort: Welcome to the "NeXus" mailing list (Digest mode)

Dear NeXus Users,

Could someone please clarify me how can I use NXvalidate?

Basically my case is - I develop a c++ appilication that creates and populates hdf5 files in NeXus format. Users of my application defines structure of the file. What I would like is to integrate nice validation into my application. I have read through NeXus documentation, specifically http://download.nexusformat.org/sphinx/validation.html and looked roughly through the NXvalidate source code.

But I can not find where the schematron file is. In the documentation it is said: "The NXDL definition files are converted into a set of Schematron rules using the xslt/nxdl2sch.xsl XSLT stylesheet". But this XSLT file is never used in the source code. Looks like NXvalidate expects this file created by some other process.

So the question is - how one can create the schematron file?

Thank you in advance.

Best regards,

  Igor.
________________________________
Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: http://www.hzg.de
________________________________

-- 
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20140812/eee38153/attachment.html>


More information about the NeXus mailing list