Like methods, we don't know in advance the list of all protocols. Someone could decide to write a connector for some custom or new protocol and we should still allow it.
However, we could restrict the protocol name to not include spaces for example (bad for XSD lists) and restrict the allowed delimiters. Jerome > -----Message d'origine----- > De : Piyush Purang [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 11 octobre 2006 12:42 > À : [email protected] > Objet : Re: Beta 19 and fluent builders > > And use the the following to restrict protocols? > > <xsd:simpleType name="Protocols"> > <xsd:list itemType="Protocol"/> > </xsd:simpleType> > > <xsd:simpleType name="Protocol"> > <xsd:restriction base="xsd:string"> > <xsd:enumeration value="HTTP"/> > <xsd:enumeration value="HTTPS"/> > <xsd:enumeration value="FTP"/> > <xsd:enumeration value="SMTP"/> > <!-- and so on ... --> > </xsd:restriction> > </xsd:simpleType> > >

