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

Re: Validity constraint: ID Attribute Default in XML Schema.

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Oct 2001 11:39:01 +0100
To: Jeni Tennison <jeni@jenitennison.com>
Cc: KAZUMI Saito <ksaito@jp.fujitsu.com>, xmlschema-dev@w3.org
Message-ID: <f5bbsj0klh6.fsf@cogsci.ed.ac.uk>
Jeni Tennison <jeni@jenitennison.com> writes:

> Hi Kazumi,
> 
> > What is correspond to "Validity constraint: ID Attribute Default" in
> > the XML 1.0 about the XML Schema. I can't find it.
> 
> I think you're referring to http://www.w3.org/TR/REC-xml#id-default
> which reads:
> 
>   Validity constraint: ID Attribute Default
> 
>   An ID attribute must have a declared default of #IMPLIED or
>   #REQUIRED.

I think the question was where _XML Schema_ expresses this -- it's at
clause (3) of the Attribute Declaration Properties Correct constraint
[1] and clause (4) of the equivalent constraint on element
declarations [2].
ht

[1] http://www.w3.org/TR/xmlschema-1/#coss-attribute
[2] http://www.w3.org/TR/xmlschema-1/#coss-element
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Monday, 22 October 2001 06:38:19 GMT

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