Sorin, I followed your suggestion and went to the document toolbar and Associated string_bd16.xsd.
This resulted in adding attributes to the html element.
<!DOCTYPE html>
<html xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.w3.org/1999/xhtml string_bd16.xsd"
xmlns="
http://www.w3.org/1999/xhtml">
The xhtml5 page was still well formed. Since, in html5, the html element can take only one namespace attribute, xmlns="
http://www.w3.org/1999/xhtml, As expected, when I tried to validate my xhtml5 page, oXygen provided the following error messages:
System ID: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Main validation file: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Schema: D:\XHTML&HTML5\Forms\string_bd16.xsd
Engine name: Saxon-EE 9.3.0.5
Severity: warning
Description: Schema at location string_bd16.xsd has target namespace "
http://www.cytometryml.org/ACS/strings_bd" but requested namespace was "
http://www.w3.org/1999/xhtml"
System ID: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Main validation file: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Schema: D:\XHTML&HTML5\Forms\string_bd16.xsd
Engine name: Saxon-EE 9.3.0.5
Severity: warning
Description: Validation will continue without the schema at string_bd16.xsd
System ID: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Main validation file: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Schema: D:\XHTML&HTML5\Forms\string_bd16.xsd
Engine name: Saxon-EE 9.3.0.5
Severity: error
Description: Cannot validate <{....org/1999/xhtml}html>: no element declaration available
Start location: 4:39
System ID: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Main validation file: D:\XHTML&HTML5\Forms\html5_XMLSpy_example_RCL2.html
Schema: D:\XHTML&HTML5\Forms\string_bd16.xsd
Engine name: Saxon-EE 9.3.0.5
Severity: error
Description: Cannot validate <{....org/1999/xhtml}html>: no element declaration available
It is possible to include a xmlns attribute in a section element. One possible approach to this problem is to reuse the RDFa material for html5. Has oXygen done anything with RDFa prefixes or CURIES?
Besides my own intersts, I believe that a xhtml5 that included forms that worked with xml forms would be an ideal replacement for XForms. It should permit the creation of xml containing highly portable documents and other applications.
How do I attach my code to this?
Thank you.
Robert (Bob) Leif