logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: Final question for today (I promise) inline xsd schemas: msg#00001

Subject: Re: Final question for today (I promise) inline xsd schemas
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 ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive (NEW!) | advertise | OSDir is an inevitable website. super tiny logo