| 1 |
#?SuikaWikiConfig/2.0
|
| 2 |
|
| 3 |
ModuleSet:
|
| 4 |
@Name: Web Forms
|
| 5 |
@Version: 2.0 Call For Comments - 27 June 2004
|
| 6 |
@ID: webforms20
|
| 7 |
@Description:
|
| 8 |
Web Forms 2.0, the next generation HTML form model.
|
| 9 |
@BaseURI:
|
| 10 |
|
| 11 |
@Description:
|
| 12 |
Web Forms 2.0 proposal <http://www.hixie.ch/specs/html/forms/web-forms>.
|
| 13 |
|
| 14 |
@Namespace:
|
| 15 |
@@Name:
|
| 16 |
http://www.w3.org/1999/xhtml
|
| 17 |
@@DefaultPrefix: html
|
| 18 |
@@UsePrefix: 0
|
| 19 |
|
| 20 |
@Copyright: Wakaba <w@suika.fam.cx>
|
| 21 |
@RCSDate:
|
| 22 |
$Date: 2004/07/05 03:57:10 $
|
| 23 |
|
| 24 |
Datatype:
|
| 25 |
@Type:
|
| 26 |
@@Name:
|
| 27 |
:Character
|
| 28 |
@@XMLType: CDATA
|
| 29 |
@@Description: An XML Char
|
| 30 |
|
| 31 |
@Type:
|
| 32 |
@@Name:
|
| 33 |
:Charsets
|
| 34 |
@@XMLType: CDATA
|
| 35 |
@@Description: A white space separated list of IANA charset names
|
| 36 |
|
| 37 |
@Type:
|
| 38 |
@@Name:
|
| 39 |
:ContentType
|
| 40 |
@@XMLType: CDATA
|
| 41 |
@@Description: An Internet Media Type
|
| 42 |
|
| 43 |
@Type:
|
| 44 |
@@Name:
|
| 45 |
:ContentTypes
|
| 46 |
@@XMLType: CDATA
|
| 47 |
|
| 48 |
@Type:
|
| 49 |
@@Name:
|
| 50 |
:FrameTarget
|
| 51 |
@@XMLType: NMTOKEN
|
| 52 |
@@Description: Target frame or window name
|
| 53 |
|
| 54 |
@Type:
|
| 55 |
@@Name:
|
| 56 |
:Number
|
| 57 |
@@XMLType: NMTOKEN
|
| 58 |
@@Description: A non-negative integer
|
| 59 |
|
| 60 |
@Type:
|
| 61 |
@@Name:
|
| 62 |
:Script
|
| 63 |
@@XMLType: CDATA
|
| 64 |
@@Description: Script code
|
| 65 |
|
| 66 |
@Type:
|
| 67 |
@@Name:
|
| 68 |
:Text
|
| 69 |
@@XMLType: CDATA
|
| 70 |
@@Description: A human readable text
|
| 71 |
|
| 72 |
@Type:
|
| 73 |
@@Name:
|
| 74 |
:URI
|
| 75 |
@@XMLType: CDATA
|
| 76 |
@@Description: A URI reference
|
| 77 |
|
| 78 |
Attribute:
|
| 79 |
@AttributeSet:
|
| 80 |
@@Name: accept
|
| 81 |
@@Attribute:
|
| 82 |
@@@Name: "accept"
|
| 83 |
@@@Type:
|
| 84 |
:ContentTypes
|
| 85 |
@@@Default: #IMPLIED
|
| 86 |
|
| 87 |
@AttributeSet:
|
| 88 |
@@Name: accesskey
|
| 89 |
@@Attribute:
|
| 90 |
@@@Name: "accesskey"
|
| 91 |
@@@Type:
|
| 92 |
:Character
|
| 93 |
@@@Default: #IMPLIED
|
| 94 |
|
| 95 |
|
| 96 |
@AttributeSet:
|
| 97 |
@@Name: action
|
| 98 |
@@Attribute:
|
| 99 |
@@@Name: "action"
|
| 100 |
@@@Type:
|
| 101 |
:URI
|
| 102 |
@@@Default: #IMPLIED
|
| 103 |
@@Attribute:
|
| 104 |
@@@Name: "enctype"
|
| 105 |
@@@Type:
|
| 106 |
:ContentType
|
| 107 |
@@@Default: #IMPLIED
|
| 108 |
@@Attribute:
|
| 109 |
@@@Name: "method"
|
| 110 |
@@@Type: "(get|post|put|delete)"
|
| 111 |
@@@Default: #IMPLIED
|
| 112 |
@@Attribute:
|
| 113 |
@@@Name: "replace"
|
| 114 |
@@@Type: "(document|values)"
|
| 115 |
@@@Default: #IMPLIED
|
| 116 |
|
| 117 |
@AttributeSet:
|
| 118 |
@@Name: autocomplete
|
| 119 |
@@Attribute:
|
| 120 |
@@@Name: "autocomplete"
|
| 121 |
@@@Type: "(on|off)"
|
| 122 |
@@@Default: "on"
|
| 123 |
|
| 124 |
@AttributeSet:
|
| 125 |
@@Name: autofocus
|
| 126 |
@@Attribute:
|
| 127 |
@@@Name: "autofocus"
|
| 128 |
@@@Type: "(autofocus)"
|
| 129 |
@@@Default: #IMPLIED
|
| 130 |
|
| 131 |
@AttributeSet:
|
| 132 |
@@Name: disabled
|
| 133 |
@@Attribute:
|
| 134 |
@@@Name: "disabled"
|
| 135 |
@@@Type: "(disabled)"
|
| 136 |
@@@Default: #IMPLIED
|
| 137 |
|
| 138 |
@AttributeSet:
|
| 139 |
@@Name: form
|
| 140 |
@@Attribute:
|
| 141 |
@@@Name: "form"
|
| 142 |
@@@Type: "IDREF"
|
| 143 |
@@@Default: #IMPLIED
|
| 144 |
|
| 145 |
@AttributeSet:
|
| 146 |
@@Name: help
|
| 147 |
@@Attribute:
|
| 148 |
@@@Name: "help"
|
| 149 |
@@@Type:
|
| 150 |
:URI
|
| 151 |
@@@Default: #IMPLIED
|
| 152 |
|
| 153 |
@AttributeSet:
|
| 154 |
@@Name: img
|
| 155 |
@@Attribute:
|
| 156 |
@@@Name: "alt"
|
| 157 |
@@@Type:
|
| 158 |
:Text
|
| 159 |
@@@Default: #IMPLIED
|
| 160 |
@@Attribute:
|
| 161 |
@@@Name: "src"
|
| 162 |
@@@Type:
|
| 163 |
:URI
|
| 164 |
@@@Default: #IMPLIED
|
| 165 |
|
| 166 |
@AttributeSet:
|
| 167 |
@@Name: name
|
| 168 |
@@Attribute:
|
| 169 |
@@@Name: "name"
|
| 170 |
@@@Type: "CDATA"
|
| 171 |
@@@Default: #IMPLIED
|
| 172 |
|
| 173 |
@AttributeSet:
|
| 174 |
@@Name: size
|
| 175 |
@@Attribute:
|
| 176 |
@@@Name: "size"
|
| 177 |
@@@Type:
|
| 178 |
:Number
|
| 179 |
@@@Default: #IMPLIED
|
| 180 |
|
| 181 |
@AttributeSet:
|
| 182 |
@@Name: tabindex
|
| 183 |
@@Attribute:
|
| 184 |
@@@Name: "tabindex"
|
| 185 |
@@@Type:
|
| 186 |
:Number
|
| 187 |
@@@Default: #IMPLIED
|
| 188 |
|
| 189 |
@AttributeSet:
|
| 190 |
@@Name: template
|
| 191 |
@@Attribute:
|
| 192 |
@@@Name: "template"
|
| 193 |
@@@Type: "IDREF"
|
| 194 |
@@@Default: #IMPLIED
|
| 195 |
|
| 196 |
@AttributeSet:
|
| 197 |
@@Name: text
|
| 198 |
@@ref: autocomplete
|
| 199 |
@@Attribute:
|
| 200 |
@@@Name: "inputmode"
|
| 201 |
@@@Type: "CDATA"
|
| 202 |
@@@Default: #IMPLIED
|
| 203 |
@@Attribute:
|
| 204 |
@@@Name: "maxlength"
|
| 205 |
@@@Type:
|
| 206 |
:Number
|
| 207 |
@@@Default: #IMPLIED
|
| 208 |
@@Attribute:
|
| 209 |
@@@Name: "readonly"
|
| 210 |
@@@Type: "(readonly)"
|
| 211 |
@@@Default: #IMPLIED
|
| 212 |
@@@Attribute:
|
| 213 |
@@@@Name: "required"
|
| 214 |
@@@@Type: "(required)"
|
| 215 |
@@@@Default: #IMPLIED
|
| 216 |
|
| 217 |
@AttributeSet:
|
| 218 |
@@Name: value
|
| 219 |
@@Attribute:
|
| 220 |
@@@Name: "value"
|
| 221 |
@@@Type: "CDATA"
|
| 222 |
@@@Default: #IMPLIED
|
| 223 |
|
| 224 |
@AttributeSet:
|
| 225 |
@@Name: focus
|
| 226 |
@@ref: accesskey
|
| 227 |
@@ref: autofocus
|
| 228 |
@@ref: tabindex
|
| 229 |
|
| 230 |
@Attribute:
|
| 231 |
@@Name: repeat.global
|
| 232 |
@@Attribute:
|
| 233 |
@@@Name: repeat
|
| 234 |
@@@Type: "CDATA"
|
| 235 |
@@@Default: #IMPLIED
|
| 236 |
@@Attribute:
|
| 237 |
@@@Name: repeat-start
|
| 238 |
@@@Type:
|
| 239 |
:Number
|
| 240 |
@@@Default: #IMPLIED
|
| 241 |
@@Attribute:
|
| 242 |
@@@Name: repeat-min
|
| 243 |
@@@Type:
|
| 244 |
:Number
|
| 245 |
@@@Default: #IMPLIED
|
| 246 |
@@Attribute:
|
| 247 |
@@@Name: repeat-max
|
| 248 |
@@@Type:
|
| 249 |
:Number
|
| 250 |
@@@Default: #IMPLIED
|
| 251 |
@@Description: For non-XHTML 1 namespace element types
|
| 252 |
@Attribute:
|
| 253 |
@@Name: repeat
|
| 254 |
@@Attribute:
|
| 255 |
@@@Name: "repeat"
|
| 256 |
@@@Type: "CDATA"
|
| 257 |
@@@Default: #IMPLIED
|
| 258 |
@@Attribute:
|
| 259 |
@@@Name: "repeat-start"
|
| 260 |
@@@Type:
|
| 261 |
:Number
|
| 262 |
@@@Default: #IMPLIED
|
| 263 |
@@Attribute:
|
| 264 |
@@@Name: "repeat-min"
|
| 265 |
@@@Type:
|
| 266 |
:Number
|
| 267 |
@@@Default: #IMPLIED
|
| 268 |
@@Attribute:
|
| 269 |
@@@Name: "repeat-max"
|
| 270 |
@@@Type:
|
| 271 |
:Number
|
| 272 |
@@@Default: #IMPLIED
|
| 273 |
@@Description: For XHTML 1 namespace element types
|
| 274 |
|
| 275 |
@AttributeSet:
|
| 276 |
@@Name: control.extra
|
| 277 |
@AttributeSet:
|
| 278 |
@@Name: control.events
|
| 279 |
@@Description:
|
| 280 |
Placeholder for additional events attributes
|
| 281 |
@AttributeSet:
|
| 282 |
@@Name: control
|
| 283 |
@@ref: control.extra
|
| 284 |
|
| 285 |
@AttributeSet:
|
| 286 |
@@Name:
|
| 287 |
:Common.extra
|
| 288 |
@AttributeSet:
|
| 289 |
@@Name:
|
| 290 |
:Common
|
| 291 |
@@ref:
|
| 292 |
:Common.extra
|
| 293 |
@@ref: repeat
|
| 294 |
|
| 295 |
@AttributeSet:
|
| 296 |
@@Name: common
|
| 297 |
@@ref:
|
| 298 |
:Common
|
| 299 |
|
| 300 |
Module:
|
| 301 |
@Name: Forms Extensions
|
| 302 |
@ID: formext
|
| 303 |
|
| 304 |
@Element:
|
| 305 |
@@Name: form
|
| 306 |
@@Content:
|
| 307 |
($:Heading.class | $:List.class | $:Block.mix)*
|
| 308 |
@@Attribute:
|
| 309 |
@@@ref: accept
|
| 310 |
@@@Attribute:
|
| 311 |
@@@@Name: "accept-charset"
|
| 312 |
@@@@Type:
|
| 313 |
:Charsets
|
| 314 |
@@@@Default: #IMPLIED
|
| 315 |
@@@Attribute:
|
| 316 |
@@@@Name: "action"
|
| 317 |
@@@@Type:
|
| 318 |
:URI
|
| 319 |
@@@@Default: #IMPLIED
|
| 320 |
@@@Attribute:
|
| 321 |
@@@@Name: "enctype"
|
| 322 |
@@@@Type:
|
| 323 |
:ContentType
|
| 324 |
@@@@Default: #IMPLIED
|
| 325 |
@@@Attribute:
|
| 326 |
@@@@Name: "method"
|
| 327 |
@@@@Type: "(get|post|put|delete)"
|
| 328 |
@@@@Default: "get"
|
| 329 |
@@@Attribute:
|
| 330 |
@@@@Name: "replace"
|
| 331 |
@@@@Type: "(document|values)"
|
| 332 |
@@@@Default: "document"
|
| 333 |
|
| 334 |
@Element:
|
| 335 |
@@Name: input
|
| 336 |
@@Content: "EMPTY"
|
| 337 |
@@Attribute:
|
| 338 |
@@@ref: accept
|
| 339 |
@@@ref: action
|
| 340 |
@@@Attribute:
|
| 341 |
@@@@Name: "checked"
|
| 342 |
@@@@Type: "(checked)"
|
| 343 |
@@@@Default: #IMPLIED
|
| 344 |
@@@ref: disabled
|
| 345 |
@@@ref: form
|
| 346 |
@@@ref: focus
|
| 347 |
@@@ref: help
|
| 348 |
@@@ref: img
|
| 349 |
@@@Attribute:
|
| 350 |
@@@@Name: "min"
|
| 351 |
@@@@Type: "CDATA"
|
| 352 |
@@@@Default: #IMPLIED
|
| 353 |
@@@Attribute:
|
| 354 |
@@@@Name: "max"
|
| 355 |
@@@@Type: "CDATA"
|
| 356 |
@@@@Default: #IMPLIED
|
| 357 |
@@@ref: name
|
| 358 |
@@@Attribute:
|
| 359 |
@@@@Name: "pattern"
|
| 360 |
@@@@Type: "CDATA"
|
| 361 |
@@@@Default: #IMPLIED
|
| 362 |
@@@Attribute:
|
| 363 |
@@@@Name: "step"
|
| 364 |
@@@@Type: "CDATA"
|
| 365 |
@@@@Default: #IMPLIED
|
| 366 |
@@@ref: size
|
| 367 |
@@@ref: template
|
| 368 |
@@@ref: text
|
| 369 |
@@@Attribute:
|
| 370 |
@@@@Name: "type"
|
| 371 |
@@@@Type: "(text|password|checkbox|radio|button|submit|reset|add|remove|file|hidden|image|datetime|local-datetime|date|month|week|time|number|range|email|uri)"
|
| 372 |
@@@@Default: "text"
|
| 373 |
@@@ref: value
|
| 374 |
@@@ref: control
|
| 375 |
|
| 376 |
@Element:
|
| 377 |
@@Name: select
|
| 378 |
@@Content: (optgroup|option)*
|
| 379 |
@@Attribute:
|
| 380 |
@@@ref: autocomplete
|
| 381 |
@@@ref: autofocus
|
| 382 |
@@@ref: disabled
|
| 383 |
@@@ref: form
|
| 384 |
@@@ref: help
|
| 385 |
@@@Attribute:
|
| 386 |
@@@@Name: "multiple"
|
| 387 |
@@@@Type: "(multiple)"
|
| 388 |
@@@@Default: #IMPLIED
|
| 389 |
@@@ref: name
|
| 390 |
@@@ref: size
|
| 391 |
@@@ref: tabindex
|
| 392 |
@@@ref: control
|
| 393 |
|
| 394 |
@Element:
|
| 395 |
@@Name: optgroup
|
| 396 |
@@Content: (option)*
|
| 397 |
@@Attribute:
|
| 398 |
@@@ref: disabled
|
| 399 |
@@@Attribute:
|
| 400 |
@@@@Name: "label"
|
| 401 |
@@@@Type:
|
| 402 |
:Text
|
| 403 |
@@@@Default: #REQUIRED
|
| 404 |
|
| 405 |
@Element:
|
| 406 |
@@Name: option
|
| 407 |
@@Content: (#PCDATA)*
|
| 408 |
@@Attribute:
|
| 409 |
@@@ref: disabled
|
| 410 |
@@@Attribute:
|
| 411 |
@@@@Name: "label"
|
| 412 |
@@@@Type:
|
| 413 |
:Text
|
| 414 |
@@@@Default: #IMPLIED
|
| 415 |
@@@Attribute:
|
| 416 |
@@@@Name: "selected"
|
| 417 |
@@@@Type: "(selected)"
|
| 418 |
@@@@Default: #IMPLIED
|
| 419 |
@@@ref: value
|
| 420 |
|
| 421 |
@Element:
|
| 422 |
@@Name: textarea
|
| 423 |
@@Content: (#PCDATA)*
|
| 424 |
@@Attribute:
|
| 425 |
@@@Attribute:
|
| 426 |
@@@@Name: "cols"
|
| 427 |
@@@@Type:
|
| 428 |
:Number
|
| 429 |
@@@@Default: #IMPLIED
|
| 430 |
@@@ref: disabled
|
| 431 |
@@@ref: form
|
| 432 |
@@@ref: focus
|
| 433 |
@@@ref: help
|
| 434 |
@@@ref: name
|
| 435 |
@@@Attribute:
|
| 436 |
@@@@Name: "rows"
|
| 437 |
@@@@Type:
|
| 438 |
:Number
|
| 439 |
@@@@Default: #IMPLIED
|
| 440 |
@@@ref: text
|
| 441 |
@@@Attribute:
|
| 442 |
@@@@Name: "wrap"
|
| 443 |
@@@@Type: "(soft|hard)"
|
| 444 |
@@@@Default: "soft"
|
| 445 |
@@@ref: control
|
| 446 |
|
| 447 |
@Element:
|
| 448 |
@@Name: output
|
| 449 |
@@Content: (#PCDATA)*
|
| 450 |
@@Attribute:
|
| 451 |
@@@Attribute:
|
| 452 |
@@@@Name: "for"
|
| 453 |
@@@@Type: "IDREFS"
|
| 454 |
@@@@Default: #IMPLIED
|
| 455 |
@@@ref: form
|
| 456 |
@@@ref: name
|
| 457 |
@@@ref: control
|
| 458 |
|
| 459 |
@Element:
|
| 460 |
@@Name: button
|
| 461 |
@@Content:
|
| 462 |
(#PCDATA|$:Heading.class|$:List.class|$:Block.mix|$:Inline.mix)*
|
| 463 |
@@Description: Content cannot include Form and Formctrl.
|
| 464 |
@@Attribute:
|
| 465 |
@@@ref: accesskey
|
| 466 |
@@@ref: action
|
| 467 |
@@@ref: disabled
|
| 468 |
@@@ref: form
|
| 469 |
@@@ref: help
|
| 470 |
@@@ref: name
|
| 471 |
@@@ref: tabindex
|
| 472 |
@@@ref: template
|
| 473 |
@@@Attribute:
|
| 474 |
@@@@Name: "type"
|
| 475 |
@@@@Type: "(button|submit|reset|add|remove)"
|
| 476 |
@@@@Default: "submit"
|
| 477 |
@@@ref: value
|
| 478 |
@@@ref: control
|
| 479 |
|
| 480 |
@Element:
|
| 481 |
@@Name: fieldset
|
| 482 |
@@Content:
|
| 483 |
(#PCDATA|legend|$:Flow.mix)*
|
| 484 |
@@Attribute:
|
| 485 |
@@@ref: disabled
|
| 486 |
@@@ref: form
|
| 487 |
@@@ref: help
|
| 488 |
@@@ref: control
|
| 489 |
|
| 490 |
@Element:
|
| 491 |
@@Name: legend
|
| 492 |
@@Content:
|
| 493 |
(#PCDATA|$:Inline.mix)*
|
| 494 |
@@Attribute:
|
| 495 |
@@@ref: accesskey
|
| 496 |
|
| 497 |
@Element:
|
| 498 |
@@Name: label
|
| 499 |
@@Content:
|
| 500 |
(#PCDATA|$:Inline.mix)*
|
| 501 |
@@Description: Cannot nest label itself.
|
| 502 |
@@Attribute:
|
| 503 |
@@@ref: accesskey
|
| 504 |
@@@Attribute:
|
| 505 |
@@@@Name: "for"
|
| 506 |
@@@@Type: "IDREF"
|
| 507 |
@@@@Default: #IMPLIED
|
| 508 |
|
| 509 |
Module:
|
| 510 |
@Name: Extended Form Events
|
| 511 |
@ID: formevent
|
| 512 |
|
| 513 |
@AttributeSet:
|
| 514 |
@@Name: oninput
|
| 515 |
@@Attribute:
|
| 516 |
@@@Name: "oninput"
|
| 517 |
@@@Type:
|
| 518 |
:Script
|
| 519 |
@@@Default: #IMPLIED
|
| 520 |
@@@Description:
|
| 521 |
The oninput attribute is added to all the elements that
|
| 522 |
have an onchange attribute
|
| 523 |
@AttributeSet:
|
| 524 |
@@Name: onformchange
|
| 525 |
@@Attribute:
|
| 526 |
@@@Name: "onformchange"
|
| 527 |
@@@Type:
|
| 528 |
:Script
|
| 529 |
@@@Default: #IMPLIED
|
| 530 |
@AttributeSet:
|
| 531 |
@@Name: onforminput
|
| 532 |
@@Attribute:
|
| 533 |
@@@Name: "onforminput"
|
| 534 |
@@@Type:
|
| 535 |
:Script
|
| 536 |
@@@Default: #IMPLIED
|
| 537 |
@AttributeSet:
|
| 538 |
@@Name: oninvalid
|
| 539 |
@@Attribute:
|
| 540 |
@@@Name: "oninvalid"
|
| 541 |
@@@Type:
|
| 542 |
:Script
|
| 543 |
@@@Default: #IMPLIED
|
| 544 |
@@@Description:
|
| 545 |
The oninvalid attribute is added to all the form control
|
| 546 |
elements other than output and fieldset
|
| 547 |
|
| 548 |
@Attribute:
|
| 549 |
@@ElementType: input
|
| 550 |
@@ref: oninput
|
| 551 |
@@ref: oninvalid
|
| 552 |
@Attribute:
|
| 553 |
@@ElementType: select
|
| 554 |
@@ref: oninput
|
| 555 |
@@ref: oninvalid
|
| 556 |
@Attribute:
|
| 557 |
@@ElementType: textarea
|
| 558 |
@@ref: oninput
|
| 559 |
@@ref: oninvalid
|
| 560 |
|
| 561 |
@AttributeSet:
|
| 562 |
@@Name: control.events
|
| 563 |
@@ref: onformchange
|
| 564 |
@@ref: onforminput
|
| 565 |
@@Description:
|
| 566 |
The onformchange and onforminput attributes are added
|
| 567 |
to all form control elements
|
| 568 |
|
| 569 |
@Attribute:
|
| 570 |
@@ElementType: button
|
| 571 |
@@ref: oninvalid
|
| 572 |
|
| 573 |
@Attribute:
|
| 574 |
@@ElementType: output
|
| 575 |
@@Attribute:
|
| 576 |
@@@Name: "onchange"
|
| 577 |
@@@Type:
|
| 578 |
:Script
|
| 579 |
@@@Default: #IMPLIED
|
| 580 |
|
| 581 |
Module:
|
| 582 |
@Name: Frame Target
|
| 583 |
@ID: target
|
| 584 |
|
| 585 |
@AttributeSet:
|
| 586 |
@@Attribute:
|
| 587 |
@@@Name: "target"
|
| 588 |
@@@Type:
|
| 589 |
:FrameTarget
|
| 590 |
@@@Default: #IMPLIED
|