[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Python and JSON vs XML???


python json
* Bob Foster <bob@o...> [2005-08-25 12:44]:
> Pete Cordell wrote:
> > FWIW - I've also developed a text based data representation language,
> > including on the wire format and, more significantly from what I have
> > seen of other proposals, a message specification language.
> >
> > I lowered the priority on it because the force behind XML and XML Schema
> > seemed to huge too compete against (Betamax / VHS type arguments etc.)
> > Whether the observations made below represent a genuine move away from
> > XML, or represent a small pocket of newly discovered dissenters I don't
> > know. Personally,  in the data representation space I find that
> > commercially I'm interested in XML Schema being successful, but
> > aesthetically it would be nice for something like my proposal to be
> > successful.
> >
> > I targetted this at the IETF, but at the time they seemed to be going
> > the W3C schema route.  Maybe I should knock on their door again!

> Who _hasn't_ designed a text based data representation language? ;-}

    Guilty.

> It would be interesting to collect these designs and examine them for 
> common characteristics. Some features of my last effort that I suspect 
> would appear in a number of others:

> - No attributes and no "normalization".
> - No DTDs or entities.
> - Use of brackets { [ ] } etc. instead of end tags.
> - Sequences (a la XQuery) at the document level.
> - Parse much faster than XML (of course).

    I created a language that were children were denoted by
    indentation, so it was Pythonesque. This was supposed to make
    life easier on my wrists, and make most language look like
    Python.

    xsl:stylesheet -version 2.0 
                   -xmlns:xsl "http://www.w3.org/1999/XSL/Transform"

        xsl:import -href foo.xslt

        xsl:template -match "/"

            xsl:if test "@foo = 'true'"
                xsl:message foo

            xsl:apply-templates -mode foo-mode

    No matching end tags. Children are simply indented. 

    They *only* reason I'd want this would be because it's easier to
    type. It would be more difficult to parse, and even worse to
    serialize, I'm sure.

--
Alan Gutierrez - alan@e...
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

    

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.