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

Re: XML and SML

  • From: "Rick Jelliffe" <ricko@a...>
  • To: <xml-dev@i...>
  • Date: Sat, 13 Nov 1999 15:21:57 +0800

text enriched documents

From: Don Park <donpark@d...>

>I don't think the SML discussion is taking attention away
>from XML Schema discussions.  Why all the hostility, Rick?

I apologize to Don Park: there was no intention to be discourteous.

SML is a well-trodden path.

I first put out a grammar on comp.text.sgml for a simplified SGML
sometime about 1994 which I recall (I don't want to embarrass myself by
reading it) was pretty similar to what Don is suggesting, probably
SMLwith simple DTDs.  And there were several other, better efforts
around at a similar time.

At the time, Charles Goldfarb contacted me over it, and he gently
pointed out that however much SGML needed simplificiation or revision,
it had to come from credible grassroots demand and work, respecting the
generic markup principles behind SGML. In the fullness of time, that
came about through Jon Bosak and W3C, and everyone knows that the ISO
working group welcomed it (indeed, XML is incorporated into ISO 8879
through Annex L).

And, as for whether SML is a distraction from XML schemas, how many
postings have there been on XML-DEV about the structure drafts?  There
have been a couple of good ones about the datatypes, but not on the
structures, that I recall.  I predict that the moment that the XML
Schema becomes a recommendation, this mailing list will bustle with
well-reasoned calls for  simplified XML Schema--alas too late.

> Is And Borenstein's markup language XML?
> SML is and I believe it makes a difference.

The spec for text/enriched can be found at
        ftp://ftp.isi.edu/in-notes/rfc1563.txt
It has well-formed tags, a handful of pre-defined elements, the notional
top-level element must be omitted, and the notional paragraphs start tag
is (if we treat it as SGML) shortreffed to a blank line. If Don wants to
persue SML to standards-level, then one strategy could be to integrate
it with text/enriched: you could upgrade that so that if the
text/enriched document starts with a start-tag or comment, then it uses
the SGML rules other wise it uses the current text/enriched rules.

Another approach you could take for SML is to integrate it with a
short-tag system.
I have two small C utilities at http://www.sinica.edu.tw/~ricko/src/
that may be of interest.  The first short-tag-compress.c    compresses
an XML file using shorttag ommission.  The file short-tag-uncompress.c
uncompresses the file. (I wrote them to claims about verify XML's
behaviour w.r.t. deflate compression.) There is the  kernel of a very
simple XML in them it. (B.t.w., my results were that probably it would
be useful to use shorttag ommission on an XML document because even
though there was only a small effect when combined with compression, the
result was that more information would make it into the vital first
packet-group; the first group is important because it may contain link
in headers: the earlier these resources can be requested, the better the
perceived performance to the user. And, in any case, the code is so
trivial that even a 1% decrease in filesize might be enough to justify
it.)


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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.