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

Re: How could SGML help? (was RE: Blueberry/Unicode/XML)

  • From: John Cowan <jcowan@r...>
  • To: Mike.Champion@S...
  • Date: Thu, 12 Jul 2001 15:58:34 -0400

sgml unicode
Mike.Champion@S... wrote:

> I for one don't want to flame or be flamed ... just to better
> understand what the SGML solution for the "Blueberry" problem would
> be and if there is anything in SGML that could plausibly be incorporated
> into "XML 1.1" to solve the problem in a more generic way. 

SGML has the concept of the SGML Declaration.  A document can point

explicitly to the SGML Declaration associated with it, or an SGML
parser can have a default declaration.


Among other things, this enables you to declare exactly which
characters are used for start-of-tag, end-of-tag, attribute-equals,
and every other syntax role.  In particular, you can declare which
characters can appear in names, either in any position, or in any
but the first.

The default default SGML declaration, used if the parser has no
other clue, basically specifies the XML syntax with a few exceptions.
The default at the end of a PI is just ">" rather than "?>", and
only ASCII characters are allowed in names.

The designers of XML decided to sacrifice all this seldom-used
flexibility in favor of a single syntax, spelled out in the
XML Recommendation.  In order to change the syntax, therefore,
we have to change the definition of XML.

That is what the Blueberry effort is looking to do, in a
safe and backward-compatible way.

-- 
There is / one art             || John Cowan <jcowan@r...>
no more / no less              || http://www.reutershealth.com
to do / all things             || http://www.ccil.org/~cowan
with art- / lessness           \\ -- Piet Hein


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.