Re: Enumerations in schema

> 	<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.

	/r$

--
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