ADB currently supports only the basic types for attribute types.

On 1/27/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

Please file a JIRA.

On 1/24/07, Eric Deshayes <[EMAIL PROTECTED]> wrote:
> Hi,
> I have tried to generate some databinding for a schema that contains
that
> type:
>   <xsd:simpleType name="CurrencyType">
>     <xsd:restriction base="xsd:string">
>       <xsd:pattern value="[a-zA-Z]{3}" />
>     </xsd:restriction>
>   </xsd:simpleType>
> as an attribute:
>
>   <xsd:complexType name="TransactionType">
>     <xsd:attribute name="quantity" type="xsd:nonNegativeInteger"
> use="required" />
>     <xsd:attribute name="price" type="xsd:decimal" use="required" />
>     <xsd:attribute name="currency" type="myProj:CurrencyType"
use="optional"
> />
>   </xsd:complexType>
>
> The generated class type (TransactionType.java) does not contain any
> currency field.
> The field only appears when the type is used as an element.
> Is that feature not supported yet? Will that be supported?
> Thanks in advance,
> Eric
>
>
>
>

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




--
Amila Suriarachchi,
WSO2 Inc.

Reply via email to