OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Comment on Section 9.2 Variables


Hello Colleagues:

I am not sure if this (minor) issue has been previously
raised....

I was reading section 9.2 of the July 30th, 2004
specification and the accompanying schema:

<variables>
        <variable name="ncname" messageType="qname"?
               type=”qname”? element=”qname”?/>+
</variables>

The specification states:

"The messageType, type or element attributes are used to
specify the type of a variable. Exactly one of these
attributes must be used."

I think it would be more appropriate for the schema to
use an xsd enumeration. "MessageType", "type" and "element"
aren't different attributes but rather different values
that describe a variable's type. Also the current schema
won't prevent one from defining two or more of the
attributes exactly once.

Cheers,
Andrew





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]