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

FYI--off-topic--Notation Schemas proposal

  • From: "Rick Jelliffe" <ricko@a...>
  • To: <xml-dev@i...>
  • Date: Fri, 14 May 1999 02:02:03 +1000

FYI--off-topic--Notation Schemas proposal
For anyone who is interested, there is a draft-in-progress of my ideas
for a good schema language.

It allows you do things like

* content models for attribute lists: to say element X can have
  (id & (size & size-units)? & ( href | entityref)? )

* content models for attribute values, to say that attribute Y can have
     (SATURDAY? & SUNDAY?) )

* content models for IDREFS links, to say that element Z can have IDREFS
  particular types of elements
  ( ( p | q | tbl ), (p, | q | tbl)

In other words, it treats attribute lists, attribute value lists, &
IDREF lists with the
same strong typing that is available to elements.  The foundation of my
is that everything should be modelled as a grammar: if the decision of
to make something an attribute, an element or an element reference
(IDREF) is
completely arbitrary (from the information modeled), then why not allow
strong typing on all them.  It moves XML from being a strongly-yped tree
language to being a strongly-typed graph language.

It also allows people more freedom to structure their documents, for
example to
move to flat relational-style tables without giving up strong typing.
This would
make RDF more useful too.

However, I gather some of this might be out of the scope of the XML
Schema group.
However, since apparantly XML 1.0 conformance was outside their scope
apparantly (I am being naughty: they did an amazing job to pull together
many proposals and put it out on time...lets not forget that it is only
a draft),
perhaps they may be open to developing in other directions.

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 (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...)


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.
First Name
Last Name
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.