W3C home > Mailing lists > Public > www-xkms@w3.org > July 2004

Re: Enumerations in schema

From: Rich Salz <rsalz@datapower.com>
Date: Mon, 5 Jul 2004 12:29:27 -0400 (EDT)
To: Berin Lautenbach <berin@wingsofhermes.org>
Cc: "www-xkms@w3.org" <www-xkms@w3.org>
Message-ID: <Pine.LNX.4.44L0.0407051223160.17481-100000@smtp.datapower.com>

> 	<simpleType name="KeyUsageType">
> 		<restriction base="QName">
> 			<enumeration value="xkms:Encryption"/>
> 			<enumeration value="xkms:Signature"/>
> 			<enumeration value="xkms:Exchange"/>
> 		</restriction>
> 	</simpleType>
> I'm not a huge expert in XMLSchema, but my understanding is that
> enumeration values are literal.

You are correct.

Bummer. :)

I guess everyone tested using 'xkms' as the NS prefix.

I *hate* qname's as attribute values.  It is very late to change them to
URI's, although I know what WS-Security did it at last-call stage. WE
could then use Gudge's "open enumeration" technique to list the URI's that
are pre-defined by the standard.

*Something* has to be fixsed, either the schema enumeration values
removed, or QNAME->URI.  I vote for the second choice.


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
Received on Monday, 5 July 2004 12:29:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:42 UTC