W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

Re: xsd:string required?

From: Liz Castro <lcastro@cookwood.com>
Date: Fri, 4 Aug 2000 18:02:43 -0400
Message-Id: <v0310280eb5b0eda01892@[192.168.1.101]>
To: www-xml-schema-comments@w3.org
>inq@zoom.co.uk writes:
>
>   > Would it be legal for me to rewrite the following schema:
>   >
>   > <xsd:schema xmlns:xsd="http://www.w3.org/1999/XMLSchema">
>   >   <xsd:complexType name="Name">
>   >     <xsd:element name="First" type="xsd:string"/>
>   >     <xsd:element name="Last"  type="xsd:string"/>
>   >   </xsd:complexType>
>   > </xsd:schema>
>   >
>   > as:
>   >
>   > <BOB:schema xmlns:BOB="http://www.w3.org/1999/XMLSchema">
>   >   <BOB:complexType name="Name">
>   >     <BOB:element name="First" type="BOB:string"/>
>   >     <BOB:element name="Last"  type="BOB:string"/>
>   >   </BOB:complexType>
>   > </BOB:schema>
>   >
>   > if I was suitably pervserse!?

Henry Thompson responded:

 >  Of course -- if there's anything in the draft which suggests
 >  otherwise, please point me at it.


I understand how BOB (or whatever) can be the namespace for element names,
but I don't think it is at all obvious why it should be part of the value
of an attribute.

Liz

_______________
Liz Castro
Cookwood Press
mailto:lcastro@cookwood.com
http://www.cookwood.com/

Author of these Visual QuickStart Guides
published by Peachpit Press:

HTML 4 for the World Wide Web, Fourth Edition --Bestseller!!--
Perl and CGI for the World Wide Web
Netscape Communicator 4 for Mac
Netscape Communicator 4 for Windows
(Also Netscape 2 and 3 for both Mac and Windows)

-------------------------------------------------
Bring your problem page to my live HTML clinic on the first
Tuesday of each month at http://www.worldwithoutborders.com
Received on Friday, 4 August 2000 17:56:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC