This code is from the code example from the HTML5 spec:
<hgroup>
<h1>The reality dysfunction</h1>
<p>Space is not the only void</p>
</hgroup>
See: https://html.spec.whatwg.org/multipage/sections.html#the-hgroup-element
The validator in XXE 11 says that <p> is not permitted in that context.
And for the record, <https://validator.nu> says the same thing. Whereas
the Nu validator of W3.org says what the spec says, that it is permitted
- <https://validator.w3.org/nu/#textarea>
So I suggest that you update the validator in XXE to be in accordance
with the spec.
For history, the <hgroup> element used to permit one or more h1-h6
elements. Whereas the current spec says
* «Zero or more p elements, followed by one h1, h2, h3, h4, h5, or h6
element, followed by zero or more p elements»
It seems like engine behind validator.nu is several versions behind the
version at validator.w3.org/nu – the old engine expect only h1-h6
elemenbts, whereas the new engine is in accordance with the spec. And it
seems the validator inside XXE has the same issue - it accepts only
h1-h6 elements.
Leif Halvard Silli
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support