<xsd:element name="pragmaContents"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="(([^#]|#+[^\)#])*#*)"/> </xsd:restriction> </xsd:simpleType> </xsd:element>