Xforms validation
Posted: Mon May 15, 2006 10:59 pm
I have created two Xform files that are identical except for the <html ...> tag. This one followed the advice I found on this forum. It validates, but will not run.
<?xml version="1.0" ?>
<html xmlns= "http://www.w3.org/2002/06/xhtml2/"
xmlns:xf= "http://www.w3.org/2002/xforms"
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xmlns:br= "http://www.BlueRidgeEMR.net/EMR"
xsi:schemaLocation= "http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd
http://www.w3.org/2002/xforms http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd" >
<head>
<link rel="stylesheet" type="text/css" href="xforms.css"/>
<script type="text/javascript" src="/opt/FormFaces/formfaces.js"></script>
This one was from a funcioning XForm example. It runs but will not validate.
<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:br="http://www.BlueRidgeEMR.net/EMR"
xsi:schemaLocation= "http://www.w3.org/1999/xhtml XForms-Schema.xsd
http://www.w3.org/2002/xforms http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd">
<head>
<link rel="stylesheet" type="text/css" href="xforms.css"/>
<script type="text/javascript" src="/opt/FormFaces/formfaces.js"></script>
Can someone help me get a combination that will run and validate?
<?xml version="1.0" ?>
<html xmlns= "http://www.w3.org/2002/06/xhtml2/"
xmlns:xf= "http://www.w3.org/2002/xforms"
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xmlns:br= "http://www.BlueRidgeEMR.net/EMR"
xsi:schemaLocation= "http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd
http://www.w3.org/2002/xforms http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd" >
<head>
<link rel="stylesheet" type="text/css" href="xforms.css"/>
<script type="text/javascript" src="/opt/FormFaces/formfaces.js"></script>
This one was from a funcioning XForm example. It runs but will not validate.
<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:br="http://www.BlueRidgeEMR.net/EMR"
xsi:schemaLocation= "http://www.w3.org/1999/xhtml XForms-Schema.xsd
http://www.w3.org/2002/xforms http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd">
<head>
<link rel="stylesheet" type="text/css" href="xforms.css"/>
<script type="text/javascript" src="/opt/FormFaces/formfaces.js"></script>
Can someone help me get a combination that will run and validate?