-
Notifications
You must be signed in to change notification settings - Fork 88
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
Warn if an attDef with a non-colonized @ident has a @ns attribute #2069
Conversation
Summarizing the state of things: we want to do this in tandem with fixing the processing problem, so we're not acting on it immediately. The solution implicitly proposed here is that if a namespace is being set with |
Council SVF2F May 2021: We need to think about this. Questions and issues to follow up on:
|
For SVF2F discussion of 2022-04-02: An ODD file to play with. It demonstrates (what we hope is) a solution to the problem w/o any changes to TEI or Stylesheets. |
Council decides to reject the PR because relying on namespace prefixes isn't a reliable solution. Prefixes are user defined and may be altered by XML processors at any time, while a prefix in The solution linked by @sydb above, which relies on |
Is there an issue that tracks the intended use of |
@dmj — No, I don’t think there is an issue that tracks the intended use of |
As pointed out in [1] attributes with an unprefixed ("non-colonized") name are in the empty namespace as opposed to unprefixed element names that are in the default namespace. A @ns attribute on an attDef with a non-colonized @ident thus has no effect. It would bind the default namespace to the value in @ns but it would not put the attribute in this namespace.
[1] TEIC/Stylesheets#237 (comment)