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

Re: XML-Data: advantages over DTD syntax?

  • From: "Rick Jelliffe" <ricko@a...>
  • To: "Jonathan Robie" <jwrobie@m...>
  • Date: Tue, 30 Sep 1997 04:25:53 +1000

advantages of abstracting data

 
> From: Jonathan Robie <jwrobie@m...>
 
> Of course, all existing SGML and XML tools know how to deal with DTDs,
> and this is a rather major departure from traditional SGML. It has not
> been blessed by any standardization committee. Given the way Microsoft
> has approached Java, insisting that it need not implement the portable
> libraries everyone else is using, and encouraging people to use their
> platform-specific libraries instead, it is easy to wonder what will
> happen to the SGML world if Microsoft is in control of an alternative
> method of specifying content models.
 
XML-data would probably fail, that's what.

Because their form of schemas are so complicated and verbose to read
that you will need browsing tools to manipulate them.  This in turn
gives schemas (even though they are written in XML) the nature
of binary objects rather than textual objects.  It seems the weight
of experience is against people making successful schema languages
in non-textual forms.  

For example, Bento and the OpenDoc storage system included API-driven 
routines for decorating cleverly stored objects with all sorts of 
interesting type information, including type conversion, and so it 
can be considered -- in part -- a schema system.  Failing to
have a text form, the thing failed to thrive.  The XML-data 
system does have a text form, but it complicates matters so much by
not having a simple text form (e.g. a separate declaration
syntax) that it seems to be unreadable.

In my view, declarations are actually a kind of processing instruction,
targetted at the parser or entity manager, which also may be of
interest to the application (sorry for using SGML jargon). 
The XML-data view seems to be that they are, more essentially, 
data rather than processing instructions. Tim Bray has said
frequently "metadata is data", to which I would say 
"processing instructions are sometimes data, sometimes not".

Have the XML-data people ever made any requests to ISO for
suggested improvements to the declaration syntax to give
them the functionality they need? (This is unfair really,
since I think XML-data is an experimental system, and 
therefore a good place to generate user requirements for
a less verbose syntax.) Have they proved that
a single-tag language is easier to use than one with multiple
types of tags?  

I am certainly in 100% favour of schema systems and stronger typing
and abstracting interesting information about data into 
header elements. I proposed the SEEALSO parameter in the 
current WebSGML TC specifically to allow richer declarations 
of syntax using any kind of exotic notations including natural 
language, so I am the last person to say that SGML declarations
are enough for all uses.

But I am simply not convinced that XML-data represents a 
usable alternative to the standard declarations (in the
same market), and I think XML-data should not compete 
(or been talked about as competing!) with the standard 
declarations. Their purposes are, I hope, quite
different.



Rick Jelliffe


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.