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

UAX21 and UAX27 need updating — but how? #347

Closed
frivoal opened this issue Apr 5, 2017 · 7 comments
Closed

UAX21 and UAX27 need updating — but how? #347

frivoal opened this issue Apr 5, 2017 · 7 comments

Comments

@frivoal
Copy link
Collaborator

frivoal commented Apr 5, 2017

The UAX21 and UAX27 entries are out of date. Not only are there later incarnations of the same documents, but also these documents have eventually been discontinued and their content merged to an other spec (Core Specification of the Unicode Standard). What should we do?

It makes sense to me to:

  1. Update them to the latest standalone version
  2. add an obsoletedBy key to point to the document that replaces them.

However, client software that read from specref do not currently support obsoletedBy. Should we just fix them? Should we mark it some other way?

--

issue raised from w3c/csswg-drafts#1169 (comment)
bikeshed issue about supporting obsoletedBy: speced/bikeshed#427

@tobie
Copy link
Owner

tobie commented Apr 5, 2017

IMHO, obsoletedBy only makes sense in cases where there's ambiguity as to which spec we now want to reference. In cases where it's obvious what new spec to use instead, maybe aliasing is the better option. What do you think? /cc @tabatkins, @marcoscaceres

@tabatkins
Copy link
Collaborator

Aliasing might be sufficient, but in general it's often too strong - it means that no one can ever refer to the older version, even if they very intentionally want to. (For example, to compare and contrast an older document with a newer one.)

My plan is to throw an error by default when you have an obsolete biblio ref, letting you know what you should be linking to, but give some syntax for suppressing that error and just linking to the obsolete thing.

@tobie
Copy link
Owner

tobie commented Apr 5, 2017

Aliasing might be sufficient, but in general it's often too strong - it means that no one can ever refer to the older version, even if they very intentionally want to. (For example, to compare and contrast an older document with a newer one.)

Agreed.

My plan is to throw an error by default when you have an obsolete biblio ref, letting you know what you should be linking to, but give some syntax for suppressing that error and just linking to the obsolete thing.

I didn't know you were planning to add syntax to suppress the error. That makes the distinction between obsolescence and aliasing worthwhile. So WFM.

Heads up that obsoletedBy returns an array of identifiers. Adding a few tests right now to see if we can provide some guarantees about the references these identifiers point to like we can with aliasOf.

@tobie
Copy link
Owner

tobie commented Apr 10, 2017

Guarantees added. See: README.

@tabatkins
Copy link
Collaborator

tabatkins commented Apr 12, 2017

And Bikeshed now tracks and follows obsoletes/obsoletedBy data; using an obsolete biblio ref is a fatal error that tells you what to replace it with (following aliases/obsoletedBy transitively). (I'll be adding the ability to suppress the error shortly.)

By the way, the following refs are marked as being obsolete, but the thing they claim should obsolete them doesn't exist in the db:

  • nic15392
  • ien115
  • ien119
  • nic15390
  • ien123
  • ien133
  • nic18640
  • nic15389
  • nic16238
  • nic16239

@tobie
Copy link
Owner

tobie commented Apr 12, 2017

Wow. That is weird and should have been caught by the the test suite. Need to dig into this to find what the problem is.

frivoal added a commit to frivoal/specref that referenced this issue Apr 14, 2017
@frivoal
Copy link
Collaborator Author

frivoal commented Apr 14, 2017

Opened a new issue to follow up on #347 (comment), which is a separate problem.

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

No branches or pull requests

3 participants