<xs:schema targetNamespace=“obj-sys.com/mySchema

                xmlns:elementFormDefault="qualified"
                xmlns="http://obj-sys.com/mySchema"
                xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="testElem">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:pattern value="[^.:/]+"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

</xs:schema>