Dear FPers,
I just upgraded from FP 1.4.3.1037 to 1.5.3.1004, and after that, my forms do not work anymore in IE (7.0.5730.11).
The two subsequent error messages I get are:
"formsplayer warning: 0x8004020f: schema "inline" for model "my-schema" is not valid: DTD is prohibited"
and
"A fatal error occurred in formsplayer: 0x8004020f: Schema "my-schema" for model "F_LAB" is not valid: DTD is prohibited"
The error messages are a bit confusing, as I do not have a DTD at all, only an XML-Schema.
I presume something has changed in the way in-line schemas are implemented in Formsplayer, but I haven't been able to find out what exactly.
Can you tell me what I need to change/correct ?
Please find the form (simplified from the real one) below.
Many thanks in advance !
Jozef Aerts
========== the form =========
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<object width="0" height="0" id="FormsPlayer" classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58">
<b>FormsPlayer has failed to load! Please check your installation</b>
</object>
<?import namespace="xforms" implementation="#FormsPlayer"?>
<head>
<title xmlns="http://www.w3.org/1999/xhtml">XForm automatically generated from ODM Study Definition</title>
<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="main.css" type="text/css"/>
<xforms:model id="F_LAB" schema="#my-schema">
<xforms:submission action="http://localhost:8080/XML4PharmaServer/ecrf2odm.do" method="post" id="submit" replace="all" omit-xml-declaration="false"/>
<xforms:instance>
<CRF xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FormFile>file:///c:/apache_tomcat/apache-tomcat-5.5.17/webapps/XML4PharmaServer/temp/xform2007419202429.6256.html</FormFile>
<FormID Label="Laboratory">F_LAB</FormID>
<SubjectID/>
<StudyEventID>system-generated</StudyEventID>
<IG_COMMON Label="Common">
<I_SITE Label="Site #"/>
<I_SUBJECTID Label="Subject ID #"/>
<I_VISIT Label="Visit Date"/>
</IG_COMMON>
</CRF>
</xforms:instance>
<xforms:bind nodeset="/CRF/SubjectID" required="true()"/>
<xforms:bind nodeset="/CRF/StudyEventID"/>
<xforms:bind nodeset="/CRF/IG_COMMON/I_SITE" required="true()"/>
<xforms:bind nodeset="/CRF/IG_COMMON/I_SUBJECTID" required="true()"/>
<xforms:bind nodeset="/CRF/IG_COMMON/I_VISIT" required="true()" type="xsd:date"/>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="my-schema">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
<xsd:element name="CRF">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FormFile" type="xsd:string"/>
<xsd:element ref="FormID"/>
<xsd:element name="SubjectID" type="xsd:string"/>
<xsd:element name="StudyEventID" type="xsd:string"/>
<xsd:element ref="IG_COMMON" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="FormID">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="Label"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="IG_COMMON">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="I_SITE"/>
<xsd:element ref="I_SUBJECTID"/>
<xsd:element ref="I_VISIT"/>
</xsd:sequence>
<xsd:attribute name="Label"/>
<xsd:attribute name="RepeatKey" type="xsd:integer"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="I_SITE">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="Label"/>
<xsd:attribute name="CodeListOID"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="I_SUBJECTID">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="Label"/>
<xsd:attribute name="CodeListOID"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="I_VISIT">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:date">
<xsd:attribute name="Label"/>
<xsd:attribute name="CodeListOID"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</xforms:model>
</head>
<body>
<h3>
<center>
<font color="red">eCRF XForms example <br/>Courtesy of<br/>
<a href="http://www.XML4Pharma.com/">XML4Pharma</a>
</font>
<p>
<font color="blue">Form: Laboratory</font>
</p>
</center>
</h3>
<p class="example">
<xforms:group>
<xforms:input model="F_LAB" ref="/CRF/SubjectID">
<xforms:label>Subject ID :</xforms:label>
<xforms:alert>ID of the Subject</xforms:alert>
</xforms:input>
</xforms:group>
</p>
<p class="example">
<xforms:group>
<b><xforms:label>Study Event ID : system-generated</xforms:label></b>
</xforms:group>
</p>
<xforms:group>
<br/>
<h4>Group: Common</h4>
<p class="example">
<xforms:input model="F_LAB" ref="/CRF/IG_COMMON/I_SITE">
<xforms:label>Site # </xforms:label>
<xforms:alert/>
</xforms:input>
</p>
<p class="example">
<xforms:input model="F_LAB" ref="/CRF/IG_COMMON/I_SUBJECTID">
<xforms:label>Subject ID # </xforms:label>
<xforms:alert/>
</xforms:input>
</p>
<p class="example">
<xforms:input model="F_LAB" ref="/CRF/IG_COMMON/I_VISIT">
<xforms:label>Visit Date </xforms:label>
<xforms:alert>Must be a valid date. Correct format is: yyyy-mm-dd</xforms:alert>
</xforms:input>
</p>
</xforms:group>
<p/>
<xforms:group>
<xforms:submit id="submit">
<xforms:label>Submit Data</xforms:label>
</xforms:submit>
</xforms:group>
<h4>
<center>Copyright XML4Pharma 2004-2007</center>
</h4>
</body>
</html>

Recent comments
2 days 17 hours ago
2 days 23 hours ago
4 days 16 hours ago
6 weeks 2 days ago
6 weeks 2 days ago
10 weeks 4 hours ago
11 weeks 3 days ago
11 weeks 3 days ago
11 weeks 3 days ago
11 weeks 5 days ago