Some fixes to avoid Xml::element call with null content when we actually want
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 10 May 2007 20:51:15 +0000 (20:51 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 10 May 2007 20:51:15 +0000 (20:51 +0000)
commit84a27cc33e562cf4764d4d1d67bdfe75ea966c07
tree818aa20690b93d61e04553a8e0a0443b5f46d7a1
parente02aa36b7f87ccab24858327eb4519ce9899407d
Some fixes to avoid Xml::element call with null content when we actually want
to open a XML element. It should help fix bug #5312 later on.

* XML attributes rendering now made by private Xml::expandAttributes() method
* Xml::openElement() and Xml::tags() no more rely on Xml::element() with
  a null content.
* Fix wfElement() call with null content when we actually open an element.
includes/HTMLForm.php
includes/Xml.php