Lists Home |
Date Index |
- To: email@example.com
- Subject: 2SimpleXML
- From: Redefined Horizons <firstname.lastname@example.org>
- Date: Fri, 10 Feb 2006 11:49:36 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oasybEz4L8mb4U3REEPdsh90B/gV3h+Wv6oq37cVUDSBLzsNRAybRiePnyTsYu3nzDGAz+falm69FwZRx/Z/XT6H6nDqbFSO3ZrVfwJKHeCO3XyUpaYbva7OguPxcObDitBnAOTv4oVr/Zzh7048Z+i2Y99uXOgAQT5uKNIH3BY=
I don't want to set off another debate about subsets of XML, but I
wanted to post this for others benefit. :]
I have put up a rough draft of my specification for 2SimpleXML. Other
developers that are interested in using a simpler subset of XML might
want to take a look at it. I will be using 2SimpleXML in some
application development on one of my other projects, so I will be
maintaining the specification for the foreseeable future.
If others are interested in creating a more "official" version of the
specification that they can reference, I would be willing to do so.
(Although I'm not sure how this would be accomplished.)
I am open to constructive criticism and suggestions on the spec from
this group. I actually need help with a couple of things:
 Do I need to specify that documents in 2SimpleXML should be in a
standard character set, as they did for MinimalXML? If so which
charcter set should I use? I'm guessing it would be Unicode of one
sort or another...
 I would like to provide a way to escape the "<" and ">" characters
in the content of a 2SimpleXML element. I was thinking I would just
use the "\" character as my escape character. In this case the
following would be possible:
<sample> The "test" element in this line would not be recognized by a
2SimpleXML parser. /<test\>Testing\<\/test/><\sample>
Is there a better way to do this?