Re: SimpleXML and Default Cast To String
| From: | Sterling Hughes | Date: | Mon, 12 Jan 2004 23:40:13 +0000 |
| Subject: | Re: SimpleXML and Default Cast To String | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7029@lists.php.net to get a copy of this message | ||
> On Mon, 12 Jan 2004, Sterling Hughes wrote:
>
> > > What's the ultimate goal for simpleXML? I have been hesitant from ever
> > > touching this extension as what I thought it was intended to do, seems
> > > simplistic to where it acutally (is going/went?). Correct me if I'm wrong,
> > > but when it started I thought simpleXML's intent was to handle XML
> > > structures containing only elements and attributes (or at least ignoring
> > > everything else). The structure could never contain an element which had an
> > > attribute named the same as one of its child elements (otherwise you would
> > > need to be adding functionality as well to distinguish when you work with
> > > the attribute or element). Also, elements would contain either text or
> > > children elements but not both.
> > >
> >
> > Now that Zend can differentiate between array accessors and property accesses,
> > attributes and nodes should be separated.
>
> I might be crazy, but they already are. This was changed months ago.
>
> I am the only one who actually uses SimpleXML? :)
>
:)
I know the code was in there, i didn't know it forcibly separated it.
It seems it does.
-Sterling