Re: XML, expat and empty tags
| From: | Davey | Date: | Sun, 27 Mar 2005 17:16:53 +0000 |
| Subject: | Re: XML, expat and empty tags | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15638@lists.php.net to get a copy of this message | ||
Vadka wrote:
Hi all! So, as it was stressed in expat one day, there are 'empty' tags, like: <foo val=''/> (without ending </foo>). For now, it is not known what a tag was parsed (XML parser ext). It is not good: the original structure of XML changes.In XML, <foo /> and <foo></foo> are identical as far as semantics are concerned. This is nothing to worry about IMO - any decent XML parser treats them the same. - Davey