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

Thanks for your reply.

In message "Re: Validity constraint: ID Attribute Default in XML Schema.",
Jeni Tennison wrote...
 >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.

Yes.

XML Schema 1.0 does not constrain such things ?  Can I declear
the attribute which has the use attribute without the value 'required' 
as following ?

<xs:attribute name='id-type-attr' type='xs:ID' use='optional' />

-----
 KAZUMI Saito  FUJITSU Ltd.

Received on Sunday, 21 October 2001 20:53:41 UTC