note 111837 added to class.xmlreader

From: Date: Wed, 03 Apr 2013 14:27:46 +0000
Subject: note 111837 added to class.xmlreader
Groups: php.notes 
Request: Send a blank email to php-notes+get-194302@lists.php.net to get a copy of this message
Found this in the IXmlReader docs at msdn but it's also valid for XMLReader in PHP. You should save the value of $isEmptyElement before processing attributes, or call moveToElement to make $isEmptyElement valid after processing attributes. $isEmptyElement returns FALSE when XMLReader is positioned on an attribute node, even if attribute's parent element is empty. ---- Server IP: 69.147.83.199 Probable Submitter: 128.39.57.10 ---- Manual Page -- http://php.net/manual/en/class.xmlreader.php Edit -- https://master.php.net/note/edit/111837 Del: integrated -- https://master.php.net/note/delete/111837/integrated Del: useless -- https://master.php.net/note/delete/111837/useless Del: bad code -- https://master.php.net/note/delete/111837/bad+code Del: spam -- https://master.php.net/note/delete/111837/spam Del: non-english -- https://master.php.net/note/delete/111837/non-english Del: in docs -- https://master.php.net/note/delete/111837/in+docs Del: other reasons-- https://master.php.net/note/delete/111837 Reject -- https://master.php.net/note/reject/111837 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194302) next »