« Return to Thread: xxforms

Re: regexpr in example work but not for me...

by Erik Bruchez :: Rate this Message:

Reply to Author | View in Thread

The schema type must be applied to your XForms instance. This will  
happen if:

1) The type is applied when the XForms engine perform schema  
validation on your instance(s)

2) You explicitly assign the type, e.g.:

<xforms:bind nodeset="link" type="link"/>

If you still can't figure it out, try to send to the list a short  
example that runs in the sandbox.

-Erik

On Apr 30, 2008, at 3:53 AM, Masen J wrote:

>> > Strange...
>> I just tried to copy from the bookcast example the regexpr for the  
>> url(link) but it´s not working...
>>
>> I have exactly the same link element in my app and I defined it in  
>> my schema, too but it´s not working...
>>
>> in my schema...
>> <xs:simpleType name="link">
>>        <xs:restriction base="xs:string">
>>            <!-- Approximative regexp for HTTP URLs -->
>>            <xs:pattern value="(https?\://([^/?#]+)/([^?#]*)(\?([^?#]
>> +))?(#(.*))?)?"/>
>>        </xs:restriction>
>>    </xs:simpleType>
>>
>> in my view.xml
>>
>> <xforms:input ref="link">
>>              <xforms:label>link</xforms:label>
>> </xforms:input>
>>
>>
>> I tried the example online on the orbeon site, it´s working.
>> Now I have the same code...it´s not working..=(
>
> --
> You receive this message as a subscriber of the ops-users@...  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: xxforms