String lastNodeName = null;
<BUG>for ( int i = 0; i < childs.getLength(); i++ )
</BUG>
{
<BUG>Node child = childs.item( i );
</BUG>
if ( child.getNodeType() == Node.ELEMENT_NODE )
{
isList = isList || ( child.getNodeName().equals( lastNodeName ) );
lastNodeName = child.getNodeName();

String lastNodeName = null;
for ( int i = 0; i < children.getLength(); i++ )
{
Node child = children.item( i );
if ( child.getNodeType() == Node.ELEMENT_NODE )
{
isList = isList || ( child.getNodeName().equals( lastNodeName ) );
lastNodeName = child.getNodeName();
