Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lb42 opened this issue Aug 1, 2023 · 3 comments
Assignees
Labels

Comments

@lb42
Copy link
Member

lb42 commented Aug 1, 2023

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 raffazizzi self-assigned this May 14, 2024
@raffazizzi raffazizzi added bug awaiting response I answered or addressed the issue and requested feedback labels May 14, 2024
@raffazizzi
Copy link
Contributor

raffazizzi commented May 14, 2024

@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
Copy link
Contributor

Fixed in TEIGarage

@lb42 lb42 reopened this Sep 24, 2024
@lb42
Copy link
Member Author

lb42 commented Sep 24, 2024

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 ?

@raffazizzi raffazizzi removed the awaiting response I answered or addressed the issue and requested feedback label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants