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

require edition/languages/language/@xml:lang not to be empty string #8

Open
bwbohl opened this issue Feb 1, 2022 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@bwbohl
Copy link
Member

bwbohl commented Feb 1, 2022

eventually we could just add all iso690 codes as allowed values

@bwbohl bwbohl added the enhancement New feature or request label Feb 1, 2022
@bwbohl
Copy link
Member Author

bwbohl commented Feb 1, 2022

as discovered by @riedde in Bazga merge Edirom/Edirom-Online#172

@bwbohl
Copy link
Member Author

bwbohl commented Feb 1, 2022

actually the definition of @xml:langallows BCP47 language tags (see https://www.w3.org/International/articles/language-tags/), of which iso 639-1 is just a subset. A description of BCP47 can be found at https://en.wikipedia.org/wiki/IETF_language_tag

@bwbohl
Copy link
Member Author

bwbohl commented Feb 1, 2022

@bwbohl
Copy link
Member Author

bwbohl commented Feb 1, 2022

to avoid providing a modified xml.xsd a schematron file could do the job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant