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: Fri, 08 Jun 2001 09:30:39 +1000
Message-ID: <3B200E9F.F54C470C@allette.com.au>
To: "Joseph M. Reagle Jr." <reagle@w3.org>
CC: xmlschema-dev@w3.org
"Joseph M. Reagle Jr." wrote:

> Ah, stupid mistake as I expected! I should've looked after the given line of
> the error as well as before. Thanks!

I also noted that you had a uriReference type in there somewhere. This datatype
has been changed to anyURI.

Cheers,
/Eddie

>
>
> At 21:30 6/6/2001, Eddie Robertsson 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"/>
>
> --
> Joseph Reagle Jr.                 http://www.w3.org/People/Reagle/
> W3C Policy Analyst                mailto:reagle@w3.org
> IETF/W3C XML-Signature Co-Chair   http://www.w3.org/Signature
> W3C XML Encryption Chair          http://www.w3.org/Encryption/2001/
Received on Thursday, 7 June 2001 19:30:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT