- From: Robert C. Leif <rleif@rleif.com>
- Date: Tue, 17 Nov 2009 06:45:30 +0100
- To: www-forms-editor@w3.org
- Message-ID: <048a01ca6749$10666520$31332f60$@com>
Dear Editor, I tried to make The example in Section H (http://www.w3.org/TR/2009/REC-xforms-20091020/#xforms-in-xhtml-00) and the downloadable example (attached) work with both XMLSpy and OxYgen. OxYgen employs a special declaration for XForms that includes Relax NG code. <?oxygen NVDLSchema="xhtml-xforms.nvdl"?>. This does not appear to be portable. In short, I would like to be able to use my CytometryML schemas with XForms including being able to have type checking active. Since the CytometryML schemas are proposed to be part of a standard, these schemas will be available without charge. I believe that the link to the XForms 1.1, W3C Recommendation 20 October 2009 should provide a complete working example. I have attached the XForm and schema that I copied from the Recommendation. I also tested the XForm with the <?xml version="1.0" encoding="UTF-8"?> declaration removed. It produced similar errors. Since html does not include XForms, the errors appear to be correct. I have tested some approaches that appear to interfere with html’s schema validating elements from other namespaces. However, they did not work either. Thank you. Robert C. Leif, Ph.D. Vice President Newport Instruments 5648 Toyon Road San Diego, CA 92115 Tel. (619)582-0437 Email rleif@rleif.com Web : www.newportinstruments.com “ Complete XForms Examples (Non-Normative) This section presents complete XForms examples. These and additional examples are maintained at http://www.w3.org/MarkUp/Forms/2002/Examples. H.1 XForms in XHTML.” I XMLSpy error message: File F:\XForms\XForms_XHTML\xforms_test.html is not valid. Element 'html' has no declaration for an attribute named 'xmlns:xf'. Error location: html / @xmlns:xf Details VC: Attribute Value Type: Element 'html' has no declaration for an attribute named 'xmlns:xf'. OYgen 11 Editor error messages: SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Attribute "xmlns:my" must be declared for element type "html". Start location: 2:7 End location: 2:53 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Attribute "xmlns:ev" must be declared for element type "html". Start location: 2:54 End location: 2:98 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Attribute "xmlns:xsd" must be declared for element type "html". Start location: 3:3 End location: 3:47 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Attribute "xmlns:xforms" must be declared for element type "html". Start location: 3:48 End location: 3:92 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:model" must be declared. Start location: 8:6 End location: 8:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:instance" must be declared. Start location: 9:8 End location: 9:23 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "my:payment" must be declared. Start location: 10:10 End location: 10:20 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "my:cc" must be declared. Start location: 11:12 End location: 11:17 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:submission" must be declared. Start location: 15:8 End location: 15:25 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:bind" must be declared. Start location: 16:8 End location: 16:19 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:bind" must be declared. Start location: 17:8 End location: 17:19 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Unexpected element "xforms:model". The content of the parent element type must match "((script|style|meta|link|object)*,((title,(script|style|meta|link|object)*,(base,(script|style|meta|link|object)*)?)|(base,(script|style|meta|link|object)*,(title,(script|style|meta|link|object)*))))". Start location: 8:6 End location: 8:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:group" must be declared. Start location: 21:6 End location: 21:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:trigger" must be declared. Start location: 22:8 End location: 22:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 24:10 End location: 24:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "toggle" must be declared. Start location: 25:10 End location: 25:16 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:trigger" must be declared. Start location: 27:8 End location: 27:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 28:10 End location: 28:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "toggle" must be declared. Start location: 29:10 End location: 29:16 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Unexpected element "xforms:group". The content of the parent element type must match "(p|h1|h2|h3|h4|h5|h6|div|ul|ol|dl|pre|hr|blockquote|address|fieldset|table|form|noscript|ins|del|script)*". Start location: 21:6 End location: 21:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "switch" must be declared. Start location: 34:6 End location: 34:12 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "case" must be declared. Start location: 35:8 End location: 35:12 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "select1" must be declared. Start location: 36:10 End location: 36:17 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 37:12 End location: 37:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "choices" must be declared. Start location: 38:12 End location: 38:19 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "item" must be declared. Start location: 39:14 End location: 39:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 40:16 End location: 40:28 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "value" must be declared. Start location: 41:16 End location: 41:21 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "message" must be declared. Start location: 43:16 End location: 43:23 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "item" must be declared. Start location: 46:14 End location: 46:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 47:16 End location: 47:28 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "value" must be declared. Start location: 48:16 End location: 48:21 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:input" must be declared. Start location: 54:10 End location: 54:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 55:12 End location: 55:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "alert" must be declared. Start location: 56:12 End location: 56:17 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:input" must be declared. Start location: 60:10 End location: 60:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 62:12 End location: 62:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "submit" must be declared. Start location: 65:10 End location: 65:16 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 66:12 End location: 66:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "case" must be declared. Start location: 69:8 End location: 69:12 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "select1" must be declared. Start location: 71:10 End location: 71:17 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 72:12 End location: 72:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "choices" must be declared. Start location: 73:12 End location: 73:19 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "item" must be declared. Start location: 74:14 End location: 74:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 75:16 End location: 75:28 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "value" must be declared. Start location: 76:16 End location: 76:21 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "message" must be declared. Start location: 77:16 End location: 77:23 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "item" must be declared. Start location: 80:14 End location: 80:18 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 81:16 End location: 81:28 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "value" must be declared. Start location: 82:16 End location: 82:21 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:input" must be declared. Start location: 88:10 End location: 88:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 89:12 End location: 89:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "alert" must be declared. Start location: 90:12 End location: 90:17 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:input" must be declared. Start location: 94:10 End location: 94:22 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 95:12 End location: 95:24 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "submit" must be declared. Start location: 99:10 End location: 99:16 SystemID: F:\XForms\XForms_XHTML\xforms_test_xf.html Engine name: Xerces Severity: error Description: Element type "xforms:label" must be declared. Start location: 100:12 End location: 100:24
Attachments
- text/html attachment: xforms_test_xf.html
- text/xml attachment: payment.xml
Received on Tuesday, 17 November 2009 11:01:53 UTC