Re: package.xml 2.0 dilemma
| From: | Greg Beaver | Date: | Thu, 02 Jun 2005 23:04:23 +0000 |
| Subject: | Re: package.xml 2.0 dilemma | ||
| References: | 1 2 | Groups: | php.pear.dev php.pear.core |
| Request: | Send a blank email to pear-dev+get-37943@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
Well...it seems you have to sequence your XML to have multiples of a tag. I suppose this makes some sense as otherwise you basically have an assoc array. Still, though, it doesn't make much sense to me to force sequencing for most of the tags as they're pretty much just an assoc array. IMHO as long as the sequence doesn't actually mean anything (i.e. you could change the sequence and it wouldn't change the meaning) then the tags shouldn't be forced to be in a certain sequence. It would make perfect sense to me to take out the sequencing and have child sequences to allow for multiples of the same tag. I also think this would be easier to use.Quick note - you're talking about arrays, but I was speaking of XSchema, which is the standard used to document the contents of package.xml. Implementing this in PHP using arrays is the easy part! :) Greg