Bind type to schema

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bind type to schema

joac

Hi,

 

Is it posible to make an xforms:bind to a type defined in a xsd schema?

 

For example I want to restrict an attribute to my type intPos defined in a xsd file:

 

<xs:simpleType name="intPos">
  <xs:restriction base="xs:integer">
    <xs:minInclusive value="0"/>
    <xs:maxInclusive value="65535"/>
  </xs:restriction>
</xs:simpleType>

 

 

Thanks,

Jordi



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Bind type to schema

Erik Bruchez
Administrator
Jordi,

In theory, as per the spec, you should be able to do that, but for now
we only support simple types in the @type MIP.

-Erik

Jordi Amatller wrote:

> Hi,
>
>  
>
> Is it posible to make an xforms:bind to a type defined in a xsd schema?
>
>  
>
> For example I want to restrict an attribute to my type intPos defined in
> a xsd file:
>
>  
>
> <xs:simpleType name="intPos">
>   <xs:restriction base="xs:integer">
>     <xs:minInclusive value="0"/>
>     <xs:maxInclusive value="65535"/>
>   </xs:restriction>
> </xs:simpleType>
>
>  
>
>  
>
> Thanks,
>
> Jordi
>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Bind type to schema

joac
Thanks,

This would be great.

Regards,
Jordi

-----Mensaje original-----
De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
Enviado el: martes, 27 de febrero de 2007 1:44
Para: [hidden email]
Asunto: Re: [ops-users] Bind type to schema

Jordi,

In theory, as per the spec, you should be able to do that, but for now
we only support simple types in the @type MIP.

-Erik

Jordi Amatller wrote:

> Hi,
>
>  
>
> Is it posible to make an xforms:bind to a type defined in a xsd schema?
>
>  
>
> For example I want to restrict an attribute to my type intPos defined in
> a xsd file:
>
>  
>
> <xs:simpleType name="intPos">
>   <xs:restriction base="xs:integer">
>     <xs:minInclusive value="0"/>
>     <xs:maxInclusive value="65535"/>
>   </xs:restriction>
> </xs:simpleType>
>
>  
>
>  
>
> Thanks,
>
> Jordi
>
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws