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

Re: XSchema Spec - XSchema Element (Sections 2.0 and 2.1), Draft 4

  • From: rbourret@d... (Ron Bourret)
  • To: xml-dev@i...
  • Date: Fri, 10 Jul 1998 16:43:52 +0200

attribute outside of element
> Major Question: Do we want Attribute declarations allowed outside of element 
> declarations?  If yes, we need to do that here.  This will be fairly minor 
> surgery; the AttDef element will also need a new attribute for its parent 
> element.  The XML 1.0 spec doesn't have any such production - it just uses 
> Name.

I vote yes.  There are two reasons, both for user convenience.  First, it allows 
multiple attribute declarations for the same element; in this case, the Element 
attribute of the AttList element points to the relevant ElementDecl.  Second, it 
is a convenient shorthand for an attribute applying to all elements; in this 
case, the Element attribute of the AttList element is omitted.

> 2.1 The XSchema Element
>
> [snip]
>
> The XSC:XSchema element contains other elements describing the XSchema and 
> building a schema. These elements are described in later sections of this 
> specification. The XSC:XSchema element may also contain other XSC:XSchema 
> elements nested inside of it.

I think it would be useful to explain further why an XSchema might be nested 
under another XSchema.  In my mind, the major reason is reusability -- this 
structure means that the contents of two XSchemas can simply be placed inside 
the contents of a third XSchema.

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.