2 POD Errors

The following errors were encountered while parsing the POD:

Around line 173:

'=end defn =begin item test' is invalid. (Stack: =begin pod)

Around line 181:

'=end item =end pod T1 $t->is_deeply_xml( $x, q#<?xml version="1.0"?> <pod xmlns:pod="http://perlcabal.org/syn/S26.html" pod:type="block"> <defn pod:type="block"> <_DEFN_TERM_ pod:type="block">i1</_DEFN_TERM_> <_ITEM_ENTRY_ pod:is_multi_para="1" pod:type="block" pod:listtype="definition"> <para pod:type="block"> text</para> <code pod:type="block"><![CDATA[ code data data text]]></code> </_ITEM_ENTRY_> </defn> <item pod:type="block"> <_ITEM_ENTRY_ pod:is_multi_para="1" pod:type="block" pod:listtype="unordered"> <para pod:type="block">test</para> <code pod:type="block"><![CDATA[ code code]]></code> </_ITEM_ENTRY_> </item> </pod> # ); } 1;' is invalid. (Stack: =begin pod)