TEIC / romajs

A web app for creating and editing ODD documents
https://roma.tei-c.org/
GNU General Public License v3.0
25 stars 7 forks source link

RELAXNG Schema in compact syntax should be a plain text file not a zip archive #159

Open lb42 opened 1 year ago

lb42 commented 1 year ago

When I try to download my customization as RNC, roma sends me a file which can't be read by the browser, nor by oXygen. Looking at it with emacs, I see that the file produced is actually a zip archive with two files : one called document.rnc and the other called .nfs[meaninglessHexString]. If I unpack the archive, and use document.rnc as the schema everything is fine, but surely this is not the way the interface should behave! I am using firefox on linux.

raffazizzi commented 4 months ago

@lb42 This seems to be an issue with TEI Garage; sending an ODD for RNC conversion at https://teigarage.tei-c.org/ also returns a zip file.

I have raised this issue with the developers and will change the extension of the returned file to .zip in Roma in the meantime

raffazizzi commented 3 months ago

Fixed in TEIGarage

lb42 commented 1 week ago

I am reopening this rather than start a new issue for this comparatively minor annoyance. Downloading a schema in relax compact syntax now produces a file with the extension .zip -- which is actually (sfaics) a plain text file. It works fine when specified explicitly as the schema for oXygen -- but oxygen by default won't look at it since .zip is not one of the file extensions expected for a schema. Why not send a file with the extension .rnc ?