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

Re: What are XML's namespaces?

  • From: "W. Eliot Kimber" <eliot@i...>
  • To: Eric Baatz - Sun Microsystems Labs BOS <ebaatz@b...>, xml-dev@i...
  • Date: Mon, 21 Apr 1997 06:35:46 -0900

hytime xml namespace
At 07:15 PM 4/20/97 -0400, Eric Baatz - Sun Microsystems Labs BOS wrote:
>I didn't notice any mention in the April Draft of XML having one or
>more namespaces.  By that I mean if element names and attribute
>names share the same namespace then I can't have an element with
>the same name as an attribute.  I suspect that the answer is
>"just like SGML," but I'm deathly ignorant of SGML, so I need
>a layman's explanation or a narrowly focused pointer into a
>document about SGML that I can borrow or find on the Web.

The full set of name spaces in SGML is defined in the SGML property set,
first published in the DSSSL standard (see www.jclark.com for an electronic
copy) and soon to be re-published, slightly revised, in the HyTime standard.

The primary name spaces in SGML are:

o Element types: unique within a document
o General entity names: unique within a document
o Parameter entity names: unique within a document
o Element IDs: unique within a document
o Notation names: unique within a document
o Attributes: unique within an element type
o Name groups as attribute value prescriptions: Unique within an element
  type (today), soon to be unique within an attribute w/in an element type

All names except entity names are not case sensitive in the reference
concrete syntax.

Note that architectures and applications could define additional name
spaces by defining either extensions to the SGML property set (as HyTime
does) or their own semantic property set (as HyTime also does) in which
additional name space properties are defined.

As a resource for further investigation, you may find the
recently-published "The Concise SGML Companion", by Neil Bradley to be
useful.  It provides a compact and very accessible reference to the SGML
standard.  I found it to be very accurate (I only found a few errors of
fact, and most of those were quibles that only SGML wonks like me would
care about).  ISBN 0-201-41999-9, 29.95 Dollars US, Addison Wesley.

Cheers,

Eliot

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (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.