- From: Allan Beaufour <beaufour@gmail.com>
- Date: Wed, 5 Apr 2006 15:57:53 +0200
- To: "Nick_Van_den_Bleeken@inventivedesigners.com" <Nick_Van_den_Bleeken@inventivedesigners.com>
- Cc: www-forms@w3.org
On 4/5/06, Nick_Van_den_Bleeken@inventivedesigners.com <Nick_Van_den_Bleeken@inventivedesigners.com> wrote: > > So how bind type="" mixes with other types also belongs in schema > > land, which says: > > "1.2.1.2.4 If there is also a processor-stipulated type definition, > > the ·local type definition· must be validly derived from that type > > definition given its {prohibited substitutions}, as defined in Type > > Derivation OK (Complex) (§3.4.6) (if it is a complex type definition), > > or given the empty set, as defined in Type Derivation OK (Simple) > > (§3.14.6) (if it is a simple type definition)." > > [http://www.w3.org/TR/xmlschema-1/#cvc-elt] > > But if this is the case, then when you have an attribute of type string in > your schema you can't restrict it by using a type contsraint to an URI by > using anyURI? Not as far as I can see, no. If it is xsd:string, any further refinements needs to derive from xsd:string. But as I wrote, I'm no schema master. -- ... Allan
Received on Wednesday, 5 April 2006 13:58:07 UTC