HistoryAtState / frus

Foreign Relations of the United States - TEI XML source files
https://history.state.gov/historicaldocuments
35 stars 14 forks source link

Validation error while validating xml with FRUS.sch #331

Open shamskamran opened 2 days ago

shamskamran commented 2 days ago

I am validating FRUS.xml file with FRUS.sch using Oxygen xml editor locally after asscociated schematron file and received validation erorr related to image

PNG version of 'images/fig01' not found on static.history.state.gov TIFF version of 'images/fig01' not found on static.history.state.gov

It means that Schematron tries to located my image file on the above domain statis.history.state.gov.

Is there any way to validate it locally

Regards

joewiz commented 2 days ago

@shamskamran This error is expected if the images have not been uploaded to our file server. We treat this as an error, rather than a warning, because if we publish the volume in this state, users of our website will encounter broken image links. I will think about ways that we could address this: either add a flag that would reduce the severity level to warning, or check some local filesystem path for the presence of the image files.