[Home] [By Thread] [By Date] [Recent Entries]

  • From: KAZUMI Saito <ksaito@j...>
  • To: xml-dev@l...
  • Date: Thu, 08 Mar 2001 12:49:04 +0900

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

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"/>
  ...

or

<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
            xmlns:xsdatatype="http://www.w3.org/2000/10/XMLSchema-datatypes">
  <xsd:element name="comment" type="xsdatatype:string"/>
  ...

-----
 KAZUMI Saito  FUJITSU Laboratories Ltd.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member