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

RE: XML-Data, "&" and inheritance

  • From: Charles Frankston <cfranks@m...>
  • To: 'Rick Jelliffe' <ricko@a...>, xml-dev <xml-dev@i...>
  • Date: Mon, 27 Apr 1998 15:39:26 -0700

RE: XML-Data
Just to take issue with some of what Rick Jelliffe said about XML-Data's
schema syntax:

> -----Original Message-----
> From: Rick Jelliffe [mailto:ricko@a...]
> Sent: Monday, April 27, 1998 11:53 AM
> To: xml-dev
> Subject: Re: XML-Data, "&" and inheritance
> Also, I cannot see why XML-data does not use regular expression syntax
> for specifying content models. I can see many good reasons for using
> elements for defining types, but not for using elements for 
> each part of
> a content model. I note that the OmniMark program SGML2DTD, which
> converts DTDs into a form quite similar to XML-data converts a
> certain company's (XXX)  version of DOCBOOK DTD from 178K to
> about 600K. This seems an enormous overhead. If this is so, then
> XML-data schemas (as they are now) are really only suitable 
> for smaller
> DTDs (i.e, those belonging to databases), for web use.
> 

I think there are good reasons to not use regular expression syntax:

1. It is not easily read by those who have not been working with it for many
years.  I think millions of HTML authors can figure out XML-Data's verbose
syntax much more quickly than they can learn regular expressions.  I think
this makes the verbosity worthwhile.

2. I can use the same XML tools to deal with the XML-Data schema documents
as I use to deal with my other XML documents.  If regular expressions were
used for even part of the syntax, this wouldn't be the case, and I'd need a
regular expressio parser.

3. A large schema built from scratch in XML-Data should be able to save a
lot of space by using inheritence to avoid copying large sections of similar
schema information.

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.