- Code: Select all
tiffcomment /path/to/file.ome.tiff | xmlvalid -
But as far as I tried in Windows 10, I get the following error:
- Code: Select all
Exception in thread "main" java.io.FileNotFoundException: - (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at loci.formats.tools.XMLValidate.main(XMLValidate.java:81)
The hyphen does not seem to be working.
I confrimed that the following works:
- Code: Select all
tiffcomment "/path/to/file.ome.tiff" | xmlvalid "/path/to/file.ome.tiff"
Is the example in the documentation an error? Or have I misunderstood something?