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

Renaming proposal (for v.Next) #13

Closed
cmsmcq opened this issue Nov 9, 2021 · 3 comments
Closed

Renaming proposal (for v.Next) #13

cmsmcq opened this issue Nov 9, 2021 · 3 comments
Labels
feature A new feature

Comments

@cmsmcq
Copy link
Contributor

cmsmcq commented Nov 9, 2021

In mail to the community group on 27 October, Steven Pemberton (@spemberton) made the following proposal, which I transcribe here to get it into the issue tracking system.

Working further on my tutorial. I give examples of how to rename an element:

start: -date.

so a <start> element has the same content structure as a <date>.

But it would be handy to go in the other direction too.

date: day, " ", month, " ", year.
day: d, d?.
month: "January"; "February"; etc.
year: d, d, d, d.

iso: year, "-", nmonth, "-", day.
nmonth: d, d.

The month and nmonth elements have to have different names, because they have different syntaxes.

Strawperson proposal:

iso: year, "-", nmonth^month, "-", day.

Read "an nmonth serialised as <month>", and by extension, used in a rule definition:

nmonth^month: d, d.
@cmsmcq
Copy link
Contributor Author

cmsmcq commented Nov 9, 2021

For discussion, see also

@ndw ndw added this to the Version V.next milestone Apr 3, 2022
@ndw ndw added the feature A new feature label Apr 3, 2022
@ndw
Copy link
Contributor

ndw commented Jul 5, 2023

Steven proposed: https://lists.w3.org/Archives/Public/public-ixml/2023Jun/0030.html

But the formatting of that message is awful. The proposal is "name>rename : ...".

@ndw
Copy link
Contributor

ndw commented Oct 17, 2023

Resolved by #191

@ndw ndw closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

No branches or pull requests

2 participants