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

Re: XSchema Question 6: Entities

  • From: "Matthew Gertner" <matthew@p...>
  • To: "XML Dev" <xml-dev@i...>
  • Date: Fri, 5 Jun 1998 19:06:17 +0200

Re: XSchema Question 6: Entities
>Question: Should entity support be provided in XSchema?
>
>The goals do not require entity support.  During the goals process, a
number
>of people suggested staying out of the entity business, though a few also
>thought it was important.  Both Ron and John have included entity support
in
>their DTD's.

This essentially boils down to a philosophical question: is XSchema mainly a
new XML-based syntax for working with DTDs or is it the start of a new
paradigm for working with XML. My strong preference would be for the latter,
including jettisoning baggage from SGML which was included in the XML spec
for compatibility reasons but which does not necessarily make sense for new
XML applications.

Seen in this light, I don't see any reason to include entities in XSchema.
Entities are really too powerful and including them as a native construct in
the schema makes a lot of infrastructure projects far more complicated (SAX,
DOM, etc., etc.). Part of the paradigm shift that I am hoping will take
place is a move away from entities and towards more structured linking
mechanisms (i.e. XLink and XPointer). This presupposes a certain number of
things that most of us seem to take for granted anyway, such as the fact
that graphical authoring environments will replace hand-coding of XML for
most non-trivial tasks. To this I would add mixing-and-matching of schemas;
entities are abused far too much because of this current lack.

The prospect of having an XML-based syntax that takes over the roll of the
DTD for defining schema information is very exciting because the prospects
for exploiting the synergies rising from this are enormous. It becomes even
more so if:
1) Parameter entities become reusable schema fragments (I hacked together an
example of this using XLink in a previous post),
2) General entities become XLinks, reducing the free-for-all flavor of XML
and enforcing structure.
3) Character entities become transparent to the author and consumer.

BTW: I feel the same way about notations. Why not leave them out in favor of
a real typing system to be added to the XSchema core sometime in the future?
Specifying some basis atomic types, a mechanism for defining structured
types (preferably based on reuse of schema fragments) and a tie-in to MIME
types surely wouldn't be a project of any more complexity that the basis
XSchema specification.

Matthew



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.