Binding to xs:token type

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

Binding to xs:token type

mjgraham
Hi,

I have the following bind statement in my XForm:

<xforms:bind
nodeset="instance('instance')/vr:interface/vs:param/vs:dataType/@arraysize"
type="xs:token"
constraint="matches(., '([0-9]+x)*(0-9)*[*]?')"/>

but this does not seem to be applied. Does the current implementation
(3.0.1) support binding to xs:token?

    Cheers,

    Matthew



--
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: Binding to xs:token type

Alessandro  Vernet
Administrator
On 4/3/06, Matthew Graham <[hidden email]> wrote:
> but this does not seem to be applied. Does the current implementation
> (3.0.1) support binding to xs:token?

It looks like having a type="xs:token" does not add any constraint. I
have created a bug for this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304927&group_id=168&atid=350207

In the meantime, you can write the same constraint in an XPath
expression and use the constraint attribute.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet