RE: string required?

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