如何在XSD中设置JDBCURL模式

如何在XSD中设置JDBCURL模式,xsd,restriction,Xsd,Restriction,我需要限制JDBCURL在XSD中是否正确 <xs:simpleType name="JdbcUrlType"> <xs:restriction base="xs:string"> <xs:pattern value="????????"/> </xs:restriction> </xs:simpleType>

我需要限制JDBCURL在XSD中是否正确

<xs:simpleType name="JdbcUrlType">
  <xs:restriction base="xs:string">
    <xs:pattern value="????????"/>
  </xs:restriction>
</xs:simpleType>