Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Cannot load schema message...

$
0
0
I'm trying to create a schema for a document and receive a "Cannot load schema. Check that the path and that the file is a valid XML Schema File" when attempting to create a data connection to the schema. The problem appears to relate to the manner in which the List Box is created - To illustrate the problem I've used the samle mortgage application XSD and modified it to include a definition for a list box (Builiding Type)as defined below.<br /><br /><!-- Sample schema for Developing your First Application tutorial <br />     Copyright (c) 1985-2007 Adobe Systems Incorporated<br />--><br /><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"><br />   <xsd:annotation><br />       <xsd:documentation xml:lang="en"><br />       Adobe LiveCycle Workbench ES Mortgage Schema Sample<br />       </xsd:documentation><br />   </xsd:annotation><br />   <xsd:element name="MortgageApp" type="mortgageFormType"/> <br />   <xsd:complexType name="mortgageFormType"><br />       <xsd:sequence><br />           <xsd:element name="MortgageFields"    type="MortgageInfo"/><br />           <xsd:element name="ApplicantFields"   type="ApplicantInfo"/><br />           <xsd:element name="ApprovalFields"    type="ApprovalInfo"/><br />           <xsd:element name=Building Type><br />               <xsd:complexType><br />               <xsd:simpleContent><br />               <xsd:extension base=xsd:string><br />               <xsd:enumeration value=Shopping Centre/><br />               <xsd:enumeration value=Power Centre/><br />               <xsd:enumeration value=Office w/Retail/><br />               <xsd:enumeration value=Strip Mall/><br />               <xsd:enumeration value=Street/><br />               </xsd:extension><br />               </xsd:simpleContent><br />               </xsd:complexType><br />           <xsd:element><br />       </xsd:sequence><br />   </xsd:complexType><br />   <xsd:complexType name="MortgageInfo"><br />       <xsd:sequence><br />           <xsd:element name="PropertyPrice"     type="xsd:float"/><br />           <xsd:element name="DownPayment"       type="xsd:float"/><br />           <xsd:element name="Mortgage"          type="xsd:float"/><br />           <xsd:element name="Term"              type="xsd:string"/><br />           <xsd:element name="InterestRate"      type="xsd:string"/><br />        </xsd:sequence><br />   </xsd:complexType><br />   <xsd:complexType name="ApplicantInfo"><br />       <xsd:sequence><br />           <xsd:element name="LastName"          type="xsd:string"/><br />           <xsd:element name="FirstName"         type="xsd:string"/><br />           <xsd:element name="PhoneNumber"       type="xsd:string"/><br />           <xsd:element name="SSN"               type="xsd:string"/><br />       </xsd:sequence><br />    </xsd:complexType><br />   <xsd:complexType name="ApprovalInfo"><br />       <xsd:sequence><br />           <xsd:element name="Approved"          type="xsd:boolean"/><br />           <xsd:element name="Declined"          type="xsd:boolean"/><br />       </xsd:sequence><br />    </xsd:complexType><br /></xsd:schema>

Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>