You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shehan Simen <ss...@itree.com.au> on 2008/07/25 07:31:49 UTC
wsdl string pattern
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.
Re: wsdl string pattern
Posted by Jeff Greif <je...@gmail.com>.
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org