Opened 9 years ago
Need 2 ways of specifying filepaths in metadata.xml
|Reported by:||ak19||Owned by:||nobody|
At present, we've decided to stipulate that the FileName element in metadata.xml (which represents a regex filepath) will accept only URL style slashes.
for an example metadata.xml file.
In future, the idea is to come out with a new version of the DTD for the metadata.xml file, version 1.1 (the present one is at http://www.greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd).
This will have 2 FileName related elements: FileName and FileNameRegex (FileNameRe). In the former, the user can specify a plain filepath, and we'll have to define an attribute setting called OS wherein the user can stipulate what OS (windows, linux) the filepath represents.
See also ticket 807, which lists the files changed for previous issues to do with this matter.