[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: XML Redux
- From: Kurt Cagle <firstname.lastname@example.org>
- To: John Cowan <email@example.com>
- Date: Tue, 15 Feb 2011 16:44:44 -0500
The ^^ notation in N3 has always rather bothered me, if only because visually, the ^ character in text tends to blend in, but I also know that if programmers had their druthers all keyboards would include an additional 100 non-alphabetic characters.
Member and Invited Expert
XForms, HTML Working Group
World Wide Web Consortium
On Tue, Feb 15, 2011 at 4:17 PM, John Cowan <firstname.lastname@example.org>
Michael Kay scripsit:
Sounds good to me, and I like the name "Jaxon", which currently seems
> What data structures do we need? Basically those in JSON, plus
> structured text.
to be mostly used as a spelling variant of "Jackson".
> * Maps (key - value pairs)
> * Sequences of values
> * Strings, numbers, booleans
> * Text elements
JSON's important features, then you might as well go a little further:
* The full range of IEEE 754 floats
* Language tagging in data
* XSD simple types
I'd add 0.inf, -0.inf, and 0.nan syntax for infinities and NaNs, ISO
> For syntax, extend JSON with one additional kind of value - the text
> element - which looks like an XML element today, except that the
> attributes are replaced by a property of an element called its metadata
> which may be any of the above kind of values - most often a map, but not
8601 syntax for gDate and gDateTime, and the ability to add XSD simple
type names (prepended with "^^") and language tags (prepended with "@")
to a JSON literal in either order. N3 allows this on string literals
only, but 32^^integer seems better to me than "32"^^integer.
It would probably make sense to allow only a subset of simple types.
The Unicode Standard does not encode John Cowan
idiosyncratic, personal, novel, or private http://www.ccil.org/~cowan
use characters, nor does it encode logos
or graphics. email@example.com
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: firstname.lastname@example.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please