error while uploading schema

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

error while uploading schema

Altaf Syed
Hello Everyone,

I am trying to upload an XML schema with orbeon Form Builder and getting this error:

Available Schema Types Your schema does not seem to contain simple types. You won't be able to select types from this schema for validation.

I am using a very simple schema but still it gives out this error and does not upload it.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="Customer">
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="FirstName" type="xs:string"/>
                                <xs:element name="LastName" type="xs:string"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
</xs:schema>


Any help would greatly be appreciated.

thanks,
Altaf.
Reply | Threaded
Open this post in threaded view
|

Re: error while uploading schema

Erik Bruchez
Administrator
Did you check whether the schema was actually added to the form? You  
can see this with the Edit Source or View Source button in the  
Advanced section.

-Erik

On Feb 5, 2009, at 9:52 AM, Altaf Syed wrote:

>
> Hello Everyone,
>
> I am trying to upload an XML schema with orbeon Form Builder and  
> getting
> this error:
>
> Available Schema Types Your schema does not seem to contain simple  
> types.
> You won't be able to select types from this schema for validation.
>
> I am using a very simple schema but still it gives out this error  
> and does
> not upload it.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> <xs:element name="Customer">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="FirstName" type="xs:string"/>
> <xs:element name="LastName" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
>
> Any help would greatly be appreciated.
>
> thanks,
> Altaf.
> --
> View this message in context: http://www.nabble.com/error-while-uploading-schema-tp21857299p21857299.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> 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 [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws