OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] SGML queries

[ Lists Home | Date Index | Thread Index ]

From: "Arjun Ray" <aray@nyct.net>

> I've found "Always start text with a tag that describes it" much easier to
> teach.  Diff'rent strokes fer diff'rent folks...

It is possible to have an SGML-based syntax that, like XML, does not
require a DTD for parsing, yet allows much useful end-tag ommission.

This syntax is pretty much what the XML, HTML and SGML modes on most
coloring editors use, and it has been given an name as part of ISO 8879:
"amply-tagged" rather than "well-formed".  

It only requires a couple of simple changes to an XML parser to create an
amply-tagged parser, and still generate SAX events.  

People who are interested in this might care to look at the note
"Editor's Concrete Syntax (ECS): a Profile of SGML for Editors"
at http://www.topologi.com/tme1-0/tme1-0-win-2002-09-09a.zip
which gives some details of the approach I have been taking.

Rick Jelliffe


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS