-
Notifications
You must be signed in to change notification settings - Fork 10
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
Schema Issue, RFC 7991, In Section 2.12, <br> #37
Comments
As far as I recall, we ended up with the limited use of <br> because forcing a line break inside a table cell sometimes really is needed, while otherwise it's not. I agree consistency is nice, but this may be a case where the current approach is the right one. |
Are we still expecting humans to write this XML directly? I ask because the
number of one-offs is already staggering (esp. with attribute naming and
the number of them).
I would hope to see some simplification of the spec, which I this case
means allowing br in more places or disallowing the element entirely.
…On Mon, 1 Oct 2018, 12:44 Julian Reschke, ***@***.***> wrote:
As far as I recall, we ended up with the limited use of <br> because
forcing a line break inside a table cell sometimes really is needed, while
otherwise it's not. I agree consistency is nice, but this may be a case
where the current approach is the right one.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVkWys0zBzHCCrqrI1ffVhvKHNVMEqpks5uggAUgaJpZM4XB4Dl>
.
|
What do you mean by "one-off"?
Well, I explained why it is like it is right now (as far as I recall). I also think that these reasons are more important than consistency. Do you think that you need Do you think that we can get rid of it in table cells? |
From the list: On 2018-10-06 01:13, Heather Flanagan wrote:
|
Please re-open, based on evidence that the RPC needs the capability, and |
During discussion in the XML change management team, the RPC reported that this feature is indeed useful at times to provide fine-grained control over line breaks in table cells especially, so retaining the feature seems like the best route for now. |
Should the alternative that Henrik recommended be chosen instead? "Alternatively, |
In Section 2.12, <br>
A number of elements permits a mixed content model (see Section "Mixed
Content Model"): <li>, <blockquote>, <dd>, <td>, and <th>. However,
when using the simpler of the two content schemas, two of them (<td> and
<th>) permit inline line breaks through the use of <br> elements; the
others do not. This seems terribly arbitrary.
Recommendation: Remove the <br> element completely. Alternatively,
permit it to be used all places that 'text' and non-
block elements may be used (that is, in inline
context).
Implementation: The current version of xml2rfc renders <br> as a
newline in all inline contexts.
The text was updated successfully, but these errors were encountered: