OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Element declaring

[ Lists Home | Date Index | Thread Index ]

> The type is a union of a restricted type and that type's base type, isn't
> that always just equivalent to the base type?

Sure.  It's like saying "xsd:string" except that it gives special
significance to particular values.  You can enumerate them in the schema,
define semantics in a spec more easily, etc.

It's just a neat hack.  For standards, in particular, that want to define
some base functionality and still allow an extensibility point, this makes
it explicit.

--  Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
XML Security Overview      http://www.datapower.com/xmldev/xmlsecurity.html


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS