W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: ?? Invalid: 'name' must be an NCName

From: Eddie Robertsson <eddie@allette.com.au>
Date: Thu, 07 Jun 2001 11:30:58 +1000
Message-ID: <3B1ED952.34D71CE5@allette.com.au>
To: "Joseph M. Reagle Jr." <reagle@w3.org>
CC: xmlschema-dev@w3.org
"Joseph M. Reagle Jr." wrote:

> I don't understand the error resulting from [1], "Invalid: 'name' must be an
> NCName". I've been looking at it and can't figure what I've done wrong, must
> be something stupid but obvious ...?
> http://www.w3.org/Encryption/2001/04/schema/enc-example.xml with
> http://www.w3.org/Encryption/2001/04/schema/20-xenc-schema.xsd

On the line of the error you have:

<element name="enc:CipherData" type="enc:CipherDataType"/>
You can't use a QName as the name of the element. Should probably be:

<element name="CipherData" type="enc:CipherDataType"/>

Received on Wednesday, 6 June 2001 21:31:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC