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

Ability to expand a meaning of inherited descriptor vs. overriding keys. #77

Closed
fosrias opened this issue Oct 19, 2015 · 9 comments
Closed
Assignees

Comments

@fosrias
Copy link
Contributor

fosrias commented Oct 19, 2015

Currently, the spec indicates that if we create a new descriptor referencing another and define a key in the new descriptor, it replaces the prior. This mechanism can lead to changing fundamental meaning in a strict interpretation.

Need a mechanism to expand. E.g.

<descriptor id="white">
  <doc>The color white</doc>
</descriptor>

<descriptor id="blanco" href=".../colors/white" />
  <doc>A spanish friendly variant</doc>
</descriptor>

Possibly contrived. But the second doc significantly changes the resulting descriptor by my current interpretation of the spec.

Something we need to think about.

@mamund
Copy link
Member

mamund commented Oct 19, 2015

not sure i see a problem here. you mean that the element has been
overridden and that's the problem?

On Mon, Oct 19, 2015 at 5:45 PM, Mark W. Foster notifications@github.com
wrote:

Currently, the spec indicates that if we create a new descriptor
referencing another and define a key in the new descriptor, it replaces the
prior. This mechanism can lead to changing fundamental meaning in a strict
interpretation.

Need a mechanism to expand. E.g.

The color white A spanish friendly variant

Possibly contrived. But the second doc significantly changes the resulting
descriptor by my current interpretation of the spec.

Something we need to think about.


Reply to this email directly or view it on GitHub
#77.

@fosrias
Copy link
Contributor Author

fosrias commented Oct 19, 2015

Yes. By how I interpret the current spec.

@mamund
Copy link
Member

mamund commented Oct 19, 2015

two things.

  1. this might be pointing to the difference between "override" (href) and
    "sameAs" (src). do you mean to actually override id="white" (href) or add
    an equivalent (src) here?

  2. FWIW, i think the doc element is a non-critical element -- at least
    for machines. i don't expect ppl to write machine code that sets up a
    dependency on the contents of the "doc" element (but i could be just trying
    to weasel out of a problem

@fosrias
Copy link
Contributor Author

fosrias commented Oct 19, 2015

Well, by my interpretation of the spec, I have overridden the doc. But in this case, I just want to expand on the original descriptor without fundamentally changing its semantic meaning. This later scenario is not afforded in the spec ATM IMO (I have been hanging around you too much using these acronyms).

@fosrias
Copy link
Contributor Author

fosrias commented Oct 19, 2015

Yes, the sameAs working like href, or an array of the URIs is an interesting possibility

@fosrias
Copy link
Contributor Author

fosrias commented Oct 19, 2015

Sorry for the chain, so href is inheritance mechanism and src as an expansion mechanism or something like that.

@mamund
Copy link
Member

mamund commented Oct 19, 2015 via email

@mamund mamund assigned fosrias and fosdev and unassigned fosdev Sep 19, 2020
@fosrias
Copy link
Contributor Author

fosrias commented Sep 19, 2020

@mamund I think we can close this as #89 could cover this. I think the src argument above works. I am not sure now that expanding the semantic meaning actually means anything 😛 . If something means more, maybe you have changed the meaning. If you want to define broader understanding, but it means the same, src should work.

@mamund
Copy link
Member

mamund commented Sep 19, 2020

Closed with a ref to issue #89

@mamund mamund closed this as completed Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants