From f2074af8e82f24584e362e8424817dda2e8d4aec Mon Sep 17 00:00:00 2001
From: jemian
Date: Tue, 9 Aug 2011 17:25:12 +0000
Subject: [PATCH] note the new capabilities to validate some XML files
git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@13404 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b
---
documentation/NDPluginFile.html | 12 +++++++++++-
documentation/areaDetectorReleaseNotes.html | 4 ++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/documentation/NDPluginFile.html b/documentation/NDPluginFile.html
index dcf074b..701c317 100755
--- a/documentation/NDPluginFile.html
+++ b/documentation/NDPluginFile.html
@@ -524,7 +524,12 @@ variables:
There is currently no documentation on the contents of the XML template file. However,
there are example XML template files in the iocSimDetector and iocPerkinElmer directories.
- Documentation on the XML file contents will be written ASAP.
+ Documentation on the XML file contents will be written ASAP.
+
+ It is possible to validate most of the syntax in a NeXus template XML file.
+ For example, the command (starting from the iocBoot directory) to
+ validate the syntax of the iocBoot/iocSimDetector/NexusTemplate.xml file is:
+ xmllint --noout --schematron ./template.sch iocSimDetector/NexusTemplate.xml
The prebuilt Linux libraries libhdf5.a and libNeXus.a are built with HDF5 1.6.9.
When they are built with the latest version, 1.8.2, they require GLIBC version 2.7
@@ -702,6 +707,11 @@ variables:
+
+ It is possible to validate the syntax of an NDArray attributes XML file.
+ For example, the command (starting from the iocBoot directory) to
+ validate the syntax of the iocBoot/iocSimDetector/simDetectorAttributes.xml file is:
+
xmllint --noout --schema ./attributes.xsd iocSimDetector/simDetectorAttributes.xml
Compression
diff --git a/documentation/areaDetectorReleaseNotes.html b/documentation/areaDetectorReleaseNotes.html
index 0d9158c..f927218 100755
--- a/documentation/areaDetectorReleaseNotes.html
+++ b/documentation/areaDetectorReleaseNotes.html
@@ -135,6 +135,8 @@
each streaming data to a separate file. The driver knows which files are flat fields
and which are normal projections, and adds the appropriate attributes to control
which plugin saves each array. Thanks to Ulrik Pedersen for this addition.
+ NDPluginFile: Added XML Schema file (iocBoot/attributes.xsd) to
+ allow syntax validation of an NDArray driver attributes XML file.
New file writing plugin, NDFileHDF5. This plugin writes HDF5 files with the native
HDF5 API, unlike the NeXus plugin which uses the NeXus API. It supports 3 types
of compression. Thanks to Ulrik Pedersen at Diamond Light Source for providing this
@@ -157,6 +159,8 @@
which fixes a stack overflow problem with the default stack size on win32-x86. Removed
support for HDF4 and XML files, only HDF5 is now supported. Thanks to Jeff Gebhardt
for initially doing this.
+ NDFileNexus: Added Schematron file (iocBoot/template.sch) to allow
+ syntax validation of a NeXus template XML file.
Viewers