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

Re: Please stop writing specifications that cannot be parsed/

  • From: Marcus Reichardt <u123724@gmail.com>
  • To: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
  • Date: Sun, 4 Jun 2023 20:53:02 +0200

Re:  Please stop writing specifications that cannot  be parsed/
FYI item 4 in the list of goals of XML is

What is meant by "easy to write programs processing XML documents"? To implement an XML parser from scratch? In that case, I guess it's relatively safe to say this is neither very easy nor relevant since, fortunately you might say, nobody is creating XML parsers from scratch. But when using a parser library anyway, then processing XML is exactly as complicated as processing SGML since the parser lib does the heavy lifting, and emits just the same SAX events in both cases.

From what I gather by eg [1], "easy to implement" comes from a hope that there could be more than a single implementation. Fortunately, that has been taken care of for SGML now ;)

But still, what does "simplicity" buy you if nearly nobody writes XML documents by hand, and you need an elaborate preprocessing pipeline and/or editor magic anyway? Clearly, one needs to distinguish markup as a delivery or archival format vs markup as an authoring format, with the latter having much more affordances for text entry of the kind that SGML has, such as tag inference, short references, markup delimiter customization, and advanced entity uses.

This leaves XML as a delivery format (as opposed to SGML in its full glory being an authoring format). But even as a delivery format, XML goal number 0 (as in paragraph 1, sentence 2 of the XML spec abstract) hasn't been achieved:




sgml.io


Am 04.06.2023 um 16:48 schrieb C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>:


"G. Ken Holman" <gkholman@C...> writes:

...
"XML Schema? I don't need no stinking XML Schema!"

Isn't that the big draw of XML over SGML?

For some people, apparently, yes.

But for the record, I believe there are other reasons to use XML over
SGML, many of them related to item 4 in the list of goals in the XML
specification.

Michael

--
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
http://blackmesatech.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: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.