You should consult the various Internet RFCs for allowed MIME typenames to get the allowed syntax, but your pattern will need to include hyphens at least, for such MIME types as application/octet-stream or message/external-body or x-application/my-experimental-app.

Jeff

Shehan Simen wrote:

Hi,

I want to have a pattern for a string in wsdl.

The pattern is like: string/string

e.g. : image/jpeg

Is the following pattern correct?

<xs:pattern value="([a-zA-Z])*/([a-zA-Z])*"/>

I want to introduce this pattern for MIME types.

Is it correct? Please help me.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to