Re: Re: XML_Serializer - Style of empty tag
| From: | bertrand Gugger | Date: | Wed, 01 Dec 2004 13:30:46 +0000 |
| Subject: | Re: Re: XML_Serializer - Style of empty tag | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15944@lists.php.net to get a copy of this message | ||
Ignatius Reilly wrote:
by "non-standard" I meant non-W3C standard compliant (XML 1.0), not non-PHP or non-PEAR compliant (whatever that would mean) It's what I mean too.XML processors are out of pear's control. So just an option from XML_Serializer more (not breaking BC for those not giving it) is not so a big stuff. (hmm! I'm not he worker there) BTW & poor related, I would allways like to open a new basic class with some parameter/property $_options: open associative array for (future) options
<>From: http://www.w3c.org/TR/2004/REC-xml-20040204/#sec-starttags Empty-element tags MAY be used for any element which has no content, whether or not it is declared using the keyword EMPTY. For interoperability, the empty-element tag SHOULD be used, and SHOULD only be used, for elements which are declared EMPTY.-- bertrand Gugger (toggg)