[Using Sakai] some form questions

Christian Aziz caziz at rutgers.edu
Fri Apr 10 10:49:09 PDT 2009


Luke, 

It seems to me the only reason why Sakai didn't like it is the very first <xs:element> 'name' attribute was empty. Since that is the document's root node, Sakai doesn't know what to do with it. You'll notice it worked on the new one because that was included. 

Best regards, 






Christian V. Aziz - Instructional Designer 
Office of Instructional and Research Technology 
Rutgers, The State University of New Jersey 

101K Administrative Services Building Annex 1 
56 Bevier Road, Piscataway, NJ 08854 
Tel: 732-445-8732 | Fax: 732-445-5539 


----- "Luke FERNANDEZ" <LFERNANDEZ at weber.edu> wrote: 
> 
> 
> I've just been fiddling with creating forms after a hiatus and I had a few questions. I've been using the form builder at: 
> 
> http://trident.cdws.ucf.edu/xsdweaver/ 
> 
> When I generated an XSD (see the XSD in the PS) and then tried to create a form with it using the form tool the form tool wouldn't create it (although it didn't throw a validation error). As a benchmark I tried running through the process again with an old XSD I had lying around (see PSS) and it worked. 
> 
> This suggests to me that the above URL for generating XSD may not always generate stuff that Sakai's form builder can consume. Or is there another explanation? What form builder are people using these days that will generate XSDs that Sakai will gulp down without issues? 
> 
> Cheers, 
> 
> Luke 
> 
> PS: (Bad XSD:) 
> 
> <?xml version="1.0" encoding="UTF-8"?> 
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 
> <xs:element name=""> 
> <xs:annotation> 
> <xs:documentation source="ospi.label"></xs:documentation> 
> <xs:documentation source="ospi.description"></xs:documentation> 
> </xs:annotation> 
> <xs:complexType> 
> <xs:sequence> 
> <xs:element name="Namex" minOccurs="1"> 
> <xs:annotation> 
> <xs:documentation source="ospi.label">Labelx</xs:documentation> 
> <xs:documentation source="ospi.description">Descriptionx</xs:documentation> 
> </xs:annotation> 
> <xs:simpleType> 
> <xs:restriction base="xs:string"> 
> <xs:maxLength value="100"/> 
> </xs:restriction> 
> </xs:simpleType> 
> </xs:element> 
> <xs:element name="NamexFile" minOccurs="1"> 
> <xs:annotation> 
> <xs:documentation source="ospi.label">LabexxFile</xs:documentation> 
> <xs:documentation source="ospi.description">DescxFile</xs:documentation> 
> </xs:annotation> 
> <xs:simpleType> 
> <xs:restriction base="xs:anyURI"> 
> </xs:restriction> 
> </xs:simpleType> 
> </xs:element> 
> </xs:sequence> 
> </xs:complexType> 
> </xs:element> 
> </xs:schema> 
> 
> 
> PSS (Good XSD): 
> 
> <?xml version="1.0" encoding="UTF-8"?> 
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> 
> <xs:element name="evaluation"> 
> <xs:complexType> 
> <xs:sequence> 
> <xs:element name="title" minOccurs="1" type="xs:string"/> 
> <xs:element name="comment" minOccurs="1" type="xs:string"> 
> <xs:simpleType> 
> <xs:restriction base="xs:string"> 
> <xs:maxLength value="512" /> 
> </xs:restriction> 
> </xs:simpleType> 
> <xs:annotation> 
> <xs:documentation source="ospi.label">Write your evaluation below</xs:documentation> 
> <xs:documentation source="ospi.description">Give your reason here</xs:documentation> 
> <xs:documentation source="ospi.isRichText">true</xs:documentation> 
> </xs:annotation> 
> </xs:element> 
> </xs:sequence> 
> </xs:complexType> 
> </xs:element> 
> </xs:schema> 
> 
> 
> _______________________________________________ 
> sakai-user mailing list 
> sakai-user at collab.sakaiproject.org 
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user 
> 
> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe" 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20090410/06908285/attachment-0001.html 


More information about the sakai-user mailing list