Re: xml to array
| From: | Brian V Bonini | Date: | Sat, 04 Feb 2006 13:50:59 +0000 |
| Subject: | Re: xml to array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229872@lists.php.net to get a copy of this message | ||
On Fri, 2006-02-03 at 16:23, Richard Lynch wrote:
> I've got my money on the XML spec REQUIRING an alphabetic start to
> tagnames, and subsequent characters can be alphanumeric...
>
> In other words, it doesn't work because <0> is not a valid XML tag.
Yeah, that was my instinct too... Just could not find anything to
confirm it after a quick browse through the spec. Though can you find
anything in the spec via a quick browse.. ;-)
However, after a closer look I still can't find (at least in plain
English) anything that says this is NOT OK. Though the parser does
return '[xml_error] => not well-formed (invalid token)'.
Good stuff....
-Brian
--
s/:-[(/]/:-)/g
Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Key Info: http://gfx-design.com/keys
Linux Registered User #339825 at http://counter.li.org