Hello Chris,
i see no obvious problem with your schema but you can find a working
test in ModelTest.java/ModelTest.xhtml in package
org.chiba.xml.xforms.test. Please check back if there might be something
missing (targetNamespace or something...?)
Joern
Chris Picton wrote:
I am trying to define an xsd datatype inline, which is not working
<head>
<xforms:schema>
<xsd:schema>
<xsd:simpleType name="IPv4Address">
<xsd:restriction base="xsd:string">
<xsd:pattern
value="(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|
25[0-5])\.){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</xforms:schema>
.
.
.
I get an error (on error.jsp)
datatype 'IPv4Address' is unknown
I have attached a testing form (using 0.9.9)
Chris
------------------------------------------------------------------------
Repeats Simple repeat Insert after selected Delete selected IP Addresses
Bad IP Submit
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|