Re: Re: extending the mdb schema format
| From: | Lukas Smith | Date: | Tue, 14 Jun 2005 17:52:00 +0000 |
| Subject: | Re: Re: extending the mdb schema format | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38130@lists.php.net to get a copy of this message | ||
Manuel Lemos wrote:
Hello, on 06/14/2005 01:25 PM Lukas Smith said the following:ah yes sorry .. thx for correcting me .. regards, LukasActually that is not the reason. Metabase uses a XML parser class based on the Expat extension that is there since PHP 3 and probably remain in PHP forever. The reason to use tag data instead of attributes is because attributes contradict the meaning of X in XML: eXtensible.Just wondering what the dislike of attributes is all about? I would have tended to use attributes for single value items, and child tags for nesting/multivalue data.. or is it just easier to parse??Well Manuel designed the original format and didnt use any attributes mainly because he didnt want to rely on any php internal xml parser which were flaky or non existant back when he wrote things. So he wanted to keep the parser simple.