W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Invalid per cvc-complex-type.1.3: undeclared attribute {None}:use

From: Svend Bent Nielsen <jawsoap@hotmail.com>
Date: Thu, 23 Oct 2003 13:22:41 +0000
To: xmlschema-dev@w3.org
Message-ID: <BAY7-F28FZ0stgr3SU000036532@hotmail.com>

Hello all,

Using http://www.w3.org/2001/03/webdata/xsv for checking my schemas, I get 
the following error "Invalid per cvc-complex-type.1.3: undeclared attribute 
{None}:use" with a link to the (I think) relevant part of the documentation.

Problem is that I don't understand it at all - I have absolutely no idea 
whatsoever as to what it means.

I give an example (which gives one error) below.
Can anyone tell me what is wrong?

If it is solvable, I will be happy for the right syntax too.

Svend Bent Nielsen

<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
	<element name="A">
				<element ref="B"/>
			<attribute ref="TestAtt"/>
	<element name="B">
			<attribute ref="TestAtt"/>
	<attribute name="TestAtt" use="required">
			<restriction base="positiveInteger">
				<enumeration value="1"/>
				<enumeration value="2"/>

Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
Received on Thursday, 23 October 2003 09:22:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC