Info: Checking Document at: http://xformsinstitute.com/x03.xhtml
Validating island 0 (<model>) (line 41)
Info: Island 0 validated successfully (line 41)
Validating island 1 (<select1>) (line 59)
Info: Island 1 validated successfully (line 59)
Validating island 2 (<output>) (line 66)
Info: Island 2 validated successfully (line 66)
Validating island 3 (<select1>) (line 67)
Info: Island 3 validated successfully (line 67)
Validating island 4 (<output>) (line 74)
Info: Island 4 validated successfully (line 74)
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" 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: </style>
0041: <xf:model>
0042: <xf:instance>
0043: <inst-data xmlns="">
0044: <resp1></resp1>
0045: <resp2></resp2>
0046: <a1 ans="calculate='../price * ../quantity'">Correct!</a1>
0047: <a1 ans="constraint='../price * ../quantity'">Wrong</a1>
0048: <a1 ans="calculate='price * quantity'">Sorry</a1>
0049: <a1 ans="constraint='price * quantity'">Oops</a1>
0050: <a2 ans="XML Schema datatypes">No</a2>
0051: <a2 ans="HTML links">Try again</a2>
0052: <a2 ans="XPath nodes">Correct!</a2>
0053: <a2 ans="P3P datatypes">Sorry</a2>
0054: </inst-data>
0055: </xf:instance>
0056: </xf:model>
0057: </head>
0058: <body>
0059: <xf:select1 appearance="full" ref="resp1">
0060: <xf:label>Which statement correctly calculates price times quantity from a line item?</xf:label>
0061: <xf:itemset nodeset="/inst-data/a1">
0062: <xf:label ref="@ans"/>
0063: <xf:value ref="text()"/>
0064: </xf:itemset>
0065: </xf:select1>
0066: <xf:output ref="resp1"/>
0067: <xf:select1 appearance="full" ref="resp2">
0068: <xf:label>Model Item Properties are based on which of the following?</xf:label>
0069: <xf:itemset nodeset="/inst-data/a2">
0070: <xf:label ref="@ans"/>
0071: <xf:value ref="text()"/>
0072: </xf:itemset>
0073: </xf:select1>
0074: <xf:output ref="resp2"/>
0075: </body>
0076: </html>