This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In Section "5.1.6 Using the microdata DOM API" in the final example after "...it would result in the following output:" the <ul> list is incorporated in another <ul> list with one <li>. That outer <ul> list is not necessary for the document markup.
Read the example again, it has to be there for the example to be correct.