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

RE: XML and ConciseXML

  • To: <xml-dev@l...>,"Mike Plusch" <mplusch@c...>
  • Subject: RE: XML and ConciseXML
  • From: "Franci Penov" <francip@m...>
  • Date: Mon, 20 Jan 2003 14:09:40 -0800
  • Thread-index: AcLAzIxdu//2RMeVSuqapPgFjonpvQAAWDHQ
  • Thread-topic: XML and ConciseXML

xml umh

Excuse me, if somebody already pointed this to you.


The XML document below explicitly expresses well-formed (and hopefully valid) response to a call (methodResponse element). It specifically shows that there is one result (param element) and it is of type double, not integer (double element). It also shows that in some situations i might expect more than one result (params element).

Of course, it might turn out that it was returned in XML structure my program does not understand. However, it still has all this additional context information.


The ConciseXML form you show is expressing... umh, for the lack of better word - something. It might be an integer, double, error code, request for authentication, the name of my dog or just plain garbage that came over the transport.


The example you choose is definitely not good. You need to make better example how ConciseXML will represent all the information represented by an XML 1.0 document with less wordiness.





Disclaimer: The text of this message represents the author’s personal opinion and in no way should be considered as official position of author’s employer.


----- Original Message -----

From: "Mike Plusch" <mplusch@c...>

To: "xml-dev" <xml-dev@l...>

Sent: Monday, 20 January 2003 05:48

Subject: XML and ConciseXML


> In case folks think I'm making this stuff up, I just got
> an email from the InformIT newsletter that reaches about
> 1 million developers.
> The featured article is called:
> "Processing XML with Java: Reading XML"
> "Reading an XML document is a complicated, error-prone operation.
> Elliotte Rusty Harold discusses how to use an XML parser to read the
> document for you."
> Here's the URL:
> 89-A4BF-244D25BC7301}&011903
> The first XML document shown is the following:
> <methodResponse>
>   <params>
>     <param>
>       <value><double>28657</double></value>
>     </param>
>   </params>
> </methodResponse>
> In ConciseXML, it becomes the following:
> 28657
> Both forms are expressing the same thing, an
> integer returned from a method call.
> XML 1.0 took: 126 characters.
> ConciseXML took: 5 characters.
> Isn't there anyone out there who thinks it
> is ridiculous to have a syntax that uses
> 126 characters to express an integer?


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.
First Name
Last Name
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.