Description
Is your feature request related to a problem? Please describe.
From our Slack discussion of 2023-02-18/19/20, our documentation should be clear that we allowed unpaired markup.
Describe the solution you'd like
See above
Describe why your solution should shape the standard
It's fundamental to parsing/validation
Additional context or examples
Pasting the Slack conversation:
Agree about empty string.
We currently do not allow unpaired markup (we say so explicitly). This is not consistent with HTML, as you note, but I don't know what went into that decision.
+1000 on fuzzing.
Mihai
2 days ago
I argued many times that markup dies not have to be paired. And that we don't need markup at all :-)
Mihai
2 days ago
s / dies not / did not /
Mihai
2 days ago
This is the problem with landing things where we have no agreement.
Mihai
2 days ago
What went into that decision was time pressure, and the spec landed 2 days before people were living for the summer. It was either that, or miss the ICU release. (edited)
Mihai
2 days ago
I didn't implement markup in the ICU tech preview, and I have an open issue.
But this is what I tried to warn about in the last meeting. Agree that in a somewhat unarticulated and emotional.
But I was seeing it happening again right there
Mihai
2 days ago
Maybe in spec we should mark things that are not agreed with a special tag.
Otherwise "we decided", and changing them requires more effort. You are "challenging an existing decision" (and in that meeting there was also a push to make that harder)
Mihai
2 days ago
And "just file an issue" is not a solution. Give it some time and it becomes "Mihai is challenging a decision" instead of "we submitted with disagreement".
All that we have as a recording is people remembering.
Mihai
2 days ago
(meaning: not much)
Mihai
2 days ago
Sorry, I should not bring these "heavy topics" over a (long) weekend, over chat, and at unfriendly hours for people in other time zones.
I will stop, and choose another avenue
👍
1
Eemeli
21 hours ago
We currently do not allow unpaired markup (we say so explicitly). This is not consistent with HTML, as you note, but I don't know what went into that decision.
Where do we say so explicitly? Doesn't this section say the opposite, as it states that "[markup elements] do not require well-formedness"?
Staś Małolepszy
10 hours ago
Yeah, my impression was also that unpaired markup is fine. My comment above about the unpaired {-m} being invalid was wrong, sorry about that
👍
1
Addison Phillips
4 minutes ago
Non-well-formedness means lots of things. For example, it can mean cross-over tags:
some {+a}{+b}mixed tags{-a}{-b}
Addison Phillips
3 minutes ago
We don't show standalone tags anywhere in the examples nor do we explain that they are permitted. I'm pretty sure I saw paired-only somewhere recently in our docs, hence my comment.
If we mean to allow standalone tags, we should say so explicitly.