@@ -7078,7 +7078,7 @@ H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels
70787078 * \param[in] vspace_id The dataspace identifier with the selection within the
70797079 * virtual dataset applied, possibly an unlimited selection
70807080 * \param[in] src_file_name The name of the HDF5 file where the source dataset is
7081- * located or a \TText{"." } (period) for a source dataset in the same
7081+ * located or a \TText{. } (period) for a source dataset in the same
70827082 * file. The file might not exist yet. The name can be specified using
70837083 * a C-style \c printf statement as described below.
70847084 * \param[in] src_dset_name The path to the HDF5 dataset in the file specified by
@@ -7101,14 +7101,14 @@ H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels
71017101 * treated as literals except for the following substitutions:
71027102 * <table>
71037103 * <tr>
7104- * <td>\TText{"%%" }</td>
7105- * <td>Replaced with a single \TText{"%" } (percent) character.</td>
7104+ * <td>\TText{%% }</td>
7105+ * <td>Replaced with a single \TText{% } (percent) character.</td>
71067106 * </tr>
71077107 * <tr>
7108- * <td><code>"%<d>b" </code></td>
7109- * <td>Where <code>"<d>" </code> is the virtual dataset dimension axis (0-based)
7110- * and \TText{"b" } indicates that the block count of the selection in that
7111- * dimension should be used. The full expression (for example, \TText{" %0b" })
7108+ * <td><code>%\<d\>b </code></td>
7109+ * <td>Where <code>\<d\> </code> is the virtual dataset dimension axis (0-based)
7110+ * and \TText{b } indicates that the block count of the selection in that
7111+ * dimension should be used. The full expression (for example, \TText{%0b})
71127112 * is replaced with a single numeric value when the mapping is evaluated at
71137113 * VDS access time. Example code for many source and virtual dataset mappings
71147114 * is available in the "Examples of Source to Virtual Dataset Mapping"
@@ -7121,11 +7121,21 @@ H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels
71217121 * If the printf form is used for the source file or dataset names, the
71227122 * selection in the source dataset's dataspace must be fixed-size.
71237123 *
7124+ * If the family driver is used for the source files of a \c printf
7125+ * mapping, special care must be taken. In this case the VDS code expands
7126+ * the file name with \c snprintf first, then the family driver second. This
7127+ * means that, while the format specifier for the VDS block number is
7128+ * inserted normally, the format specifier for the family file driver
7129+ * member number must be escaped such that it is only recognized as a
7130+ * format specifier the second time it is run through \c snprintf. As an
7131+ * example one may use \TText{%%06d} as the member file number format
7132+ * specifier in the source file name.
7133+ *
71247134 * \par Source File Resolutions:
71257135 * When a source dataset residing in a different file is accessed, the
71267136 * library will search for the source file \p src_file_name as described
71277137 * below:
7128- * \li If \p src_file_name is a \TText{"." } (period) then it refers to the
7138+ * \li If \p src_file_name is a \TText{. } (period) then it refers to the
71297139 * file containing the virtual dataset.
71307140 * \li If \p src_file_name is a relative pathname, the following steps are
71317141 * performed:
0 commit comments