Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

For discussion: Ignoring elements is not browser compatible #37

Open
ptsefton opened this issue Nov 5, 2015 · 1 comment
Open

For discussion: Ignoring elements is not browser compatible #37

ptsefton opened this issue Nov 5, 2015 · 1 comment

Comments

@ptsefton
Copy link

ptsefton commented Nov 5, 2015

IF the aim is to make Scholarly HTML documents browser compatible then this is problematic: "Any children of article that are not section elements are ignored." Does this mean, for example that some document content would not display?

@darobin
Copy link
Contributor

darobin commented Nov 6, 2015

SH does not define any rule for browser processing. I have no expectation that browsers will ever implement anything specific here. The rules apply to software consuming SH in order to extract information relevant for SH means. Ignoring what you don't understand (and is likely not meant for you) is a strong principle of robustness. It is also very convenient because it means that SH is embeddable in relatively arbitrary content.

The style of the spec is still informal at this point; this is being addressed incrementally. The above should be made clearer when the conformance class for SH processors is introduced, making it obviously distinct from browsers. (Leaving this open until that is done.)

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

No branches or pull requests

2 participants