Changeset 349 for draft-ietf-httpbis/latest/p1-messaging.xml
- Timestamp:
- 12/11/08 22:26:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p1-messaging.xml
r346 r349 418 418 <section title="Notational Conventions and Generic Grammar" anchor="notation"> 419 419 420 <section title="Augmented BNF" anchor="notation.abnf"> 421 <t> 422 All of the mechanisms specified in this document are described in 423 both prose and an augmented Backus-Naur Form (ABNF) based on that 424 defined in <xref target="RFC5234"/>. Implementors will need to be 425 familiar with the notation in order to understand this specification. The 426 extensions to ABNF used in this specification are described below. 420 <section title="ABNF Extensions" anchor="notation.abnf"> 421 <t> 422 Two extensions to the ABNF rules of <xref target="RFC5234"/> are used to 423 improve readability.<cref>The current plan is to remove these extensions prior 424 to the last call draft.</cref> 427 425 </t> 428 426 … … 471 469 <section title="Basic Rules" anchor="basic.rules"> 472 470 <t anchor="core.rules"> 473 <x:anchor-alias value=" OCTET"/>471 <x:anchor-alias value="ALPHA"/> 474 472 <x:anchor-alias value="CHAR"/> 475 <x:anchor-alias value="ALPHA"/>476 <x:anchor-alias value="DIGIT"/>477 473 <x:anchor-alias value="CTL"/> 478 474 <x:anchor-alias value="CR"/> 475 <x:anchor-alias value="CRLF"/> 476 <x:anchor-alias value="DIGIT"/> 477 <x:anchor-alias value="DQUOTE"/> 478 <x:anchor-alias value="HEXDIG"/> 479 <x:anchor-alias value="HTAB"/> 479 480 <x:anchor-alias value="LF"/> 481 <x:anchor-alias value="OCTET"/> 480 482 <x:anchor-alias value="SP"/> 481 <x:anchor-alias value="HTAB"/> 482 <x:anchor-alias value="DQUOTE"/> 483 The following rules are used throughout this specification to 484 describe basic parsing constructs. The US-ASCII coded character set 485 is defined by ANSI X3.4-1986 <xref target="USASCII"/>. 486 </t> 487 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="OCTET"/><iref primary="true" item="Grammar" subitem="CHAR"/><iref primary="true" item="Grammar" subitem="ALPHA"/><iref primary="true" item="Grammar" subitem="DIGIT"/><iref primary="true" item="Grammar" subitem="CTL"/><iref primary="true" item="Grammar" subitem="CR"/><iref primary="true" item="Grammar" subitem="LF"/><iref primary="true" item="Grammar" subitem="SP"/><iref primary="true" item="Grammar" subitem="HTAB"/><iref primary="true" item="Grammar" subitem="DQUOTE"/> 488 <x:ref>OCTET</x:ref> = %x00-FF 489 ; any 8-bit sequence of data 490 <x:ref>CHAR</x:ref> = %x01-7F 491 ; any US-ASCII character, excluding NUL 492 <x:ref>ALPHA</x:ref> = %x41-5A / %x61-7A 493 ; A-Z / a-z 494 <x:ref>DIGIT</x:ref> = %x30-39 495 ; any US-ASCII digit "0".."9" 496 <x:ref>CTL</x:ref> = %x00-1F / %x7F 497 ; (octets 0 - 31) and DEL (127) 498 <x:ref>CR</x:ref> = %x0D 499 ; US-ASCII CR, carriage return (13) 500 <x:ref>LF</x:ref> = %x0A 501 ; US-ASCII LF, linefeed (10) 502 <x:ref>SP</x:ref> = %x20 503 ; US-ASCII SP, space (32) 504 <x:ref>HTAB</x:ref> = %x09 505 ; US-ASCII HT, horizontal-tab (9) 506 <x:ref>DQUOTE</x:ref> = %x22 507 ; US-ASCII double-quote mark (34) 508 </artwork></figure> 483 <x:anchor-alias value="WSP"/> 484 This specification uses the Augmented Backus-Naur Form (ABNF) notation 485 of <xref target="RFC5234"/>. The following core rules are included by 486 reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>: 487 ALPHA (letters), CHAR (any <xref target="USASCII"/> character, 488 excluding NUL), CR (carriage return), CRLF (CR LF), CTL (controls), 489 DIGIT (decimal 0-9), DQUOTE (double quote), 490 HEXDIG (hexadecimal 0-9/A-F/a-f), HTAB (horizontal tab), 491 LF (line feed), OCTET (any 8-bit sequence of data), SP (space) 492 and WSP (white space). 493 </t> 509 494 <t anchor="rule.CRLF"> 510 495 <x:anchor-alias value="CRLF"/> … … 514 499 is defined by its associated media type, as described in &media-types;. 515 500 </t> 516 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="CRLF"/>517 <x:ref>CRLF</x:ref> = <x:ref>CR</x:ref> LF518 </artwork></figure>519 501 <t anchor="rule.LWS"> 520 502 <x:anchor-alias value="LWS"/> … … 545 527 replaced with a single SP before interpretation of the TEXT value. 546 528 </t> 547 <t anchor="rule.HEXDIG">548 <x:anchor-alias value="HEXDIG"/>549 Hexadecimal numeric characters are used in several protocol elements.550 </t>551 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="HEXDIG"/>552 <x:ref>HEXDIG</x:ref> = "A" / "B" / "C" / "D" / "E" / "F"553 / "a" / "b" / "c" / "d" / "e" / "f" / <x:ref>DIGIT</x:ref>554 </artwork></figure>555 529 <t anchor="rule.token.separators"> 556 530 <x:anchor-alias value="tchar"/> … … 4646 4620 Get rid of RFC822 dependency; use RFC5234 plus extensions instead. 4647 4621 </t> 4622 <t> 4623 Only reference RFC 5234's core rules. 4624 </t> 4648 4625 </list> 4649 4626 </t>
Note: See TracChangeset
for help on using the changeset viewer.