OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Schema built-in data type namespace URI.



KAZUMI Saito <ksaito@jp.fujitsu.com> writes:

> The built-in datatypes defined by XML Schema part2 has namespace URI
> (see 3.1 Namespace considerations in XML Schema part2): 
> 
>    * http://www.w3.org/2000/10/XMLSchema-datatypes

This is a convenience namespace URI for a namespace which contains
_only_  the names of the builtin datatypes.  It is not for general
schema usage.

> To declear the element which has the built-in datatype, which is correct?
> 
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
>   <xsd:element name="comment" type="xsd:string"/>
>   ...

This is the correct form.

ht
-- 
  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/