OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help




[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: 2SimpleXML
  • From: Redefined Horizons <redefined.horizons@gmail.com>
  • 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:

[1] 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...

[2] 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?


Scott Huey


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS