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

RE: string required?

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Fri, 21 Jul 2000 08:36:05 -0700
Message-Id: <376E771642C1D2118DC300805FEAAF4386DD0A@pars-exch-1.ca.kp.org>
To: "'inq@zoom.co.uk'" <inq@zoom.co.uk>
Cc: www-xml-schema-comments@w3.org
> -----Original Message-----
> From:	inq@zoom.co.uk [SMTP:inq@zoom.co.uk]
> Sent:	Friday, July 21, 2000 5:47 AM
> To:	www-xml-schema-comments@w3.org
> Subject:	xsd:string required?
> 
> 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!?
> 
Yes, it is perfectly legal.  As with all namespace applications, what must
match is the namespace NAME (or URI), not necessarily the prefix.

pvb
Received on Friday, 21 July 2000 11:47:05 UTC

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