Re: XML_Serializer - Style of empty tag
| From: | Ignatius Reilly | Date: | Wed, 01 Dec 2004 11:13:01 +0000 |
| Subject: | Re: XML_Serializer - Style of empty tag | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15939@lists.php.net to get a copy of this message | ||
I personally think it is not meaningful, and should not be an option.
The two forms are equivalent and processors or storage engines should and
will not care which form (silent transformations also will occur)
So it is not worth the effort providing for non-standard processors like
apparently yours.
_________________________
"Georg Bez" <georgbez@gmx.net> wrote in message
news:20041201104704.14179.qmail@pb1.pair.com...
> Hi Ignatius,
>
> > Surely it is fairly easy to transform an empty tag into your desired
form
> > with a REGEX processing after your XML serialization.
> > (for the time being I leave the exercise to the reader...)
>
> Yes, You are right completely and it puts me also before no bigger
> problems :-) to build an appropriate regex.
> My wish would be to be had this option directly in XML_Serializer. I
> hope this is not to be measured.
> If Stephan informs me that he does not find this meaningfully, no time
> or desire has ;-) has then do I the other variant. However, till there I
> still have hope.
> Perhaps this function is little bit faster in the integrated version
> than the additional regex. However, this is only an assumption.
>
> Kind Regards
> Georg