-
Notifications
You must be signed in to change notification settings - Fork 29
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
Invalid html in guidelines #47
Comments
Where did you find this information that |
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code 'Phrasing content' are the only allowed tags within |
I see. It's not allowed as genuine html tag. If I understand it right, the divs and spans in the Declaration part are used for styling purposes (indentation, coloring)? How is it generated? Automatically? |
All that is generated automatically on commit. However, the code in there is quite old, and has been adjusted several times to different needs (it's been generating the starting point for our Guidelines PDFs in the past, amongst other things). There have been all kinds of issues in the past, and given that I've essentially build a similar thing last week twice (the only hard part is resolving the various classes), I'm inclined to completely replace the XSLT with something more specific, including better documentation. This would address not only #47, but also #46, #59 and #35. With some assistance (probably by @ahankinson) it could also address (or at least prepare for) #28. I'm happy to do that, but won't be able before middle of next week. |
Could we use LibMEI and have a guidelines output for it? |
Given that the libmei processor is essentially just a bunch of xpath queries in Python, I don't think there is much advantage to that over XSLT. |
HTML errors/warnings
|
that's the code I kept ;-)
… Am 05.12.2018 um 13:03 schrieb Klaus Rettinghaus ***@***.***>:
HTML errors/warnings
• still div within code
• div does not allow xml:space="preserve"
• script may omit type attribute.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Over two years later I thought it would be a good time to test again. Same as before with on severe new one:
|
Is this still an issue @rettinghaus ? |
My comment above has lost none of its relevance. |
The Declaration fields in the guidelines, that present the ODD snippet, are invalid, because
<div>
is not allowed within<code>
.Example:
http://music-encoding.org/guidelines/dev/data-types/data.uneumename.html
The text was updated successfully, but these errors were encountered: