possible respec note issue?

In using div or p with class note I observe that respec output is not valid. I'm not sure why that output is being created in the first place, but maybe there is a reason.

if in ReSpec source I create a note thus (Overview.src.html):

          <p class="note">
            The IETF PKIX WG "ESSCertIDv2 update for RFC 3161"
            should be consulted when referencing
            RFC 3161 [[RFC3161-PKIX-UPDATE-9]].
          </p>

in the output (Overview.html)  I get something like this

 <div class="note"><div class="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">
            The IETF PKIX WG "ESSCertIDv2 update for RFC 3161"
            should be consulted when referencing
            RFC 3161 [<cite><a class="bibref" href="#bib-RFC3161-PKIX-UPDATE-9">RFC3161-PKIX-UPDATE-9</a></cite>].
          </p></div>

This causes a validation error

Validation Output: 1 Error

        •
[cid:743af67c-1ee1-45bf-9753-e392861d2461@mgd.nokia.com]
Line 1572, Column 82: Bad value heading for attribute role on element div.
…="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">

Wouldn't it be better just to not create all the extra stuff  *and just keep it

<div class="note">
content
</div>

I did not notice this behavior earlier so maybe this is the result of a recent change?

* extra stuff: <div class="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">

thanks

regards, Frederick

Frederick Hirsch
Nokia

Received on Friday, 12 April 2013 20:43:07 UTC