On Nov 17, 9:48 am, Louis Landry <
louis.lan...@joomla.org> wrote:
> Great catch Paladin,
>
> I wonder how many people have been frustrated with this in the last couple
> of years :-)
>
> XML is case sensitive isn't it? That being the .... case .... wouldn't we
> want JSimpleXML to be case sensitive as well? I'm thinking that we most
> certainly shouldn't force anything to lowercase and should be matching tags
> as exact matches -- including case.
XML allows a-z, A-Z, 0-9, plus three "special" chars : -, _, and .
along with special accented characters like the cedilla for I18N
support for element names. For attribute names, I'm a little foggier.
Any XML element may contain data as well as other elements, and in
fact may contain several different "batches" (for lack of a technical
term) of data with elements between them.
I can easily extend JSimpleXMLElement to encompass the first part of
that (expanding allowed element names and attribute names). the
multiple bunches of data is a little harder, so I may approach it in
two stages, grabbing the low-hanging fruit first, then coming back
later for the harder stuff.