Namespace Confusion
Posted: Wed Sep 29, 2004 9:23 pm
In the following test document
I'm getting this validation error.
What must I do to be able to validate the above document?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xhtml:html
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:f="http://orbeon.org/oxf/xml/formatting"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/xhtml
http://www.w3.org/2002/08/xhtml/xhtml1-transitional.xsd">
<xhtml:head>
<xhtml:title>A Title</xhtml:title>
</xhtml:head>
<xhtml:body>
<xforms:group ref="/credit-card">
<table border="1">
<tr>
<td>datum1</td>
<td >datum2</td>
</tr>
</table>
</xforms:group>
</xhtml:body>
</xhtml:html>
Code: Select all
Severity 2
Description cvc-complex-type.2.4.a: Invalid content was found
starting with element 'xforms:group'. One of '{
"http://www.w3.org/1999/xhtml":p,
"http://www.w3.org/1999/xhtml":h1,
... etc ...
}' is expected.
Resource debug-xml-view.xml
In Folder vendorSite/webRoot/WEB-INF/resources/pagesets/checkout
Location line 13
Creation Time September 29, 2004 11:01:30 AM