Assert that the tagname of the nodes are correct, factor out a method to a function which doesn't use the instance state.
Assert that the tagname of the nodes are correct, factor out a method to a function which doesn't use the instance state.

svn path=/trunk/; revision=18393

jessevdk/gtk,nacho/gtk-,davidgumberg/gtk,Distrotech/gtk2,alexlarsson/gtk,ahodesuka/gtk,simokivimaki/gtk,chipx86/gtk,davidgumberg/gtk,ahodesuka/gtk,Unity-Technologies/gtk,alexlarsson/gtk,jessevdk/gtk,chergert/gtk,ebassi/gtk,bratsche/gtk-,grubersjoe/adwaita,Adamovskiy/gtk,alexlarsson/gtk,Sidnioulz/SandboxGtk,zsx/gtk,msteinert/gtk,ebassi/gtk,Adamovskiy/gtk,nacho/gtk-,zsx/gtk,Adamovskiy/gtk,Lyude/gtk-,grubersjoe/adwaita,alexlarsson/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,grubersjoe/adwaita,Lyude/gtk-,alexlarsson/gtk,chergert/gtk,ahodesuka/gtk,chipx86/gtk,Unity-Technologies/gtk,jadahl/gtk,jadahl/gtk,msteinert/gtk,chergert/gtk,jessevdk/gtk,simokivimaki/gtk,davidt/gtk,ahodesuka/gtk,bratsche/gtk-,Unity-Technologies/gtk,chipx86/gtk,chergert/gtk,johne53/MB3Gtk-2,ahodesuka/gtk,jadahl/gtk,jigpu/gtk,jessevdk/gtk,Distrotech/gtk2,simokivimaki/gtk,davidt/gtk,jessevdk/gtk,davidt/gtk,bratsche/gtk-,msteinert/gtk,ebassi/gtk,Lyude/gtk-,msteinert/gtk,nacho/gtk-,davidgumberg/gtk,johne53/MB3Gtk-2,davidgumberg/gtk,jigpu/gtk,jadahl/gtk,Unity-Technologies/gtk,bratsche/gtk-,jadahl/gtk,alexlarsson/gtk,bratsche/gtk-,Distrotech/gtk2,Lyude/gtk-,jessevdk/gtk,Distrotech/gtk,Sidnioulz/SandboxGtk,jigpu/gtk,Distrotech/gtk2,chipx86/gtk,ahodesuka/gtk,jessevdk/gtk,Adamovskiy/gtk,ahodesuka/gtk,chipx86/gtk,johne53/MB3Gtk-2,Adamovskiy/gtk,jadahl/gtk,grubersjoe/adwaita,Distrotech/gtk,jadahl/gtk,Adamovskiy/gtk,davidt/gtk,grubersjoe/adwaita,zsx/gtk,davidgumberg/gtk,johne53/MB3Gtk-2,nacho/gtk-,Lyude/gtk-,grubersjoe/adwaita,grubersjoe/adwaita,Adamovskiy/gtk,zsx/gtk,jigpu/gtk,Distrotech/gtk,bratsche/gtk-,chergert/gtk,jadahl/gtk,simokivimaki/gtk,Lyude/gtk-,chergert/gtk,Distrotech/gtk,Distrotech/gtk2,davidgumberg/gtk,Unity-Technologies/gtk,Lyude/gtk-,grubersjoe/adwaita,jigpu/gtk,simokivimaki/gtk,jigpu/gtk,chergert/gtk,zsx/gtk,msteinert/gtk,ebassi/gtk,jigpu/gtk,Distrotech/gtk,jigpu/gtk,Sidnioulz/SandboxGtk,Lyude/gtk-,ahodesuka/gtk,Distrotech/gtk2,Sidnioulz/SandboxGtk,alexlarsson/gtk,Adamovskiy/gtk,Sidnioulz/SandboxGtk,ebassi/gtk,ebassi/gtk,nacho/gtk-,davidt/gtk,alexlarsson/gtk,davidgumberg/gtk,davidgumberg/gtk,davidt/gtk,johne53/MB3Gtk-2,simokivimaki/gtk,chergert/gtk