XForms Validator (beta) results:

(What is this?)

Info: Checking Document at: http://xformsinstitute.com/x01.xhtml

Warning: This XForms Action has a suspicious event name: click (line 60)

Validating island 0 (<model>) (line 44)

Validating island 1 (<textarea>) (line 54)

Validating island 2 (<trigger>) (line 57)

Validating island 3 (<textarea>) (line 64)

Copyright 2004 Brain Attic. Comments, questions, or suggestions for improvement? Email us.


The following XML was processed to prepare this report:

0001: <?xml version="1.0" encoding="UTF-8"?>
0002: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
0003: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:my="http://example.info" xml:lang="en" lang="en">
0004: 
0005: 	<head>
0006: 		<title>XHTML Test Document</title>
0007: 		<style type="text/css">
0008: 			body {
0009: 				font-family: Verdana, Arial, Helvetica, sans-serif;
0010: 				font-size: 8pt;
0011: 			}
0012: 			table {
0013: 				background-color: #ccc;
0014: 				border: 2px outset white;
0015: 			}
0016: 			td {
0017: 				margin: 2px;
0018: 				padding: 4px;
0019: 				background-color: #f8f8f8;
0020: 				border: 2px inset white;
0021: 			}
0022: 			span {
0023: 				color: red;
0024: 				font-weight: bold;
0025: 			}
0026: 			label {
0027: 				font-weight: normal;
0028: 				margin: 6px 0 2px 0;
0029: 			}
0030: 			::value {
0031: 				padding: 1px;
0032: 			}
0033: 			input {
0034: 				color: black;
0035: 				font-weight: normal;
0036: 			}
0037:             textarea {
0038:                 height: 40px;
0039:             }
0040:             trigger {
0041:                 margin-top:30px;
0042:             }
0043: 		</style>
0044: 		<xf:model>
0045: 			<xf:instance>
0046:               <root xmlns="http://example.info">
0047:                 <noop></noop>
0048: 				<value></value>
0049:               </root>
0050: 			</xf:instance>
0051: 		</xf:model>
0052: 	</head>
0053: 	<body>
0054:       <xf:textarea ref="/my:root/my:noop">
0055:         <xf:label>Write your answer here</xf:label>
0056:       </xf:textarea>
0057:       <xf:trigger>
0058:         <xf:label>Reveal Answer</xf:label>
0059:         <!-- @@@ DENG foible: should be ev:event="DOMActivate" -->
0060:         <xf:setvalue ev:event="click" ref="/my:root/my:value"><![CDATA[<input ref="fname"><label>First Name</label></input>
0061:  <input ref="lname"><label>Last Name</label></input>
0062: <submit submission="s"><label>Go!</label></submit>]]></xf:setvalue>
0063:       </xf:trigger>
0064:       <xf:textarea ref="/my:root/my:value">
0065:         <xf:label>Answer</xf:label>
0066:       </xf:textarea>
0067: 	</body>
0068: </html>