-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b23
It looks like there is a missing heading in the details section when an annotation has both required and optional elements.
In the following text, see that there are two <section> elements. The first has <h3> and <h4>. The second just has <h4>, missing <h3>
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="annotation.type.element.detail">
<!-- -->
</a>
<h3>Element Detail</h3>
<a id="a1()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>a1</h4>
<pre>int a1</pre>
<div class="block">This is required element A1. This is more text for A1.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dummy.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="a2()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>a2</h4>
<pre>int a2</pre>
<div class="block">This is optional element A2. This is more text for A2.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dummy.</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
In the following text, see that there are two <section> elements. The first has <h3> and <h4>. The second just has <h4>, missing <h3>
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="annotation.type.element.detail">
<!-- -->
</a>
<h3>Element Detail</h3>
<a id="a1()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>a1</h4>
<pre>int a1</pre>
<div class="block">This is required element A1. This is more text for A1.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dummy.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="a2()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>a2</h4>
<pre>int a2</pre>
<div class="block">This is optional element A2. This is more text for A2.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>dummy.</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>