1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253
|
<pre>Internet Architecture Board (IAB) J. Reschke
Request for Comments: 7749 greenbytes
Obsoletes: <a href="./rfc2629">2629</a> February 2016
Category: Informational
ISSN: 2070-1721
<span class="h1">The "xml2rfc" Version 2 Vocabulary</span>
Abstract
This document defines the "xml2rfc" version 2 vocabulary: an XML-
based language used for writing RFCs and Internet-Drafts.
Version 2 represents the state of the vocabulary (as implemented by
several tools and as used by the RFC Editor) around 2014.
This document obsoletes <a href="./rfc2629">RFC 2629</a>.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Architecture Board (IAB)
and represents information that the IAB has deemed valuable to
provide for permanent record. It represents the consensus of the
Internet Architecture Board (IAB). Documents approved for
publication by the IAB are not a candidate for any level of Internet
Standard; see <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7749">http://www.rfc-editor.org/info/rfc7749</a>.
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document.
<span class="grey">Reschke Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Syntax Notation ............................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. Elements ........................................................<a href="#page-5">5</a>
<a href="#section-2.1">2.1</a>. <abstract> .................................................<a href="#page-5">5</a>
<a href="#section-2.2">2.2</a>. <address> ..................................................<a href="#page-5">5</a>
<a href="#section-2.3">2.3</a>. <annotation> ...............................................<a href="#page-6">6</a>
<a href="#section-2.4">2.4</a>. <area> .....................................................<a href="#page-6">6</a>
<a href="#section-2.5">2.5</a>. <artwork> ..................................................<a href="#page-7">7</a>
<a href="#section-2.6">2.6</a>. <author> ..................................................<a href="#page-10">10</a>
<a href="#section-2.7">2.7</a>. <back> ....................................................<a href="#page-11">11</a>
<a href="#section-2.8">2.8</a>. <c> .......................................................<a href="#page-12">12</a>
<a href="#section-2.9">2.9</a>. <city> ....................................................<a href="#page-12">12</a>
<a href="#section-2.10">2.10</a>. <code> ...................................................<a href="#page-12">12</a>
<a href="#section-2.11">2.11</a>. <country> ................................................<a href="#page-12">12</a>
<a href="#section-2.12">2.12</a>. <cref> ...................................................<a href="#page-13">13</a>
<a href="#section-2.13">2.13</a>. <date> ...................................................<a href="#page-14">14</a>
<a href="#section-2.14">2.14</a>. <email> ..................................................<a href="#page-15">15</a>
<a href="#section-2.15">2.15</a>. <eref> ...................................................<a href="#page-15">15</a>
<a href="#section-2.16">2.16</a>. <facsimile> ..............................................<a href="#page-16">16</a>
<a href="#section-2.17">2.17</a>. <figure> .................................................<a href="#page-16">16</a>
<a href="#section-2.18">2.18</a>. <format> .................................................<a href="#page-18">18</a>
<a href="#section-2.19">2.19</a>. <front> ..................................................<a href="#page-19">19</a>
<a href="#section-2.20">2.20</a>. <iref> ...................................................<a href="#page-20">20</a>
<a href="#section-2.21">2.21</a>. <keyword> ................................................<a href="#page-21">21</a>
<a href="#section-2.22">2.22</a>. <list> ...................................................<a href="#page-21">21</a>
<a href="#section-2.23">2.23</a>. <middle> .................................................<a href="#page-23">23</a>
<a href="#section-2.24">2.24</a>. <note> ...................................................<a href="#page-24">24</a>
<a href="#section-2.25">2.25</a>. <organization> ...........................................<a href="#page-24">24</a>
<a href="#section-2.26">2.26</a>. <phone> ..................................................<a href="#page-24">24</a>
<a href="#section-2.27">2.27</a>. <postal> .................................................<a href="#page-25">25</a>
<a href="#section-2.28">2.28</a>. <postamble> ..............................................<a href="#page-25">25</a>
<a href="#section-2.29">2.29</a>. <preamble> ...............................................<a href="#page-26">26</a>
<a href="#section-2.30">2.30</a>. <reference> ..............................................<a href="#page-26">26</a>
<a href="#section-2.31">2.31</a>. <references> .............................................<a href="#page-27">27</a>
<a href="#section-2.32">2.32</a>. <region> .................................................<a href="#page-28">28</a>
<a href="#section-2.33">2.33</a>. <rfc> ....................................................<a href="#page-28">28</a>
<a href="#section-2.34">2.34</a>. <section> ................................................<a href="#page-32">32</a>
<a href="#section-2.35">2.35</a>. <seriesInfo> .............................................<a href="#page-33">33</a>
<a href="#section-2.36">2.36</a>. <spanx> ..................................................<a href="#page-34">34</a>
<a href="#section-2.37">2.37</a>. <street> .................................................<a href="#page-35">35</a>
<a href="#section-2.38">2.38</a>. <t> ......................................................<a href="#page-35">35</a>
<a href="#section-2.39">2.39</a>. <texttable> ..............................................<a href="#page-36">36</a>
<a href="#section-2.40">2.40</a>. <title> ..................................................<a href="#page-38">38</a>
<a href="#section-2.41">2.41</a>. <ttcol> ..................................................<a href="#page-38">38</a>
<a href="#section-2.42">2.42</a>. <uri> ....................................................<a href="#page-39">39</a>
<span class="grey">Reschke Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<a href="#section-2.43">2.43</a>. <vspace> .................................................<a href="#page-39">39</a>
<a href="#section-2.44">2.44</a>. <workgroup> ..............................................<a href="#page-39">39</a>
<a href="#section-2.45">2.45</a>. <xref> ...................................................<a href="#page-40">40</a>
<a href="#section-3">3</a>. Escaping for Use in XML ........................................<a href="#page-42">42</a>
<a href="#section-4">4</a>. Special Unicode Code Points ....................................<a href="#page-42">42</a>
<a href="#section-5">5</a>. Including Files ................................................<a href="#page-43">43</a>
<a href="#section-6">6</a>. Internationalization Considerations ............................<a href="#page-44">44</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-44">44</a>
<a href="#section-8">8</a>. IANA Considerations ............................................<a href="#page-44">44</a>
<a href="#section-8.1">8.1</a>. Internet Media Type Registration ..........................<a href="#page-44">44</a>
<a href="#section-9">9</a>. References .....................................................<a href="#page-46">46</a>
<a href="#section-9.1">9.1</a>. Normative References ......................................<a href="#page-46">46</a>
<a href="#section-9.2">9.2</a>. Informative References ....................................<a href="#page-46">46</a>
<a href="#appendix-A">Appendix A</a>. Front-Page ("Boilerplate") Generation .................<a href="#page-50">50</a>
<a href="#appendix-A.1">A.1</a>. The "category" Attribute ...................................<a href="#page-50">50</a>
<a href="#appendix-A.2">A.2</a>. The "ipr" Attribute ........................................<a href="#page-50">50</a>
<a href="#appendix-A.2.1">A.2.1</a>. Current Values: "*trust200902" .........................<a href="#page-51">51</a>
<a href="#appendix-A.2.2">A.2.2</a>. Historic Values ........................................<a href="#page-52">52</a>
<a href="#appendix-A.3">A.3</a>. The "submissionType" Attribute .............................<a href="#page-54">54</a>
<a href="#appendix-A.4">A.4</a>. The "consensus" Attribute ..................................<a href="#page-55">55</a>
<a href="#appendix-B">Appendix B</a>. Changes from <a href="./rfc2629">RFC 2629</a> ("v1") ..........................<a href="#page-56">56</a>
<a href="#appendix-B.1">B.1</a>. Removed Elements ...........................................<a href="#page-56">56</a>
<a href="#appendix-B.2">B.2</a>. Changed Defaults ...........................................<a href="#page-56">56</a>
<a href="#appendix-B.3">B.3</a>. Changed Elements ...........................................<a href="#page-57">57</a>
<a href="#appendix-B.4">B.4</a>. New Elements ...............................................<a href="#page-57">57</a>
<a href="#appendix-C">Appendix C</a>. RELAX NG Schema .......................................<a href="#page-58">58</a>
<a href="#appendix-C.1">C.1</a>. Checking Validity ..........................................<a href="#page-65">65</a>
IAB Members at the Time of Approval ...............................<a href="#page-66">66</a>
Acknowledgments ...................................................<a href="#page-66">66</a>
Index .............................................................<a href="#page-67">67</a>
Author's Address ..................................................<a href="#page-76">76</a>
<span class="grey">Reschke Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document describes version 2 ("v2") of the "xml2rfc" vocabulary:
an XML-based language ("Extensible Markup Language" [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]) used for
writing RFCs [<a href="./rfc7322" title=""RFC Style Guide"">RFC7322</a>] and Internet-Drafts [<a href="#ref-IDGUIDE" title=""Guidelines to Authors of Internet-Drafts"">IDGUIDE</a>].
Version 2 represents the state of the vocabulary (as implemented by
several tools and as used by the RFC Editor) around 2014.
It obsoletes the original version ("v1") [<a href="./rfc2629" title=""Writing I-Ds and RFCs using XML"">RFC2629</a>], which contained
the original language definition and which was subsequently extended.
Many of the changes leading to version 2 have been described in
"Writing I-Ds and RFCs using XML (revised)" [<a href="#ref-V1rev" title=""Writing I-Ds and RFCs using XML (revised)"">V1rev</a>], but that
document has not been updated since 2008.
Processing Instructions (Section 2.6 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]) generally are specific
to a given processor and thus are not considered to be part of the
vocabulary. See Section 4.1 of [<a href="#ref-TCLReadme">TCLReadme</a>] for a list of the
Processing Instructions supported by the first implementation of an
xml2rfc processor.
Note that the vocabulary contains certain constructs that might not
be used when generating the final text; however, they can provide
useful data for other uses (such as index generation, populating a
keyword database, or syntax checks).
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Syntax Notation</span>
The XML vocabulary here is defined in prose, based on the RELAX NG
schema [<a href="#ref-RNC" title=""RELAX NG Compact Syntax"">RNC</a>] contained in <a href="#appendix-C">Appendix C</a> (specified in RELAX NG Compact
Notation (RNC)).
Note that the schema can be used for automated validity checks, but
certain constraints are only described in prose (example: the
conditionally required presence of the "abbrev" attribute).
<span class="grey">Reschke Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Elements</span>
The sections below describe all elements and their attributes.
Note that attributes not labeled "mandatory" are optional.
Except inside <artwork>, horizontal whitespace and line breaks are
collapsed into a single whitespace, and leading and trailing
whitespace is trimmed off.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. <abstract></span>
Contains the Abstract of the document. The Abstract ought to be
self-contained and thus should not contain references or unexpanded
abbreviations. See <a href="./rfc7322#section-4.3">Section 4.3 of [RFC7322]</a> for more information.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model:
One or more <t> elements (<a href="#section-2.38">Section 2.38</a>)
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. <address></span>
Provides address information for the author.
This element appears as a child element of <author> (<a href="#section-2.6">Section 2.6</a>).
Content model:
In this order:
1. One optional <postal> element (<a href="#section-2.27">Section 2.27</a>)
2. One optional <phone> element (<a href="#section-2.26">Section 2.26</a>)
3. One optional <facsimile> element (<a href="#section-2.16">Section 2.16</a>)
4. One optional <email> element (<a href="#section-2.14">Section 2.14</a>)
5. One optional <uri> element (<a href="#section-2.42">Section 2.42</a>)
<span class="grey">Reschke Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. <annotation></span>
Provides additional prose augmenting a bibliographical reference.
This element appears as a child element of <reference>
(<a href="#section-2.30">Section 2.30</a>).
Content model:
In any order:
o Text
o <xref> elements (<a href="#section-2.45">Section 2.45</a>)
o <eref> elements (<a href="#section-2.15">Section 2.15</a>)
o <iref> elements (<a href="#section-2.20">Section 2.20</a>)
o <cref> elements (<a href="#section-2.12">Section 2.12</a>)
o <spanx> elements (<a href="#section-2.36">Section 2.36</a>)
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. <area></span>
Provides information about the IETF area to which this document
relates (currently not used when generating documents).
The value ought to be either the full name or the abbreviation of one
of the IETF areas as listed on <<a href="https://www.ietf.org/iesg/area.html">https://www.ietf.org/iesg/area.html</a>>.
The list at the time that this document is being published is
"Applications and Real-Time" ("art"), "General" ("gen"), "Internet"
("int"), "Operations and Management" ("ops"), "Routing" ("rtg"),
"Security" ("sec"), and "Transport" ("tsv").
Note that the set of IETF areas can change over time; for instance,
"Applications and Real-Time" ("art") replaced "Applications" ("app")
and "Real-time Applications and Infrastructure" ("rai") in 2015.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model: only text content.
<span class="grey">Reschke Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. <artwork></span>
This element allows the inclusion of "artwork" in the document.
<artwork> is the only element in the vocabulary that provides full
control of horizontal whitespace and line breaks; thus, it is used
for a variety of things, such as:
o diagrams ("line art"),
o source code,
o formal languages (such as ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>] or the RNC notation used
in this document),
o message flow diagrams,
o complex tables, or
o protocol unit diagrams.
Note that processors differ in the handling of horizontal TAB
characters (some expand them, some treat them as single spaces), and
thus these ought to be avoided.
Alternatively, the "src" attribute allows referencing an external
graphics file, such as a bitmap or a vector drawing, using a URI
("Uniform Resource Identifier") [<a href="./rfc3986" title=""Uniform Resource Identifier (URI): Generic Syntax"">RFC3986</a>]. In this case, the textual
content acts as a fallback for output formats that do not support
graphics; thus, it ought to contain either (1) a "line art" variant
of the graphics or (2) prose that describes the included image in
sufficient detail. Note that RFCs occasionally are published with
enhanced diagrams; [<a href="./rfc5598" title=""Internet Mail Architecture"">RFC5598</a>] is a recent example of an RFC that was
published along with a PDF with images.
This element appears as a child element of <figure> (<a href="#section-2.17">Section 2.17</a>).
Content model:
Text
<span class="grey">Reschke Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.5.1" href="#section-2.5.1">2.5.1</a>. "align" Attribute</span>
Controls whether the artwork appears left justified (default),
centered, or right justified.
Allowed values:
o "left" (default)
o "center"
o "right"
<span class="h4"><a class="selflink" id="section-2.5.2" href="#section-2.5.2">2.5.2</a>. "alt" Attribute</span>
Alternative text description of the artwork (not just the caption).
<span class="h4"><a class="selflink" id="section-2.5.3" href="#section-2.5.3">2.5.3</a>. "height" Attribute</span>
The suggested height of the graphics (when it was included using the
"src" attribute).
This attribute is format dependent and ought to be avoided.
When generating HTML output [<a href="#ref-HTML" title=""HTML5"">HTML</a>], current implementations copy the
attribute "as is", thus effectively treating it as CSS (Cascading
Style Sheets) pixels (see Section 4.3.2 of [<a href="#ref-CSS" title=""Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification"">CSS</a>]). For other output
formats, it is usually ignored.
<span class="h4"><a class="selflink" id="section-2.5.4" href="#section-2.5.4">2.5.4</a>. "name" Attribute</span>
A filename suitable for the contents (such as for extraction to a
local file).
This attribute generally isn't used for document generation, but it
can be helpful for other kinds of tools (such as automated syntax
checkers, which work by extracting the source code).
<span class="h4"><a class="selflink" id="section-2.5.5" href="#section-2.5.5">2.5.5</a>. "src" Attribute</span>
The URI reference of a graphics file (<a href="./rfc3986#section-4.1">Section 4.1 of [RFC3986]</a>).
Note that this can be a "data" URI [<a href="./rfc2397" title=""The "">RFC2397</a>] as well, in which case
the graphics file is wholly part of the XML file.
<span class="grey">Reschke Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.5.6" href="#section-2.5.6">2.5.6</a>. "type" Attribute</span>
Specifies the type of the artwork.
The value is either an Internet Media Type (see [<a href="./rfc2046" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">RFC2046</a>]) or a
keyword (such as "abnf"). The set of recognized keywords varies
across implementations.
How it is used depends on context and application. For instance, a
formatter can attempt to syntax-highlight code in certain known
languages.
<span class="h4"><a class="selflink" id="section-2.5.7" href="#section-2.5.7">2.5.7</a>. "width" Attribute</span>
The suggested width of the graphics (when it was included using the
"src" attribute).
This attribute is format dependent and ought to be avoided.
When generating HTML output [<a href="#ref-HTML" title=""HTML5"">HTML</a>], current implementations copy the
attribute "as is", thus effectively treating it as CSS pixels (see
Section 4.3.2 of [<a href="#ref-CSS" title=""Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification"">CSS</a>]). For other output formats, it is usually
ignored.
<span class="h4"><a class="selflink" id="section-2.5.8" href="#section-2.5.8">2.5.8</a>. "xml:space" Attribute</span>
Determines whitespace handling.
"preserve" is both the default value and the only meaningful setting
(because that's what the <artwork> element is for).
See also Section 2.10 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>].
Allowed values:
o "default"
o "preserve" (default)
<span class="grey">Reschke Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. <author></span>
Provides information about a document's author. This is used both
for the document itself (at the beginning of the document) and for
referenced documents (inside of <reference>).
The <author> elements contained within the document's <front> element
are used to fill the boilerplate, and also to generate the "Author's
Address" section (see <a href="./rfc7322#section-4.12">Section 4.12 of [RFC7322]</a>).
Note that an "author" can also be just an organization (by not
specifying any of the name attributes, but adding the <organization>
child element).
Furthermore, the "role" attribute can be used to mark an author as
"editor". This is reflected on the front page and in the "Author's
Address" section, as well as in bibliographical references. Note
that this specification does not define a precise meaning for the
term "editor".
See Sections <a href="#section-4.10">4.10</a> and <a href="#section-4.11">4.11</a> of [<a href="./rfc7322" title=""RFC Style Guide"">RFC7322</a>] for more information.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model:
In this order:
1. One optional <organization> element (<a href="#section-2.25">Section 2.25</a>)
2. One optional <address> element (<a href="#section-2.2">Section 2.2</a>)
<span class="h4"><a class="selflink" id="section-2.6.1" href="#section-2.6.1">2.6.1</a>. "fullname" Attribute</span>
The full name (used in the automatically generated "Author's Address"
section).
<span class="h4"><a class="selflink" id="section-2.6.2" href="#section-2.6.2">2.6.2</a>. "initials" Attribute</span>
An abbreviated variant of the given name(s), to be used in
conjunction with the separately specified surname. It usually
appears on the front page, in footers, and in references.
Some processors will post-process the value -- for instance, when it
only contains a single letter (in which case they might add a
trailing dot). Relying on this kind of post-processing can lead to
results varying across formatters and thus ought to be avoided.
<span class="grey">Reschke Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.6.3" href="#section-2.6.3">2.6.3</a>. "role" Attribute</span>
Specifies the role the author had in creating the document.
Allowed values:
o "editor"
<span class="h4"><a class="selflink" id="section-2.6.4" href="#section-2.6.4">2.6.4</a>. "surname" Attribute</span>
The author's surname, to be used in conjunction with the separately
specified initials. It usually appears on the front page, in
footers, and in references.
<span class="h3"><a class="selflink" id="section-2.7" href="#section-2.7">2.7</a>. <back></span>
Contains the "back" part of the document: the references and
appendices. In <back>, <section> elements indicate appendices.
This element appears as a child element of <rfc> (<a href="#section-2.33">Section 2.33</a>).
Content model:
In this order:
1. Optional <references> elements (<a href="#section-2.31">Section 2.31</a>)
2. Optional <section> elements (<a href="#section-2.34">Section 2.34</a>)
<span class="grey">Reschke Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.8" href="#section-2.8">2.8</a>. <c></span>
Provides the content of a cell in a table.
This element appears as a child element of <texttable>
(<a href="#section-2.39">Section 2.39</a>).
Content model:
In any order:
o Text
o <xref> elements (<a href="#section-2.45">Section 2.45</a>)
o <eref> elements (<a href="#section-2.15">Section 2.15</a>)
o <iref> elements (<a href="#section-2.20">Section 2.20</a>)
o <cref> elements (<a href="#section-2.12">Section 2.12</a>)
o <spanx> elements (<a href="#section-2.36">Section 2.36</a>)
<span class="h3"><a class="selflink" id="section-2.9" href="#section-2.9">2.9</a>. <city></span>
Gives the city name in a postal address.
This element appears as a child element of <postal> (<a href="#section-2.27">Section 2.27</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.10" href="#section-2.10">2.10</a>. <code></span>
Gives the postal region code.
This element appears as a child element of <postal> (<a href="#section-2.27">Section 2.27</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.11" href="#section-2.11">2.11</a>. <country></span>
Gives the country in a postal address.
This element appears as a child element of <postal> (<a href="#section-2.27">Section 2.27</a>).
Content model: only text content.
<span class="grey">Reschke Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.12" href="#section-2.12">2.12</a>. <cref></span>
Represents a comment.
Comments can be used in a document while it is a work in progress.
They usually appear (1) inline and visually highlighted, (2) at the
end of the document (depending on file format and settings of the
formatter), or (3) not at all (when generating an RFC).
This element appears as a child element of <annotation>
(<a href="#section-2.3">Section 2.3</a>), <c> (<a href="#section-2.8">Section 2.8</a>), <postamble> (<a href="#section-2.28">Section 2.28</a>),
<preamble> (<a href="#section-2.29">Section 2.29</a>), and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.12.1" href="#section-2.12.1">2.12.1</a>. "anchor" Attribute</span>
Document-wide unique identifier for this comment. The processor will
autogenerate an identifier when none is given.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]),
additionally constrained to US-ASCII characters [<a href="#ref-USASCII" title=""Coded Character Set -- 7-bit American Standard Code for Information Interchange"">USASCII</a>].
<span class="h4"><a class="selflink" id="section-2.12.2" href="#section-2.12.2">2.12.2</a>. "source" Attribute</span>
Holds the "source" of a comment, such as the name or the initials of
the person who made the comment.
<span class="grey">Reschke Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.13" href="#section-2.13">2.13</a>. <date></span>
Provides information about the publication date.
Note that this element is used for the boilerplate of the document
being produced, and also inside bibliographic references.
In the "boilerplate" case, it defines the publication date, which,
when producing Internet-Drafts, will be used for computing the
expiration date (see Section 8 of [<a href="#ref-IDGUIDE" title=""Guidelines to Authors of Internet-Drafts"">IDGUIDE</a>]). When one or more of
"year", "month", or "day" are left out, the processor will attempt to
use the current system date if the attributes that are present are
consistent with that date.
Note that in this case, month names need to match the full (English)
month name ("January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", or "December")
in order for expiration calculations to work (some implementations
might support additional formats, though).
In the case of bibliographic references, the date information can
have prose text for the month or year. For example, vague dates
(year="ca. 2000"), date ranges (year="2012-2013"), non-specific
months (month="Second quarter") and so on are allowed.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model: this element does not have any contents.
<span class="h4"><a class="selflink" id="section-2.13.1" href="#section-2.13.1">2.13.1</a>. "day" Attribute</span>
In the "boilerplate" case, the day of publication; this is a number.
Otherwise, an indication of the publication day, with the format not
being restricted.
<span class="h4"><a class="selflink" id="section-2.13.2" href="#section-2.13.2">2.13.2</a>. "month" Attribute</span>
In the "boilerplate" case, the month of publication; this is the
English name of the month. Otherwise, an indication of the
publication month, with the format not being restricted.
<span class="h4"><a class="selflink" id="section-2.13.3" href="#section-2.13.3">2.13.3</a>. "year" Attribute</span>
In the "boilerplate" case, the year of publication; this is a number
(usually four-digit). Otherwise, an indication of the publication
year, with the format not being restricted.
<span class="grey">Reschke Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.14" href="#section-2.14">2.14</a>. <email></span>
Provides an email address.
The value is expected to be an email address conforming to the
addr-spec definition in <a href="./rfc6068#section-2">Section 2 of [RFC6068]</a> (so does not include
the prefix "mailto:").
This element appears as a child element of <address> (<a href="#section-2.2">Section 2.2</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.15" href="#section-2.15">2.15</a>. <eref></span>
Represents an "external" link (as specified in the "target"
attribute).
If the element has no text content, the value of the "target"
attribute will be inserted in angle brackets (as described in
<a href="./rfc3986#appendix-C">Appendix C of [RFC3986]</a>) and, depending on the capabilities of the
output format, hyperlinked.
Otherwise, the text content will be used (and potentially
hyperlinked). Depending on output format and formatter, additional
text might be inserted (such as a "URI" counter, and a "URIs" section
in the back of the document). Avoid this variant when consistent
rendering across formats and formatters is desired.
This element appears as a child element of <annotation>
(<a href="#section-2.3">Section 2.3</a>), <c> (<a href="#section-2.8">Section 2.8</a>), <postamble> (<a href="#section-2.28">Section 2.28</a>),
<preamble> (<a href="#section-2.29">Section 2.29</a>), and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.15.1" href="#section-2.15.1">2.15.1</a>. "target" Attribute (Mandatory)</span>
URI of the link target (see <a href="./rfc3986#section-3">Section 3 of [RFC3986]</a>).
<span class="grey">Reschke Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.16" href="#section-2.16">2.16</a>. <facsimile></span>
Represents the phone number of a fax machine.
The value is expected to be the scheme-specific part of a "tel" URI
(so does not include the prefix "tel:"), using the "global numbers"
syntax. See <a href="./rfc3966#section-3">Section 3 of [RFC3966]</a> for details.
This element appears as a child element of <address> (<a href="#section-2.2">Section 2.2</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.17" href="#section-2.17">2.17</a>. <figure></span>
This element is used to represent a figure, consisting of an optional
preamble, the actual figure, an optional postamble, and an optional
title.
This element appears as a child element of <section> (<a href="#section-2.34">Section 2.34</a>)
and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model:
In this order:
1. Optional <iref> elements (<a href="#section-2.20">Section 2.20</a>)
2. One optional <preamble> element (<a href="#section-2.29">Section 2.29</a>)
3. One <artwork> element (<a href="#section-2.5">Section 2.5</a>)
4. One optional <postamble> element (<a href="#section-2.28">Section 2.28</a>)
<span class="h4"><a class="selflink" id="section-2.17.1" href="#section-2.17.1">2.17.1</a>. "align" Attribute</span>
Used to change the alignment of <preamble> and <postamble>.
Note: does not affect title or <artwork> alignment.
Allowed values:
o "left" (default)
o "center"
o "right"
<span class="grey">Reschke Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.17.2" href="#section-2.17.2">2.17.2</a>. "alt" Attribute</span>
Duplicates functionality available on <artwork>; avoid it.
<span class="h4"><a class="selflink" id="section-2.17.3" href="#section-2.17.3">2.17.3</a>. "anchor" Attribute</span>
Document-wide unique identifier for this figure.
Furthermore, the presence of this attribute causes the figure to be
numbered.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]).
<span class="h4"><a class="selflink" id="section-2.17.4" href="#section-2.17.4">2.17.4</a>. "height" Attribute</span>
Duplicates functionality available on <artwork>; avoid it.
<span class="h4"><a class="selflink" id="section-2.17.5" href="#section-2.17.5">2.17.5</a>. "src" Attribute</span>
Duplicates functionality available on <artwork>; avoid it.
<span class="h4"><a class="selflink" id="section-2.17.6" href="#section-2.17.6">2.17.6</a>. "suppress-title" Attribute</span>
Figures that have an "anchor" attribute will automatically get an
autogenerated title (such as "Figure 1"), even if the "title"
attribute is absent. Setting this attribute to "true" will prevent
this.
Allowed values:
o "true"
o "false" (default)
<span class="h4"><a class="selflink" id="section-2.17.7" href="#section-2.17.7">2.17.7</a>. "title" Attribute</span>
The title for the figure; this usually appears on a line after the
figure.
<span class="h4"><a class="selflink" id="section-2.17.8" href="#section-2.17.8">2.17.8</a>. "width" Attribute</span>
Duplicates functionality available on <artwork>; avoid it.
<span class="grey">Reschke Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.18" href="#section-2.18">2.18</a>. <format></span>
Provides a link to an additional format variant for a reference.
Note that these additional links are neither used in published RFCs
nor supported by all tools. If the goal is to provide a single URI
for a reference, the "target" attribute on <reference> can be used
instead.
This element appears as a child element of <reference>
(<a href="#section-2.30">Section 2.30</a>).
Content model: this element does not have any contents.
<span class="h4"><a class="selflink" id="section-2.18.1" href="#section-2.18.1">2.18.1</a>. "octets" Attribute</span>
Octet length of linked-to document.
<span class="h4"><a class="selflink" id="section-2.18.2" href="#section-2.18.2">2.18.2</a>. "target" Attribute</span>
URI of document.
<span class="h4"><a class="selflink" id="section-2.18.3" href="#section-2.18.3">2.18.3</a>. "type" Attribute (Mandatory)</span>
The type of the linked-to document, such as "TXT", "HTML", or "PDF".
<span class="grey">Reschke Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.19" href="#section-2.19">2.19</a>. <front></span>
Represents the "front matter": metadata (such as author information),
the Abstract, and additional notes.
This element appears as a child element of <reference> (<a href="#section-2.30">Section 2.30</a>)
and <rfc> (<a href="#section-2.33">Section 2.33</a>).
Content model:
In this order:
1. One <title> element (<a href="#section-2.40">Section 2.40</a>)
2. One or more <author> elements (<a href="#section-2.6">Section 2.6</a>)
3. One <date> element (<a href="#section-2.13">Section 2.13</a>)
4. Optional <area> elements (<a href="#section-2.4">Section 2.4</a>)
5. Optional <workgroup> elements (<a href="#section-2.44">Section 2.44</a>)
6. Optional <keyword> elements (<a href="#section-2.21">Section 2.21</a>)
7. One optional <abstract> element (<a href="#section-2.1">Section 2.1</a>)
8. Optional <note> elements (<a href="#section-2.24">Section 2.24</a>)
<span class="grey">Reschke Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.20" href="#section-2.20">2.20</a>. <iref></span>
Provides terms for the document's index.
Index entries can be either regular entries (when just the "item"
attribute is given) or nested entries (by specifying "subitem" as
well), grouped under a regular entry.
In this document, for instance, every element definition appears as a
regular index entry ("iref element 2.20"). In addition, for each use
of that element inside another parent element, a nested entry was
added ("iref element 2.20, ... inside annotation 2.3").
Index entries generally refer to the exact place where the <iref>
element occurred. An exception is the occurrence as a child element
of <section>, in which case the whole section is considered to be
relevant for that index entry. In some formats, index entries of
this type might be displayed as ranges.
This element appears as a child element of <annotation>
(<a href="#section-2.3">Section 2.3</a>), <c> (<a href="#section-2.8">Section 2.8</a>), <figure> (<a href="#section-2.17">Section 2.17</a>),
<postamble> (<a href="#section-2.28">Section 2.28</a>), <preamble> (<a href="#section-2.29">Section 2.29</a>), <section>
(<a href="#section-2.34">Section 2.34</a>), and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: this element does not have any contents.
<span class="h4"><a class="selflink" id="section-2.20.1" href="#section-2.20.1">2.20.1</a>. "item" Attribute (Mandatory)</span>
The item to include.
<span class="h4"><a class="selflink" id="section-2.20.2" href="#section-2.20.2">2.20.2</a>. "primary" Attribute</span>
Setting this to "true" declares the occurrence as "primary", which
might cause it to be highlighted in the index.
Allowed values:
o "true"
o "false" (default)
<span class="h4"><a class="selflink" id="section-2.20.3" href="#section-2.20.3">2.20.3</a>. "subitem" Attribute</span>
The subitem to include.
<span class="grey">Reschke Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.21" href="#section-2.21">2.21</a>. <keyword></span>
Specifies a keyword applicable to the document.
Note that each element should only contain a single keyword; for
multiple keywords, the element can simply be repeated.
Keywords are used both in the RFC Index and in the metadata of
generated documents.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.22" href="#section-2.22">2.22</a>. <list></span>
Delineates a text list.
Each list item is represented by a <t> element. The vocabulary
currently does not directly support list items consisting of multiple
paragraphs; if this is needed, <vspace> (<a href="#section-2.43">Section 2.43</a>) can be used as
a workaround.
This element appears as a child element of <t> (<a href="#section-2.38">Section 2.38</a>).
Content model:
One or more <t> elements (<a href="#section-2.38">Section 2.38</a>)
<span class="h4"><a class="selflink" id="section-2.22.1" href="#section-2.22.1">2.22.1</a>. "counter" Attribute</span>
This attribute holds a token that serves as an identifier for a
counter. The intended use is continuation of lists, where the
counter will be incremented for every list item, and there is no way
to reset the counter.
Note that this attribute functions only when the "style" attribute is
using the "format..." syntax (<a href="#section-2.22.3">Section 2.22.3</a>); otherwise, it is
ignored.
<span class="grey">Reschke Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.22.2" href="#section-2.22.2">2.22.2</a>. "hangIndent" Attribute</span>
For list styles with potentially wide labels, this attribute can
override the default indentation level, measured in number of
characters.
Note that it only affects styles with variable-width labels
("format..." and "hanging"; see below), and it may not affect formats
in which the list item text appears _below_ the label.
<span class="h4"><a class="selflink" id="section-2.22.3" href="#section-2.22.3">2.22.3</a>. "style" Attribute</span>
This attribute is used to control the display of a list.
The value of this attribute is inherited by any nested lists that do
not have this attribute set. It may be set to:
"empty"
For unlabeled list items; it can also be used for indentation
purposes (this is the default value when there is an enclosing
list where the style is specified).
"hanging"
For lists where the items are labeled with a piece of text.
The label text is specified in the "hangText" attribute of the <t>
element (<a href="#section-2.38.2">Section 2.38.2</a>).
"letters"
For ordered lists using letters as labels (lowercase letters
followed by a period; after "z", it rolls over to a two-letter
format). For nested lists, processors usually flip between
uppercase and lowercase.
"numbers"
For ordered lists using numbers as labels.
"symbols"
For unordered (bulleted) lists.
The style of the bullets is chosen automatically by the processor
(some implementations allow overriding the default using a
Processing Instruction).
<span class="grey">Reschke Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
And finally:
"format ..."
For lists with customized labels, consisting of fixed text and an
item counter in various formats.
The value is a free-form text that allows counter values to be
inserted using a "percent-letter" format. For instance, "[REQ%d]"
generates labels of the form "[REQ1]", where "%d" inserts the item
number as a decimal number.
The following formats are supported:
%c lowercase letters (a, b, c, etc.)
%C uppercase letters (A, B, C, etc.)
%d decimal numbers (1, 2, 3, etc.)
%i lowercase Roman numerals (i, ii, iii, etc.)
%I uppercase Roman numerals (I, II, III, etc.)
%% represents a percent sign
Other formats are reserved for future use.
<span class="h3"><a class="selflink" id="section-2.23" href="#section-2.23">2.23</a>. <middle></span>
Represents the main content of the document.
This element appears as a child element of <rfc> (<a href="#section-2.33">Section 2.33</a>).
Content model:
One or more <section> elements (<a href="#section-2.34">Section 2.34</a>)
<span class="grey">Reschke Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.24" href="#section-2.24">2.24</a>. <note></span>
Creates an unnumbered section that appears after the Abstract.
It is usually used for additional information to reviewers (working
group information, mailing list, ...), or for additional publication
information such as "IESG Notes".
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model:
One or more <t> elements (<a href="#section-2.38">Section 2.38</a>)
<span class="h4"><a class="selflink" id="section-2.24.1" href="#section-2.24.1">2.24.1</a>. "title" Attribute (Mandatory)</span>
The title of the note.
<span class="h3"><a class="selflink" id="section-2.25" href="#section-2.25">2.25</a>. <organization></span>
Specifies the affiliation (<a href="./rfc7322#section-4.1.2">Section 4.1.2 of [RFC7322]</a>) of an author.
This information appears both in the "Author's Address" section and
on the front page (see <a href="./rfc7322#section-4.1.1">Section 4.1.1 of [RFC7322]</a> for more
information). If the value is long, an abbreviated variant can be
specified in the "abbrev" attribute.
This element appears as a child element of <author> (<a href="#section-2.6">Section 2.6</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.25.1" href="#section-2.25.1">2.25.1</a>. "abbrev" Attribute</span>
Abbreviated variant.
<span class="h3"><a class="selflink" id="section-2.26" href="#section-2.26">2.26</a>. <phone></span>
Represents a phone number.
The value is expected to be the scheme-specific part of a "tel" URI
(so does not include the prefix "tel:"), using the "global numbers"
syntax. See <a href="./rfc3966#section-3">Section 3 of [RFC3966]</a> for details.
This element appears as a child element of <address> (<a href="#section-2.2">Section 2.2</a>).
Content model: only text content.
<span class="grey">Reschke Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.27" href="#section-2.27">2.27</a>. <postal></span>
Contains child elements providing postal information.
Note that at least one <street> element needs to be present; however,
formatters will handle empty values just fine.
This element appears as a child element of <address> (<a href="#section-2.2">Section 2.2</a>).
Content model:
In this order:
1. One or more <street> elements (<a href="#section-2.37">Section 2.37</a>)
2. In any order:
* <city> elements (<a href="#section-2.9">Section 2.9</a>)
* <region> elements (<a href="#section-2.32">Section 2.32</a>)
* <code> elements (<a href="#section-2.10">Section 2.10</a>)
* <country> elements (<a href="#section-2.11">Section 2.11</a>)
<span class="h3"><a class="selflink" id="section-2.28" href="#section-2.28">2.28</a>. <postamble></span>
Gives text that appears at the bottom of a figure or table.
This element appears as a child element of <figure> (<a href="#section-2.17">Section 2.17</a>)
and <texttable> (<a href="#section-2.39">Section 2.39</a>).
Content model:
In any order:
o Text
o <xref> elements (<a href="#section-2.45">Section 2.45</a>)
o <eref> elements (<a href="#section-2.15">Section 2.15</a>)
o <iref> elements (<a href="#section-2.20">Section 2.20</a>)
o <cref> elements (<a href="#section-2.12">Section 2.12</a>)
o <spanx> elements (<a href="#section-2.36">Section 2.36</a>)
<span class="grey">Reschke Informational [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.29" href="#section-2.29">2.29</a>. <preamble></span>
Gives text that appears at the top of a figure or table.
This element appears as a child element of <figure> (<a href="#section-2.17">Section 2.17</a>)
and <texttable> (<a href="#section-2.39">Section 2.39</a>).
Content model:
In any order:
o Text
o <xref> elements (<a href="#section-2.45">Section 2.45</a>)
o <eref> elements (<a href="#section-2.15">Section 2.15</a>)
o <iref> elements (<a href="#section-2.20">Section 2.20</a>)
o <cref> elements (<a href="#section-2.12">Section 2.12</a>)
o <spanx> elements (<a href="#section-2.36">Section 2.36</a>)
<span class="h3"><a class="selflink" id="section-2.30" href="#section-2.30">2.30</a>. <reference></span>
Represents a bibliographical reference.
This element appears as a child element of <references>
(<a href="#section-2.31">Section 2.31</a>).
Content model:
In this order:
1. One <front> element (<a href="#section-2.19">Section 2.19</a>)
2. Optional <seriesInfo> elements (<a href="#section-2.35">Section 2.35</a>)
3. Optional <format> elements (<a href="#section-2.18">Section 2.18</a>)
4. Optional <annotation> elements (<a href="#section-2.3">Section 2.3</a>)
<span class="grey">Reschke Informational [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.30.1" href="#section-2.30.1">2.30.1</a>. "anchor" Attribute (Mandatory)</span>
Document-wide unique identifier for this reference. Usually, this
will be used both to "label" the reference in the "References"
section, and as an identifier in links to this reference entry.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]),
additionally constrained to US-ASCII characters [<a href="#ref-USASCII" title=""Coded Character Set -- 7-bit American Standard Code for Information Interchange"">USASCII</a>]. Thus, the
character repertoire consists of "A-Z", "a-z", "0-9", "_", "-", ".",
and ":", where "0-9", ".", and "-" are disallowed as start
characters.
<span class="h4"><a class="selflink" id="section-2.30.2" href="#section-2.30.2">2.30.2</a>. "target" Attribute</span>
Holds the URI for the reference.
Note that, depending on the <seriesInfo> element, a URI might not be
needed and might not be desirable, as it can be automatically
generated (for instance, for RFCs).
<span class="h3"><a class="selflink" id="section-2.31" href="#section-2.31">2.31</a>. <references></span>
Contains a set of bibliographical references.
In the early days of the RFC series, there was only one "References"
section per RFC. This convention was later changed to group
references into two sets -- "Normative" and "Informative" -- as
described in <a href="./rfc7322#section-4.8.6">Section 4.8.6 of [RFC7322]</a>. This vocabulary supports
the split with the "title" attribute.
By default, the order of references is significant. Processors,
however, can be instructed to sort them based on their anchor names.
This element appears as a child element of <back> (<a href="#section-2.7">Section 2.7</a>).
Content model:
One or more <reference> elements (<a href="#section-2.30">Section 2.30</a>)
<span class="h4"><a class="selflink" id="section-2.31.1" href="#section-2.31.1">2.31.1</a>. "title" Attribute</span>
Provides the title for the "References" section (defaulting to
"References").
In general, the title should be either "Normative References" or
"Informative References".
<span class="grey">Reschke Informational [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.32" href="#section-2.32">2.32</a>. <region></span>
Provides the region name in a postal address.
This element appears as a child element of <postal> (<a href="#section-2.27">Section 2.27</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.33" href="#section-2.33">2.33</a>. <rfc></span>
This is the root element of the xml2rfc vocabulary.
Processors distinguish between RFC mode ("number" attribute being
present) and Internet-Draft mode ("docName" attribute being present):
it is invalid to specify both. Setting neither "number" nor
"docName" can be useful for producing other types of documents but is
out of scope for this specification.
Content model:
In this order:
1. One <front> element (<a href="#section-2.19">Section 2.19</a>)
2. One <middle> element (<a href="#section-2.23">Section 2.23</a>)
3. One optional <back> element (<a href="#section-2.7">Section 2.7</a>)
<span class="h4"><a class="selflink" id="section-2.33.1" href="#section-2.33.1">2.33.1</a>. "category" Attribute</span>
Document category (see <a href="#appendix-A.1">Appendix A.1</a>).
Allowed values:
o "std"
o "bcp"
o "info"
o "exp"
o "historic"
<span class="grey">Reschke Informational [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.33.2" href="#section-2.33.2">2.33.2</a>. "consensus" Attribute</span>
Affects the generated boilerplate.
See [<a href="./rfc5741" title=""RFC Streams, Headers, and Boilerplates"">RFC5741</a>] for more information.
Allowed values:
o "no"
o "yes"
<span class="h4"><a class="selflink" id="section-2.33.3" href="#section-2.33.3">2.33.3</a>. "docName" Attribute</span>
For Internet-Drafts, this specifies the draft name (which appears
below the title).
A processor should give an error if both the "docName" and "number"
attributes are given in the <rfc> element.
Note that the file extension is not part of the draft, so in general
it should end with the current draft number ("-", plus two digits).
Furthermore, it is good practice to disambiguate current editor
copies from submitted drafts (for instance, by replacing the draft
number with the string "latest").
See Section 7 of [<a href="#ref-IDGUIDE" title=""Guidelines to Authors of Internet-Drafts"">IDGUIDE</a>] for further information.
<span class="grey">Reschke Informational [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.33.4" href="#section-2.33.4">2.33.4</a>. "ipr" Attribute</span>
Represents the Intellectual Property status of the document. See
<a href="#appendix-A.2">Appendix A.2</a> for details.
Allowed values:
o "full2026"
o "noDerivativeWorks2026"
o "none"
o "full3667"
o "noModification3667"
o "noDerivatives3667"
o "full3978"
o "noModification3978"
o "noDerivatives3978"
o "trust200811"
o "noModificationTrust200811"
o "noDerivativesTrust200811"
o "trust200902"
o "noModificationTrust200902"
o "noDerivativesTrust200902"
o "pre5378Trust200902"
<span class="h4"><a class="selflink" id="section-2.33.5" href="#section-2.33.5">2.33.5</a>. "iprExtract" Attribute</span>
Identifies a single section within the document (by its "anchor"
attribute) for which extraction "as is" is explicitly allowed (this
is only relevant for historic values of the "ipr" attribute).
<span class="grey">Reschke Informational [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.33.6" href="#section-2.33.6">2.33.6</a>. "number" Attribute</span>
The number of the RFC to be produced.
A processor should give an error if both the "docName" and "number"
attributes are given in the <rfc> element.
<span class="h4"><a class="selflink" id="section-2.33.7" href="#section-2.33.7">2.33.7</a>. "obsoletes" Attribute</span>
A comma-separated list of RFC _numbers_ or Internet-Draft names.
Processors ought to parse the attribute value, so that incorrect
references can be detected and, depending on output format,
hyperlinks can be generated. Also, the value ought to be reformatted
to insert whitespace after each comma if not already present.
<span class="h4"><a class="selflink" id="section-2.33.8" href="#section-2.33.8">2.33.8</a>. "seriesNo" Attribute</span>
Number within a document series.
The document series is defined by the "category" attribute;
"seriesNo" is only applicable to the values "info" ("FYI" series),
"std" ("STD" series), and "bcp" ("BCP" series).
<span class="h4"><a class="selflink" id="section-2.33.9" href="#section-2.33.9">2.33.9</a>. "submissionType" Attribute</span>
The document stream.
See <a href="./rfc5741#section-2">Section 2 of [RFC5741]</a> for details.
Allowed values:
o "IETF" (default)
o "IAB"
o "IRTF"
o "independent"
<span class="h4"><a class="selflink" id="section-2.33.10" href="#section-2.33.10">2.33.10</a>. "updates" Attribute</span>
A comma-separated list of RFC _numbers_ or Internet-Draft names.
Processors ought to parse the attribute value, so that incorrect
references can be detected and, depending on output format,
hyperlinks can be generated. Also, the value ought to be reformatted
to insert whitespace after each comma if not already present.
<span class="grey">Reschke Informational [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.33.11" href="#section-2.33.11">2.33.11</a>. "xml:lang" Attribute</span>
The natural language used in the document (defaults to "en").
See Section 2.12 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>] for more information.
<span class="h3"><a class="selflink" id="section-2.34" href="#section-2.34">2.34</a>. <section></span>
Represents a section (when inside a <middle> element) or an appendix
(when inside a <back> element).
Subsections are created by nesting <section> elements inside
<section> elements.
This element appears as a child element of <back> (<a href="#section-2.7">Section 2.7</a>),
<middle> (<a href="#section-2.23">Section 2.23</a>), and <section> (<a href="#section-2.34">Section 2.34</a>).
Content model:
In this order:
1. In any order:
* <t> elements (<a href="#section-2.38">Section 2.38</a>)
* <figure> elements (<a href="#section-2.17">Section 2.17</a>)
* <texttable> elements (<a href="#section-2.39">Section 2.39</a>)
* <iref> elements (<a href="#section-2.20">Section 2.20</a>)
2. Optional <section> elements (<a href="#section-2.34">Section 2.34</a>)
<span class="h4"><a class="selflink" id="section-2.34.1" href="#section-2.34.1">2.34.1</a>. "anchor" Attribute</span>
Document-wide unique identifier for this section.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]).
<span class="h4"><a class="selflink" id="section-2.34.2" href="#section-2.34.2">2.34.2</a>. "title" Attribute (Mandatory)</span>
The title of the section.
<span class="grey">Reschke Informational [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.34.3" href="#section-2.34.3">2.34.3</a>. "toc" Attribute</span>
Determines whether the section is included in the Table of Contents.
The processor usually has defaults for whether a Table of Contents
will be produced at all, and sections of which maximal depth will be
included (frequently: 3). "include" and "exclude" allow overriding
the processor's default behavior for the element they are specified
on (they do not affect either nested or parent elements).
Allowed values:
o "include"
o "exclude"
o "default" (default)
<span class="h3"><a class="selflink" id="section-2.35" href="#section-2.35">2.35</a>. <seriesInfo></span>
Specifies the document series in which this document appears, and
also specifies an identifier within that series.
This element appears as a child element of <reference>
(<a href="#section-2.30">Section 2.30</a>).
Content model: this element does not have any contents.
<span class="h4"><a class="selflink" id="section-2.35.1" href="#section-2.35.1">2.35.1</a>. "name" Attribute (Mandatory)</span>
The name of the series.
Some series names might trigger specific processing (such as for
autogenerating links, inserting descriptions such as "work in
progress", or additional functionality like reference diagnostics).
Examples for IETF-related series names are "BCP", "FYI",
"Internet-Draft", "RFC", and "STD".
<span class="h4"><a class="selflink" id="section-2.35.2" href="#section-2.35.2">2.35.2</a>. "value" Attribute (Mandatory)</span>
The identifier within the series specified by the "name" attribute.
For BCPs, FYIs, RFCs, and STDs, this is the number within the series.
For Internet-Drafts, it is the full draft name (ending with the
two-digit version number).
<span class="grey">Reschke Informational [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.36" href="#section-2.36">2.36</a>. <spanx></span>
Wraps a piece of text, indicating special formatting styles.
When generating plain text, processors usually emulate font changes
using characters such as "*" and "_".
The following styles are defined:
emph Simple emphasis (this is the default).
strong Strong emphasis.
verb "Verbatim" text (usually displayed using a monospaced
font face).
This element appears as a child element of <annotation>
(<a href="#section-2.3">Section 2.3</a>), <c> (<a href="#section-2.8">Section 2.8</a>), <postamble> (<a href="#section-2.28">Section 2.28</a>),
<preamble> (<a href="#section-2.29">Section 2.29</a>), and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.36.1" href="#section-2.36.1">2.36.1</a>. "style" Attribute</span>
The style to be used (defaults to "emph").
<span class="h4"><a class="selflink" id="section-2.36.2" href="#section-2.36.2">2.36.2</a>. "xml:space" Attribute</span>
Determines whitespace handling.
According to the DTD, the default value is "preserve". However,
tests show that it doesn't have any effect on processing; thus, this
attribute will be removed in future versions of the vocabulary.
See also Section 2.10 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>].
Allowed values:
o "default"
o "preserve" (default)
<span class="grey">Reschke Informational [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.37" href="#section-2.37">2.37</a>. <street></span>
Provides a street address.
This element appears as a child element of <postal> (<a href="#section-2.27">Section 2.27</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.38" href="#section-2.38">2.38</a>. <t></span>
Contains a paragraph of text.
This element appears as a child element of <abstract> (<a href="#section-2.1">Section 2.1</a>),
<list> (<a href="#section-2.22">Section 2.22</a>), <note> (<a href="#section-2.24">Section 2.24</a>), and <section>
(<a href="#section-2.34">Section 2.34</a>).
Content model:
In any order:
o Text
o <list> elements (<a href="#section-2.22">Section 2.22</a>)
o <figure> elements (<a href="#section-2.17">Section 2.17</a>)
o <xref> elements (<a href="#section-2.45">Section 2.45</a>)
o <eref> elements (<a href="#section-2.15">Section 2.15</a>)
o <iref> elements (<a href="#section-2.20">Section 2.20</a>)
o <cref> elements (<a href="#section-2.12">Section 2.12</a>)
o <spanx> elements (<a href="#section-2.36">Section 2.36</a>)
o <vspace> elements (<a href="#section-2.43">Section 2.43</a>)
<span class="h4"><a class="selflink" id="section-2.38.1" href="#section-2.38.1">2.38.1</a>. "anchor" Attribute</span>
Document-wide unique identifier for this paragraph.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]).
<span class="h4"><a class="selflink" id="section-2.38.2" href="#section-2.38.2">2.38.2</a>. "hangText" Attribute</span>
Holds the label ("hanging text") for items in lists using the
"hanging" style (see <a href="#section-2.22.3">Section 2.22.3</a>).
<span class="grey">Reschke Informational [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.39" href="#section-2.39">2.39</a>. <texttable></span>
Contains a table, consisting of an optional preamble, a header line,
rows, an optional postamble, and an optional title.
The number of columns in the table is determined by the number of
<ttcol> elements. The number of rows in the table is determined by
the number of <c> elements divided by the number of columns. There
is no requirement that the number of <c> elements be evenly divisible
by the number of columns.
This element appears as a child element of <section> (<a href="#section-2.34">Section 2.34</a>).
Content model:
In this order:
1. One optional <preamble> element (<a href="#section-2.29">Section 2.29</a>)
2. One or more <ttcol> elements (<a href="#section-2.41">Section 2.41</a>)
3. Optional <c> elements (<a href="#section-2.8">Section 2.8</a>)
4. One optional <postamble> element (<a href="#section-2.28">Section 2.28</a>)
<span class="h4"><a class="selflink" id="section-2.39.1" href="#section-2.39.1">2.39.1</a>. "align" Attribute</span>
Determines the horizontal alignment of the table.
Allowed values:
o "left"
o "center" (default)
o "right"
<span class="h4"><a class="selflink" id="section-2.39.2" href="#section-2.39.2">2.39.2</a>. "anchor" Attribute</span>
Document-wide unique identifier for this table.
Furthermore, the presence of this attribute causes the table to be
numbered.
The value needs to be a valid XML "Name" (Section 2.3 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]).
<span class="grey">Reschke Informational [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="section-2.39.3" href="#section-2.39.3">2.39.3</a>. "style" Attribute</span>
Selects which borders should be drawn, where
o "all" means borders around all table cells,
o "full" is like "all", except no horizontal lines between table
rows (except below the column titles),
o "headers" adds just a separator between column titles and
rows, and
o "none" means no borders at all.
Allowed values:
o "all"
o "none"
o "headers"
o "full" (default)
<span class="h4"><a class="selflink" id="section-2.39.4" href="#section-2.39.4">2.39.4</a>. "suppress-title" Attribute</span>
Tables that have an "anchor" attribute will automatically get an
autogenerated title (such as "Table 1"), even if the "title"
attribute is absent. Setting this attribute to "true" will
prevent this.
Allowed values:
o "true"
o "false" (default)
<span class="h4"><a class="selflink" id="section-2.39.5" href="#section-2.39.5">2.39.5</a>. "title" Attribute</span>
The title for the table; this usually appears on a line below the
table body.
<span class="grey">Reschke Informational [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.40" href="#section-2.40">2.40</a>. <title></span>
Represents the document title.
When this element appears in the <front> element of the current
document, the title might also appear in page headers or footers. If
it's long (~40 characters), the "abbrev" attribute is used to specify
an abbreviated variant.
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.40.1" href="#section-2.40.1">2.40.1</a>. "abbrev" Attribute</span>
Specifies an abbreviated variant of the document title.
<span class="h3"><a class="selflink" id="section-2.41" href="#section-2.41">2.41</a>. <ttcol></span>
Contains a column heading in a table.
This element appears as a child element of <texttable>
(<a href="#section-2.39">Section 2.39</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.41.1" href="#section-2.41.1">2.41.1</a>. "align" Attribute</span>
Determines the horizontal alignment within the table column.
Allowed values:
o "left" (default)
o "center"
o "right"
<span class="h4"><a class="selflink" id="section-2.41.2" href="#section-2.41.2">2.41.2</a>. "width" Attribute</span>
The desired column width (as integer 0..100 followed by "%").
<span class="grey">Reschke Informational [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.42" href="#section-2.42">2.42</a>. <uri></span>
Contains a web address associated with the author.
The contents should be a valid URI (see <a href="./rfc3986#section-3">Section 3 of [RFC3986]</a>).
This element appears as a child element of <address> (<a href="#section-2.2">Section 2.2</a>).
Content model: only text content.
<span class="h3"><a class="selflink" id="section-2.43" href="#section-2.43">2.43</a>. <vspace></span>
This element can be used to force the inclusion of a single line
break or multiple blank lines.
Note that this is a purely presentational element; thus, its use
ought to be avoided, except within a <list> as discussed in
<a href="#section-2.22">Section 2.22</a>.
This element appears as a child element of <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: this element does not have any contents.
<span class="h4"><a class="selflink" id="section-2.43.1" href="#section-2.43.1">2.43.1</a>. "blankLines" Attribute</span>
Number of blank lines to be inserted, where "0" indicates a single
line break (defaults to "0").
For paged output formats, no additional blank lines should be
generated after a page break.
<span class="h3"><a class="selflink" id="section-2.44" href="#section-2.44">2.44</a>. <workgroup></span>
This element is used to specify the Working Group (IETF) or Research
Group (IRTF) from which the document originates, if any. The
recommended format is the official name of the Working Group (with
some capitalization).
In Internet-Drafts, this is used in the upper left corner of the
boilerplate, replacing the default "Network Working Group" string.
Formatting software can append the words "Working Group" or "Research
Group", depending on the "submissionType" property of the <rfc>
element (<a href="#section-2.33.9">Section 2.33.9</a>).
This element appears as a child element of <front> (<a href="#section-2.19">Section 2.19</a>).
Content model: only text content.
<span class="grey">Reschke Informational [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="section-2.45" href="#section-2.45">2.45</a>. <xref></span>
Inserts a cross-reference to a different part of a document.
The generated text depends on (1) whether the <xref> is empty (in
which case the processor will try to generate a meaningful text
fragment), (2) the "format" attribute, and (3) the nature (XML
element type) of the referenced document part.
Any element that allows the "anchor" attribute can be referenced;
however, there are restrictions with respect to the text content
being generated. For instance, a <t> can be a reference target;
however, because paragraphs are not (visibly) numbered, the author
will have to make sure that the combination of prose and contained
text content is sufficient for a reader to understand what is being
referred to.
This element appears as a child element of <annotation>
(<a href="#section-2.3">Section 2.3</a>), <c> (<a href="#section-2.8">Section 2.8</a>), <postamble> (<a href="#section-2.28">Section 2.28</a>),
<preamble> (<a href="#section-2.29">Section 2.29</a>), and <t> (<a href="#section-2.38">Section 2.38</a>).
Content model: only text content.
<span class="h4"><a class="selflink" id="section-2.45.1" href="#section-2.45.1">2.45.1</a>. "format" Attribute</span>
This attribute is used to control the format of the generated
reference text.
"counter"
Inserts a counter, such as the number of a section, figure, table,
or list item.
For targets that are not inherently numbered, such as references
or comments, it uses the anchor name instead.
"default"
Inserts a text fragment that describes the referenced part
completely, such as "<a href="#section-2">Section 2</a>", "Table 4", or "[<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]".
"none"
There will be no autogenerated text.
<span class="grey">Reschke Informational [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
"title"
Inserts a title for the referenced element (usually obtained from
the referenced element's "title" attribute; some processors also
use the <title> child element or a <reference> target).
Not all combinations of text content, "format" attribute, and type of
referenced part lead to predictable results across different
formatters. In case this matters, the following combinations need to
be avoided:
o Non-empty text content with any format other than "none".
o Empty text content with format "counter" for any target that isn't
inherently numbered.
o Empty text content with format "title" for any target that doesn't
have a title.
Allowed values:
o "counter"
o "title"
o "none"
o "default" (default)
<span class="h4"><a class="selflink" id="section-2.45.2" href="#section-2.45.2">2.45.2</a>. "pageno" Attribute</span>
Unused.
It's unclear what the purpose of this attribute is; processors seem
to ignore it, and it never was documented.
Allowed values:
o "true"
o "false" (default)
<span class="h4"><a class="selflink" id="section-2.45.3" href="#section-2.45.3">2.45.3</a>. "target" Attribute (Mandatory)</span>
Identifies the document component being referenced.
The value needs to match the value of the "anchor" attribute of
another element in the document.
<span class="grey">Reschke Informational [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Escaping for Use in XML</span>
Text in XML cannot use the literal characters "<" and "&", as they
have special meaning to the XML processor (starting entities,
elements, etc.). Usually, these characters will need to be
substituted by "&lt;" and "&amp;" (see Section 4.6 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]).
">" does not require escaping, unless it appears in the sequence
"]]>" (which indicates the end of a CDATA section; see below).
Escaping the individual characters can be a lot of work (when done
manually) and also messes up alignment in artwork. Another approach
to escaping is to use CDATA sections (Section 2.7 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]). Within
these, no further escaping is needed, except when the "end-of-CDATA"
marker needs to be used (in that case, the CDATA section needs to be
closed, and a new one needs to be started).
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Special Unicode Code Points</span>
Although the current RFC format does not allow non-ASCII Unicode
characters [<a href="#ref-UNICODE" title=""The Unicode Standard"">UNICODE</a>], some of them can be used to enforce certain
behaviors of formatters.
For instance:
non-breaking space (U+00A0)
Represents a space character where no line break should happen.
This is frequently used in titles (by excluding certain space
characters from the line-breaking algorithm, the processor will
use the remaining whitespace occurrences for line breaks).
non-breaking hyphen (U+2011)
Similarly, this represents a hyphen character where no line
breaking ought to occur.
word joiner (U+2060)
Also called "zero width non-breaking space" -- can be used to
disallow line breaking between two non-whitespace characters.
<span class="grey">Reschke Informational [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Note that in order to use these characters by name, they need to be
declared in either the Document Type Definition (DTD) or the
"internal subset" (Section 2.8 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]), like this:
<?xml version="1.0"?>
<!DOCTYPE rfc [
<!-- declare nbsp and friends -->
<!ENTITY nbsp "&#xa0;">
<!ENTITY nbhy "&#x2011;">
<!ENTITY wj "&#x2060;">
]>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Including Files</span>
This version of the vocabulary does not support an inclusion
mechanism on its own -- thus, a document always needs to be
self-contained.
That being said, some processors do support file inclusion using
Processing Instructions (Section 2.6 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>] and <a href="#section-4.1.2">Section 4.1.2</a> of
[<a href="#ref-TCLReadme">TCLReadme</a>]).
Furthermore, XML itself allows inclusion of external content using
the "internal subset" (Section 2.8 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]). Unfortunately, this
requires declaring the external data in the DTD upfront.
For instance:
<?xml version="1.0"?>
<!DOCTYPE rfc [
<!-- allow later <a href="./rfc2629">RFC 2629</a> reference using "&<a href="./rfc2629">rfc2629</a>;" -->
<!-- the data will be fetched from xml2rfc.ietf.org -->
<!ENTITY <a href="./rfc2629">rfc2629</a> PUBLIC
"<a href="http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2629.xml">http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2629.xml</a>">
]>
...declares the entity "<a href="./rfc2629">rfc2629</a>", which then can be used in the
"References" section:
<references>
&<a href="./rfc2629">rfc2629</a>;
</references>
<span class="grey">Reschke Informational [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Note that this mechanism only works for well-formed XML fragments;
thus, any plain text that would need to be escaped in XML can't be
included as is.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Internationalization Considerations</span>
This format is based on [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>] and thus does not have any issues
representing arbitrary Unicode [<a href="#ref-UNICODE" title=""The Unicode Standard"">UNICODE</a>] characters in text content.
However, the current canonical RFC format is restricted to US-ASCII
characters (see [<a href="#ref-USASCII" title=""Coded Character Set -- 7-bit American Standard Code for Information Interchange"">USASCII</a>] and <a href="./rfc2223#section-3">Section 3 of [RFC2223]</a>). It is
possible that this rule will be relaxed in future revisions of the
RFC format (for instance, to allow non-ASCII characters in examples
and contact information). In that case, it is expected that the
vocabulary will be extended accordingly.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The "name" attribute of the <artwork> element (<a href="#section-2.5.4">Section 2.5.4</a>) can be
used to derive a filename for saving to a local file system.
Trusting this kind of information without pre-processing is a known
security risk; see <a href="./rfc6266#section-4.3">Section 4.3 of [RFC6266]</a> for more information.
Furthermore, the nature of XML, plus vocabulary features such as
typed artwork, make it attractive to extract content from documents
for further processing, such as for the purpose of checking syntax or
computing/verifying examples. In the latter case, care needs to be
taken that only trusted content is processed.
All security considerations related to XML processing are relevant as
well (see <a href="./rfc3470#section-7">Section 7 of [RFC3470]</a>).
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Internet Media Type Registration</span>
IANA maintains the registry of Internet Media Types [<a href="#ref-BCP13" title=""Media Type Specifications and Registration Procedures"">BCP13</a>] at
<<a href="http://www.iana.org/assignments/media-types">http://www.iana.org/assignments/media-types</a>>.
This document serves as the specification for the Internet Media Type
"application/rfc+xml". The following has been registered with IANA.
Type name: application
Subtype name: rfc+xml
Required parameters: There are no required parameters.
<span class="grey">Reschke Informational [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Optional parameters: "charset": This parameter has identical
semantics to the charset parameter of the "application/xml"
Media Type specified in <a href="./rfc7303#section-9.1">Section 9.1 of [RFC7303]</a>.
Encoding considerations: Identical to those of "application/xml" as
described in <a href="./rfc7303#section-9.1">Section 9.1 of [RFC7303]</a>.
Security considerations: As defined in <a href="#section-7">Section 7</a>. In addition, as
this media type uses the "+xml" convention, it inherits the
security considerations described in <a href="./rfc7303#section-10">Section 10 of [RFC7303]</a>.
Interoperability considerations: Some aspects of this vocabulary
currently cannot be used interoperably; among the reasons for this
are that they weren't precisely defined in the first place, that
they have been added in an ad hoc fashion later on, or that they
are specific to certain output formats. This specification
attempts to identify these cases in the description of the
individual elements/attributes.
Published specification: This specification.
Applications that use this media type: Applications that transform
xml2rfc to output formats such as plain text or HTML, plus
additional analysis tools.
Fragment identifier considerations: The "anchor" attribute is used
for assigning document-wide unique identifiers that can be used as
shorthand pointers, as described in Section 3.2 of [<a href="#ref-XPOINTER" title=""XPointer Framework"">XPOINTER</a>].
Additional information:
Deprecated alias names for this type: None.
Magic number(s): As specified for "application/xml" in
<a href="./rfc7303#section-9.1">Section 9.1 of [RFC7303]</a>.
File extension(s): .xml or .rfcxml when disambiguation from other
XML files is needed.
Macintosh file type code(s): TEXT
Person & email address to contact for further information: See the
Author's Address section of <a href="./rfc7749">RFC 7749</a>.
Intended usage: COMMON
Restrictions on usage: None.
<span class="grey">Reschke Informational [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Author: See the Author's Address section of <a href="./rfc7749">RFC 7749</a>.
Change controller: RFC Series Editor (rse@rfc-editor.org)
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-RFC2046">RFC2046</a>] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part Two: Media Types", <a href="./rfc2046">RFC 2046</a>,
DOI 10.17487/RFC2046, November 1996,
<<a href="http://www.rfc-editor.org/info/rfc2046">http://www.rfc-editor.org/info/rfc2046</a>>.
[<a id="ref-RFC3966">RFC3966</a>] Schulzrinne, H., "The tel URI for Telephone Numbers",
<a href="./rfc3966">RFC 3966</a>, DOI 10.17487/RFC3966, December 2004,
<<a href="http://www.rfc-editor.org/info/rfc3966">http://www.rfc-editor.org/info/rfc3966</a>>.
[<a id="ref-RFC6068">RFC6068</a>] Duerst, M., Masinter, L., and J. Zawinski, "The 'mailto'
URI Scheme", <a href="./rfc6068">RFC 6068</a>, DOI 10.17487/RFC6068, October 2010,
<<a href="http://www.rfc-editor.org/info/rfc6068">http://www.rfc-editor.org/info/rfc6068</a>>.
[<a id="ref-RFC7303">RFC7303</a>] Thompson, H. and C. Lilley, "XML Media Types", <a href="./rfc7303">RFC 7303</a>,
DOI 10.17487/RFC7303, July 2014,
<<a href="http://www.rfc-editor.org/info/rfc7303">http://www.rfc-editor.org/info/rfc7303</a>>.
[<a id="ref-XML">XML</a>] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and
F. Yergeau, "Extensible Markup Language (XML) 1.0
(Fifth Edition)", W3C Recommendation REC-xml-20081126,
November 2008,
<<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">http://www.w3.org/TR/2008/REC-xml-20081126/</a>>.
Latest version available at <<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>>.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-BCP13">BCP13</a>] Freed, N., Klensin, J., and T. Hansen, "Media Type
Specifications and Registration Procedures", <a href="https://www.rfc-editor.org/bcp/bcp13">BCP 13</a>,
<a href="./rfc6838">RFC 6838</a>, January 2013,
<<a href="http://www.rfc-editor.org/info/bcp13">http://www.rfc-editor.org/info/bcp13</a>>.
[<a id="ref-CSS">CSS</a>] Bos, B., Celic, T., Hickson, I., and H. Lie, "Cascading
Style Sheets Level 2 Revision 1 (CSS 2.1) Specification",
W3C Recommendation REC-CSS2-20110607, June 2011,
<<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>>.
Latest version available at <<a href="http://www.w3.org/TR/CSS2">http://www.w3.org/TR/CSS2</a>>.
<span class="grey">Reschke Informational [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
[<a id="ref-HTML">HTML</a>] Hickson, I., Berjon, R., Faulkner, S., Leithead, T., Doyle
Navara, E., O'Connor, E., and S. Pfeiffer, "HTML5", W3C
Recommendation REC-html5-20141028, October 2014,
<<a href="http://www.w3.org/TR/2014/REC-html5-20141028/">http://www.w3.org/TR/2014/REC-html5-20141028/</a>>.
Latest version available at <<a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>>.
[<a id="ref-IDGUIDE">IDGUIDE</a>] Housley, R., "Guidelines to Authors of Internet-Drafts",
December 2010,
<<a href="http://www.ietf.org/id-info/guidelines.html">http://www.ietf.org/id-info/guidelines.html</a>>.
[<a id="ref-JING">JING</a>] Thai Open Source Software Center Ltd, "Jing - A RELAX NG
validator in Java", 2008,
<<a href="http://www.thaiopensource.com/relaxng/jing.html">http://www.thaiopensource.com/relaxng/jing.html</a>>.
Downloads: <<a href="https://code.google.com/p/jing-trang/downloads/list">https://code.google.com/p/jing-trang/</a>
<a href="https://code.google.com/p/jing-trang/downloads/list">downloads/list</a>>.
[<a id="ref-RFC2026">RFC2026</a>] Bradner, S., "The Internet Standards Process --
Revision 3", <a href="https://www.rfc-editor.org/bcp/bcp9">BCP 9</a>, <a href="./rfc2026">RFC 2026</a>, DOI 10.17487/RFC2026,
October 1996, <<a href="http://www.rfc-editor.org/info/rfc2026">http://www.rfc-editor.org/info/rfc2026</a>>.
[<a id="ref-RFC2223">RFC2223</a>] Postel, J. and J. Reynolds, "Instructions to RFC Authors",
<a href="./rfc2223">RFC 2223</a>, DOI 10.17487/RFC2223, October 1997,
<<a href="http://www.rfc-editor.org/info/rfc2223">http://www.rfc-editor.org/info/rfc2223</a>>.
[<a id="ref-RFC2397">RFC2397</a>] Masinter, L., "The "data" URL scheme", <a href="./rfc2397">RFC 2397</a>,
DOI 10.17487/RFC2397, August 1998,
<<a href="http://www.rfc-editor.org/info/rfc2397">http://www.rfc-editor.org/info/rfc2397</a>>.
[<a id="ref-RFC2629">RFC2629</a>] Rose, M., "Writing I-Ds and RFCs using XML", <a href="./rfc2629">RFC 2629</a>,
DOI 10.17487/RFC2629, June 1999,
<<a href="http://www.rfc-editor.org/info/rfc2629">http://www.rfc-editor.org/info/rfc2629</a>>.
[<a id="ref-RFC3470">RFC3470</a>] Hollenbeck, S., Rose, M., and L. Masinter, "Guidelines for
the Use of Extensible Markup Language (XML) within IETF
Protocols", <a href="https://www.rfc-editor.org/bcp/bcp70">BCP 70</a>, <a href="./rfc3470">RFC 3470</a>, DOI 10.17487/RFC3470,
January 2003, <<a href="http://www.rfc-editor.org/info/rfc3470">http://www.rfc-editor.org/info/rfc3470</a>>.
[<a id="ref-RFC3667">RFC3667</a>] Bradner, S., "IETF Rights in Contributions", <a href="./rfc3667">RFC 3667</a>,
DOI 10.17487/RFC3667, February 2004,
<<a href="http://www.rfc-editor.org/info/rfc3667">http://www.rfc-editor.org/info/rfc3667</a>>.
[<a id="ref-RFC3978">RFC3978</a>] Bradner, S., Ed., "IETF Rights in Contributions",
<a href="./rfc3978">RFC 3978</a>, DOI 10.17487/RFC3978, March 2005,
<<a href="http://www.rfc-editor.org/info/rfc3978">http://www.rfc-editor.org/info/rfc3978</a>>.
<span class="grey">Reschke Informational [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
[<a id="ref-RFC3986">RFC3986</a>] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66,
<a href="./rfc3986">RFC 3986</a>, DOI 10.17487/RFC3986, January 2005,
<<a href="http://www.rfc-editor.org/info/rfc3986">http://www.rfc-editor.org/info/rfc3986</a>>.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>>.
[<a id="ref-RFC5378">RFC5378</a>] Bradner, S., Ed., and J. Contreras, Ed., "Rights
Contributors Provide to the IETF Trust", <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, <a href="./rfc5378">RFC 5378</a>,
DOI 10.17487/RFC5378, November 2008,
<<a href="http://www.rfc-editor.org/info/rfc5378">http://www.rfc-editor.org/info/rfc5378</a>>.
[<a id="ref-RFC5598">RFC5598</a>] Crocker, D., "Internet Mail Architecture", <a href="./rfc5598">RFC 5598</a>,
DOI 10.17487/RFC5598, July 2009,
<<a href="http://www.rfc-editor.org/info/rfc5598">http://www.rfc-editor.org/info/rfc5598</a>>.
PDF version: <<a href="http://www.rfc-editor.org/rfc/rfc5598.pdf">http://www.rfc-editor.org/rfc/rfc5598.pdf</a>>
[<a id="ref-RFC5741">RFC5741</a>] Daigle, L., Ed., Kolkman, O., Ed., and IAB, "RFC Streams,
Headers, and Boilerplates", <a href="./rfc5741">RFC 5741</a>,
DOI 10.17487/RFC5741, December 2009,
<<a href="http://www.rfc-editor.org/info/rfc5741">http://www.rfc-editor.org/info/rfc5741</a>>.
[<a id="ref-RFC6266">RFC6266</a>] Reschke, J., "Use of the Content-Disposition Header Field
in the Hypertext Transfer Protocol (HTTP)", <a href="./rfc6266">RFC 6266</a>,
DOI 10.17487/RFC6266, June 2011,
<<a href="http://www.rfc-editor.org/info/rfc6266">http://www.rfc-editor.org/info/rfc6266</a>>.
[<a id="ref-RFC7322">RFC7322</a>] Flanagan, H. and S. Ginoza, "RFC Style Guide", <a href="./rfc7322">RFC 7322</a>,
DOI 10.17487/RFC7322, September 2014,
<<a href="http://www.rfc-editor.org/info/rfc7322">http://www.rfc-editor.org/info/rfc7322</a>>.
[<a id="ref-RNC">RNC</a>] Clark, J., "RELAX NG Compact Syntax", OASIS,
November 2002, <<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/</a>
<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">relax-ng/compact-20021121.html</a>>.
[<a id="ref-TCLReadme">TCLReadme</a>]
Rose, M., Fenner, B., and C. Levert, "xml2rfc v1.35pre1",
October 2009, <<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/archive/README.html">http://svn.tools.ietf.org/svn/tools/</a>
<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/archive/README.html">xml2rfc/archive/README.html</a>>.
[<a id="ref-TLP1.0">TLP1.0</a>] IETF Trust, "Legal Provisions Relating to IETF Documents",
November 2008,
<<a href="http://trustee.ietf.org/license-info/IETF-TLP-1.htm">http://trustee.ietf.org/license-info/IETF-TLP-1.htm</a>>.
<span class="grey">Reschke Informational [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
[<a id="ref-TLP2.0">TLP2.0</a>] IETF Trust, "Legal Provisions Relating to IETF Documents",
February 2009,
<<a href="http://trustee.ietf.org/license-info/IETF-TLP-2.htm">http://trustee.ietf.org/license-info/IETF-TLP-2.htm</a>>.
[<a id="ref-TLP3.0">TLP3.0</a>] IETF Trust, "Legal Provisions Relating to IETF Documents",
September 2009,
<<a href="http://trustee.ietf.org/license-info/IETF-TLP-3.htm">http://trustee.ietf.org/license-info/IETF-TLP-3.htm</a>>.
[<a id="ref-TLP4.0">TLP4.0</a>] IETF Trust, "Legal Provisions Relating to IETF Documents",
December 2009,
<<a href="http://trustee.ietf.org/license-info/IETF-TLP-4.htm">http://trustee.ietf.org/license-info/IETF-TLP-4.htm</a>>.
[<a id="ref-TLP5.0">TLP5.0</a>] IETF Trust, "Legal Provisions Relating to IETF Documents",
March 2015,
<<a href="http://trustee.ietf.org/license-info/IETF-TLP-5.htm">http://trustee.ietf.org/license-info/IETF-TLP-5.htm</a>>.
[<a id="ref-UNICODE">UNICODE</a>] The Unicode Consortium, "The Unicode Standard",
<<a href="http://www.unicode.org/versions/latest/">http://www.unicode.org/versions/latest/</a>>.
[<a id="ref-USASCII">USASCII</a>] American National Standards Institute, "Coded Character
Set -- 7-bit American Standard Code for Information
Interchange", ANSI X3.4, 1986.
[<a id="ref-V1rev">V1rev</a>] Rose, M., "Writing I-Ds and RFCs using XML (revised)",
February 2008,
<<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/archive/draft-mrose-writing-rfcs.html">http://svn.tools.ietf.org/svn/tools/xml2rfc/archive/</a>
<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/archive/draft-mrose-writing-rfcs.html">draft-mrose-writing-rfcs.html</a>>.
[<a id="ref-XPOINTER">XPOINTER</a>] Grosso, P., Maler, E., Marsh, J., and N. Walsh, "XPointer
Framework", W3C Recommendation REC-xptr-framework-
20030325, March 2003,
<<a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/">http://www.w3.org/TR/2003/REC-xptr-framework-20030325/</a>>.
Latest version available at
<<a href="http://www.w3.org/TR/xptr-framework/">http://www.w3.org/TR/xptr-framework/</a>>.
<span class="grey">Reschke Informational [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Front-Page ("Boilerplate") Generation</span>
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. The "category" Attribute</span>
For RFCs, the "category" attribute (<a href="#section-2.33.1">Section 2.33.1</a>) determines the
"maturity level" (see <a href="./rfc2026#section-4">Section 4 of [RFC2026]</a>). The allowed values
are "std" for "Standards Track", "bcp" for "BCP", "info" for
"Informational", "exp" for "Experimental", and "historic" for
"Historic".
For Internet-Drafts, the "category" attribute is not needed; when
supplied, it will appear as "Intended Status". Supplying this
information can be useful to reviewers.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. The "ipr" Attribute</span>
This attribute value can take a long list of values, each of which
describes an IPR policy for the document (<a href="#section-2.33.4">Section 2.33.4</a>). The
values are not the result of a grand design, but they remain simply
for historic reasons. Of these values, only a few are currently in
use; all others are supported by various tools for backwards
compatibility with old source files.
*Note:* some variations of the boilerplate are selected based on
the document's date; therefore, it is important to specify the
"year", "month", and "day" attributes of the <date> element when
archiving the XML source of an Internet-Draft on the day of
submission.
_Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION.
IF YOU NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER._
For further information, refer to
<<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>>.
For the current "Status of This Memo" text, the "submissionType"
attribute (<a href="#section-2.33.9">Section 2.33.9</a>) determines whether a statement about "Code
Components" is inserted (which is the case for the value "IETF",
which is the default). Other values, such as "independent", suppress
this part of the text.
<span class="grey">Reschke Informational [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h4"><a class="selflink" id="appendix-A.2.1" href="#appendix-A.2.1">A.2.1</a>. Current Values: "*trust200902"</span>
The name for these values refers to the IETF Trust's "Legal
Provisions Relating to IETF Documents", sometimes simply called the
"TLP", which went into effect on February 15, 2009 [<a href="#ref-TLP2.0" title=""Legal Provisions Relating to IETF Documents"">TLP2.0</a>]. Updates
to this document were published on September 12, 2009 [<a href="#ref-TLP3.0" title=""Legal Provisions Relating to IETF Documents"">TLP3.0</a>] and on
December 28, 2009 [<a href="#ref-TLP4.0" title=""Legal Provisions Relating to IETF Documents"">TLP4.0</a>], modifying the license for code components
(see <<a href="http://trustee.ietf.org/license-info/">http://trustee.ietf.org/license-info/</a>> for further
information). The actual text is located in <a href="#section-6">Section 6</a> ("Text to Be
Included in IETF Documents") of these documents.
Formatters will automatically produce the "correct" text, depending
on the document's date information (see above):
+----------+--------------------------------+
| TLP | starting with publication date |
+----------+--------------------------------+
| [<a href="#ref-TLP3.0" title=""Legal Provisions Relating to IETF Documents"">TLP3.0</a>] | 2009-11-01 |
| [<a href="#ref-TLP4.0" title=""Legal Provisions Relating to IETF Documents"">TLP4.0</a>] | 2010-04-01 |
+----------+--------------------------------+
The TLP was again updated in March 2015 ([<a href="#ref-TLP5.0" title=""Legal Provisions Relating to IETF Documents"">TLP5.0</a>]), but the
changes made in that version do not affect the boilerplate text.
<span class="h5"><a class="selflink" id="appendix-A.2.1.1" href="#appendix-A.2.1.1">A.2.1.1</a>. trust200902</span>
This value should be used unless one of the more specific
"*trust200902" values is a better fit. It produces the text in
Sections <a href="#section-6">6</a>.a and 6.b of the TLP.
<span class="h5"><a class="selflink" id="appendix-A.2.1.2" href="#appendix-A.2.1.2">A.2.1.2</a>. noModificationTrust200902</span>
This produces additional text from <a href="#section-6">Section 6</a>.c.i of the TLP:
This document may not be modified, and derivative works of it may
not be created, except to format it for publication as an RFC or
to translate it into languages other than English.
*Note:* this clause is incompatible with RFCs that are published
on the Standards Track.
<span class="grey">Reschke Informational [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h5"><a class="selflink" id="appendix-A.2.1.3" href="#appendix-A.2.1.3">A.2.1.3</a>. noDerivativesTrust200902</span>
This produces the additional text from <a href="#section-6">Section 6</a>.c.ii of the TLP:
This document may not be modified, and derivative works of it may
not be created, and it may not be published except as an
Internet-Draft.
*Note:* this clause is incompatible with RFCs.
<span class="h5"><a class="selflink" id="appendix-A.2.1.4" href="#appendix-A.2.1.4">A.2.1.4</a>. pre5378Trust200902</span>
This produces the additional text from <a href="#section-6">Section 6</a>.c.iii of the TLP,
frequently called the "pre-5378 escape clause" (referring to changes
introduced in [<a href="./rfc5378" title=""Rights Contributors Provide to the IETF Trust"">RFC5378</a>]):
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s)
controlling the copyright in such materials, this document may not
be modified outside the IETF Standards Process, and derivative
works of it may not be created outside the IETF Standards Process,
except to format it for publication as an RFC or to translate it
into languages other than English.
See <a href="#section-4">Section 4</a> of
<<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>>
for further information about when to use this value.
*Note:* this text appears under "Copyright Notice", unless the
document was published before November 2009, in which case it
appears under "Status of This Memo".
<span class="h4"><a class="selflink" id="appendix-A.2.2" href="#appendix-A.2.2">A.2.2</a>. Historic Values</span>
<span class="h5"><a class="selflink" id="appendix-A.2.2.1" href="#appendix-A.2.2.1">A.2.2.1</a>. Historic Values: "*trust200811"</span>
The attribute values "trust200811", "noModificationTrust200811", and
"noDerivativesTrust200811" are similar to their "trust200902"
counterparts, except that they use text specified in [<a href="#ref-TLP1.0" title=""Legal Provisions Relating to IETF Documents"">TLP1.0</a>].
<span class="grey">Reschke Informational [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h5"><a class="selflink" id="appendix-A.2.2.2" href="#appendix-A.2.2.2">A.2.2.2</a>. Historic Values: "*3978"</span>
The attribute values "full3978", "noModification3978", and
"noDerivatives3978" are similar to their counterparts above, except
that they use text specified in <a href="./rfc3978#section-5">Section 5 of [RFC3978]</a>.
<span class="h5"><a class="selflink" id="appendix-A.2.2.3" href="#appendix-A.2.2.3">A.2.2.3</a>. Historic Values: "*3667"</span>
The attribute values "full3667", "noModification3667", and
"noDerivatives3667" are similar to their counterparts above, except
that they use text specified in <a href="./rfc3667#section-5">Section 5 of [RFC3667]</a>.
<span class="h5"><a class="selflink" id="appendix-A.2.2.4" href="#appendix-A.2.2.4">A.2.2.4</a>. Historic Values: "*2026"</span>
The attribute values "full2026" and "noDerivativeWorks2026" are
similar to their counterparts above, except that they use text
specified in <a href="./rfc2026#section-10">Section 10 of [RFC2026]</a>.
The special value "none" was also used back then; it denied the IETF
any rights beyond publication as an Internet-Draft.
<span class="grey">Reschke Informational [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="appendix-A.3" href="#appendix-A.3">A.3</a>. The "submissionType" Attribute</span>
The RFC Editor publishes documents from different document streams,
of which the IETF stream is the most prominent. Other streams are
the independent stream (used for things such as discussion of
Internet-related technologies that are not part of the IETF agenda),
the IAB stream (Internet Architecture Board) and the IRTF stream
(Internet Research Task Force).
The values for the attribute are "IETF" (the default value),
"independent", "IAB", and "IRTF".
Historically, this attribute did not affect the final appearance of
RFCs, except for subtle differences in copyright notices. Nowadays
(as of [<a href="./rfc5741" title=""RFC Streams, Headers, and Boilerplates"">RFC5741</a>]), the stream name appears in the first line of the
front page, and it also affects the text in the "Status of This Memo"
section.
For current documents, setting the "submissionType" attribute will
have the following effect:
o For RFCs, the stream name appears in the upper left corner of the
first page (in Internet-Drafts, this is either "Network Working
Group" or the value of the <workgroup> element).
o For RFCs, it affects the whole "Status of This Memo" section (see
<a href="./rfc5741#section-3.2.2">Section 3.2.2 of [RFC5741]</a>).
o For all RFCs and Internet-Drafts, it determines whether the
"Copyright Notice" mentions the copyright on Code Components (see
<a href="#section-6">Section 6</a> of the TLP ("Text to Be Included in IETF Documents")).
<span class="grey">Reschke Informational [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="appendix-A.4" href="#appendix-A.4">A.4</a>. The "consensus" Attribute</span>
For some of the publication streams (see <a href="#appendix-A.3">Appendix A.3</a>), the "Status
of This Memo" section depends on whether there was a consensus to
publish (again, see <a href="./rfc5741#section-3.2.2">Section 3.2.2 of [RFC5741]</a>).
The "consensus" attribute ("yes"/"no", defaulting to "yes") can be
used to supply this information. The effect for the various
streams is:
o "independent" and "IAB": none.
o "IETF": mention that there was an IETF consensus.
o "IRTF": mention that there was a research group consensus (where
the name of the research group is extracted from the <workgroup>
element).
<span class="grey">Reschke Informational [Page 55]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-56" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Changes from <a href="./rfc2629">RFC 2629</a> ("v1")</span>
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Removed Elements</span>
The <appendix> element has been removed; to generate an appendix,
place a <section> inside <back>.
<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>. Changed Defaults</span>
Many attributes have lost their "default" value; this is to avoid
having document semantics differ based on whether a DTD was specified
and evaluated. Processors will handle absent values the way the
default value was specified before.
<span class="grey">Reschke Informational [Page 56]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-57" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>. Changed Elements</span>
<artwork>: Has a set of new attributes: "name", "type", "src",
"align", "alt", "width", and "height". (<a href="#section-2.5">Section 2.5</a>)
<author>: The <organization> element is now optional. The "role"
attribute was added. (<a href="#section-2.6">Section 2.6</a>)
<country>: The requirement to use ISO 3166 codes was removed.
(<a href="#section-2.11">Section 2.11</a>)
<date>: All attributes are now optional. (<a href="#section-2.13">Section 2.13</a>)
<figure>: Has a set of new attributes: "suppress-title", "src",
"align", "alt", "width", and "height". (<a href="#section-2.17">Section 2.17</a>)
<iref>: Has a new "primary" attribute. (<a href="#section-2.20">Section 2.20</a>)
<list>: The "style" attribute isn't restricted to a set of enumerated
values anymore. The "hangIndent" and "counter" attributes have been
added. (<a href="#section-2.22">Section 2.22</a>)
<reference>: <annotation> allows adding prose to a reference. The
"anchor" attribute has been made mandatory. (<a href="#section-2.30">Section 2.30</a>)
<references>: Can now appear multiple times and can carry a "title"
attribute (so that normative and informative references can be
split). (<a href="#section-2.31">Section 2.31</a>)
<rfc>: The "ipr" attribute has gained additional values. The
attributes "consensus", "iprExtract", "submissionType", and
"xml:lang" have been added. (<a href="#section-2.33">Section 2.33</a>)
<section>: The new "toc" attribute controls whether it will appear in
the Table Of Contents. <iref> can now appear as a direct child
element. (<a href="#section-2.34">Section 2.34</a>)
<t>: The "anchor" attribute can now be used as well; however, there
are restrictions on how they can be referred to. (<a href="#section-2.38">Section 2.38</a>)
<span class="h3"><a class="selflink" id="appendix-B.4" href="#appendix-B.4">B.4</a>. New Elements</span>
The following elements have been added: <annotation> (<a href="#section-2.3">Section 2.3</a>),
<c> (<a href="#section-2.8">Section 2.8</a>), <cref> (<a href="#section-2.12">Section 2.12</a>), <format> (<a href="#section-2.18">Section 2.18</a>),
<spanx> (<a href="#section-2.36">Section 2.36</a>), <texttable> (<a href="#section-2.39">Section 2.39</a>), and <ttcol>
(<a href="#section-2.41">Section 2.41</a>).
<span class="grey">Reschke Informational [Page 57]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-58" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h2"><a class="selflink" id="appendix-C" href="#appendix-C">Appendix C</a>. RELAX NG Schema</span>
namespace a = "<a href="http://relaxng.org/ns/compatibility/annotations/1.0">http://relaxng.org/ns/compatibility/annotations/1.0</a>"
rfc =
element rfc {
attribute number { text }?,
[ a:defaultValue = "" ] attribute obsoletes { text }?,
[ a:defaultValue = "" ] attribute updates { text }?,
attribute category {
"std" | "bcp" | "info" | "exp" | "historic"
}?,
attribute consensus { "no" | "yes" }?,
attribute seriesNo { text }?,
attribute ipr {
"full2026"
| "noDerivativeWorks2026"
| "none"
| "full3667"
| "noModification3667"
| "noDerivatives3667"
| "full3978"
| "noModification3978"
| "noDerivatives3978"
| "trust200811"
| "noModificationTrust200811"
| "noDerivativesTrust200811"
| "trust200902"
| "noModificationTrust200902"
| "noDerivativesTrust200902"
| "pre5378Trust200902"
}?,
attribute iprExtract { xsd:IDREF }?,
[ a:defaultValue = "IETF" ]
attribute submissionType {
"IETF" | "IAB" | "IRTF" | "independent"
}?,
attribute docName { text }?,
[ a:defaultValue = "en" ] attribute xml:lang { text }?,
front,
middle,
back?
}
<span class="grey">Reschke Informational [Page 58]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-59" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
front =
element front {
title,
author+,
date,
area*,
workgroup*,
keyword*,
abstract?,
note*
}
title =
element title {
attribute abbrev { text }?,
text
}
author =
element author {
attribute initials { text }?,
attribute surname { text }?,
attribute fullname { text }?,
attribute role { "editor" }?,
organization?,
address?
}
organization =
element organization {
attribute abbrev { text }?,
text
}
address =
element address { postal?, phone?, facsimile?, email?, uri? }
postal =
element postal { street+, (city | region | code | country)* }
street = element street { text }
city = element city { text }
region = element region { text }
code = element code { text }
<span class="grey">Reschke Informational [Page 59]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-60" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
country = element country { text }
phone = element phone { text }
facsimile = element facsimile { text }
email = element email { text }
uri = element uri { text }
date =
element date {
attribute day { text }?,
attribute month { text }?,
attribute year { text }?,
empty
}
area = element area { text }
workgroup = element workgroup { text }
keyword = element keyword { text }
abstract = element abstract { t+ }
note =
element note {
attribute title { text },
t+
}
middle = element middle { section+ }
section =
element section {
attribute anchor { xsd:ID }?,
attribute title { text },
[ a:defaultValue = "default" ]
attribute toc { "include" | "exclude" | "default" }?,
(t | figure | texttable | iref)*,
section*
}
<span class="grey">Reschke Informational [Page 60]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-61" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
t =
element t {
attribute anchor { xsd:ID }?,
attribute hangText { text }?,
(text
| \list
| figure
| xref
| eref
| iref
| cref
| spanx
| vspace)*
}
\list =
element list {
attribute style { text }?,
attribute hangIndent { text }?,
attribute counter { text }?,
t+
}
xref =
element xref {
attribute target { xsd:IDREF },
[ a:defaultValue = "false" ]
attribute pageno { "true" | "false" }?,
[ a:defaultValue = "default" ]
attribute format { "counter" | "title" | "none" | "default" }?,
text
}
eref =
element eref {
attribute target { text },
text
}
iref =
element iref {
attribute item { text },
[ a:defaultValue = "" ] attribute subitem { text }?,
[ a:defaultValue = "false" ]
attribute primary { "true" | "false" }?,
empty
}
<span class="grey">Reschke Informational [Page 61]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-62" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
cref =
element cref {
attribute anchor { xsd:ID }?,
attribute source { text }?,
text
}
spanx =
element spanx {
[ a:defaultValue = "preserve" ]
attribute xml:space { "default" | "preserve" }?,
[ a:defaultValue = "emph" ] attribute style { text }?,
text
}
vspace =
element vspace {
[ a:defaultValue = "0" ] attribute blankLines { text }?,
empty
}
figure =
element figure {
attribute anchor { xsd:ID }?,
[ a:defaultValue = "" ] attribute title { text }?,
[ a:defaultValue = "false" ]
attribute suppress-title { "true" | "false" }?,
attribute src { text }?,
[ a:defaultValue = "left" ]
attribute align { "left" | "center" | "right" }?,
[ a:defaultValue = "" ] attribute alt { text }?,
[ a:defaultValue = "" ] attribute width { text }?,
[ a:defaultValue = "" ] attribute height { text }?,
iref*,
preamble?,
artwork,
postamble?
}
preamble =
element preamble { (text | xref | eref | iref | cref | spanx)* }
<span class="grey">Reschke Informational [Page 62]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-63" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
artwork =
element artwork {
[ a:defaultValue = "preserve" ]
attribute xml:space { "default" | "preserve" }?,
[ a:defaultValue = "" ] attribute name { text }?,
[ a:defaultValue = "" ] attribute type { text }?,
attribute src { text }?,
[ a:defaultValue = "left" ]
attribute align { "left" | "center" | "right" }?,
[ a:defaultValue = "" ] attribute alt { text }?,
[ a:defaultValue = "" ] attribute width { text }?,
[ a:defaultValue = "" ] attribute height { text }?,
text*
}
postamble =
element postamble { (text | xref | eref | iref | cref | spanx)* }
texttable =
element texttable {
attribute anchor { xsd:ID }?,
[ a:defaultValue = "" ] attribute title { text }?,
[ a:defaultValue = "false" ]
attribute suppress-title { "true" | "false" }?,
[ a:defaultValue = "center" ]
attribute align { "left" | "center" | "right" }?,
[ a:defaultValue = "full" ]
attribute style { "all" | "none" | "headers" | "full" }?,
preamble?,
ttcol+,
c*,
postamble?
}
ttcol =
element ttcol {
attribute width { text }?,
[ a:defaultValue = "left" ]
attribute align { "left" | "center" | "right" }?,
text
}
c = element c { (text | xref | eref | iref | cref | spanx)* }
back = element back { references*, section* }
<span class="grey">Reschke Informational [Page 63]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-64" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
references =
element references {
[ a:defaultValue = "References" ] attribute title { text }?,
reference+
}
reference =
element reference {
attribute anchor { xsd:ID },
attribute target { text }?,
front,
seriesInfo*,
format*,
annotation*
}
seriesInfo =
element seriesInfo {
attribute name { text },
attribute value { text },
empty
}
format =
element format {
attribute target { text }?,
attribute type { text },
attribute octets { text }?,
empty
}
annotation =
element annotation { (text | xref | eref | iref | cref | spanx)* }
start = rfc
(This schema was derived from version 1.3.6 of the xml2rfc DTD
("Document Type Definition") (Section 2.8 of [<a href="#ref-XML" title=""Extensible Markup Language (XML) 1.0 (Fifth Edition)"">XML</a>]), available from
<<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/vocabulary/v2/03/xml2rfcv2.dtd">http://svn.tools.ietf.org/svn/tools/xml2rfc/vocabulary/v2/03/</a>
<a href="http://svn.tools.ietf.org/svn/tools/xml2rfc/vocabulary/v2/03/xml2rfcv2.dtd">xml2rfcv2.dtd</a>>.)
<span class="grey">Reschke Informational [Page 64]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-65" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
<span class="h3"><a class="selflink" id="appendix-C.1" href="#appendix-C.1">C.1</a>. Checking Validity</span>
The validity of XML files can be checked with any tool that supports
RELAX NG [<a href="#ref-RNC" title=""RELAX NG Compact Syntax"">RNC</a>]. The reference implementation is the Java-based,
open-sourced "Jing" [<a href="#ref-JING" title=""Jing - A RELAX NG validator in Java"">JING</a>].
To use Jing, download the latest ZIP file from the "downloads" page
(currently <<a href="https://code.google.com/p/jing-trang/downloads/detail?name=jing-20091111.zip">https://code.google.com/p/jing-trang/downloads/</a>
<a href="https://code.google.com/p/jing-trang/downloads/detail?name=jing-20091111.zip">detail?name=jing-20091111.zip</a>>), extract the archive, copy "jing.jar"
from the "bin" folder, and make sure Java is installed.
To check a file "test.xml" using the RNC file "schema.rnc", run (from
a command-line prompt):
java -jar jing.jar -c schema.rnc test.xml
In good Unix tradition, no output means the file is valid.
<span class="grey">Reschke Informational [Page 65]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-66" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
IAB Members at the Time of Approval
Jari Arkko (IETF Chair)
Mary Barnes
Marc Blanchet
Ralph Droms
Ted Hardie
Joe Hildebrand
Russ Housley
Erik Nordmark
Robert Sparks
Andrew Sullivan
Dave Thaler
Brian Trammell
Suzanne Woolf
Acknowledgments
Thanks to everybody who reviewed this document and provided feedback
and/or specification text, in particular Brian Carpenter, Elwyn
Davies, Tony Hansen, Joe Hildebrand, Paul Hoffman, Henrik Levkowetz,
Alice Russo, Tom Taylor, Dave Thaler, Jim Schaad, and Nico Williams.
We also thank Marshall T. Rose for both the original design and the
reference implementation of the "xml2rfc" formatter.
<span class="grey">Reschke Informational [Page 66]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-67" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
Index
A
Attributes
abbrev 21, 34
align 7, 14, 32, 34
alt 7, 15
anchor 11, 15, 23, 28, 31-32
blankLines 35
category 25
consensus 25
counter 18
day 12
docName 25
format 36
fullname 9
hangIndent 18
hangText 31
height 7, 15
initials 9
ipr 26
iprExtract 26
item 17
month 12
name 7, 29
number 27
obsoletes 27
octets 16
pageno 37
primary 17
role 9
seriesNo 27
source 12
src 7, 15
style 19, 30, 32
subitem 17
submissionType 27
suppress-title 15, 33
surname 10
target 13, 16, 23, 37
title 15, 21, 24, 28, 33
toc 28
type 8, 16
updates 27
value 29
width 8, 15, 34
<span class="grey">Reschke Informational [Page 67]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-68" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
xml:lang 28
xml:space 8, 30
year 13
abbrev attribute
in organization element 21
in title element 34
abstract element 4, 50
inside front 16
address element 4, 50
inside author 9
align attribute
in artwork element 7
in figure element 14
in texttable element 32
in ttcol element 34
alt attribute
in artwork element 7
in figure element 15
anchor attribute
in cref element 11
in figure element 15
in reference element 23
in section element 28
in t element 31
in texttable element 32
annotation element 5, 50
inside reference 23
application/rfc+xml Media Type 40
area element 5, 50
inside front 16
artwork element 6, 50
align attribute 7
alt attribute 7
height attribute 7
inside figure 14
name attribute 7
src attribute 7
type attribute 8
width attribute 8
xml:space attribute 8
author element 8, 50
fullname attribute 9
initials attribute 9
inside front 16
role attribute 9
surname attribute 10
<span class="grey">Reschke Informational [Page 68]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-69" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
B
back element 10, 50
inside rfc 25
blankLines attribute
in vspace element 35
C
c element 10, 50
inside texttable 32
category attribute
in rfc element 25
city element 11, 50
inside postal 22
code element 11, 50
inside postal 22
consensus attribute
in rfc element 25
counter attribute
in list element 18
country element 11, 50
inside postal 22
cref element 11, 50
anchor attribute 11
inside annotation 5
inside c 10
inside postamble 22
inside preamble 23
inside t 31
source attribute 12
D
date element 12, 50
day attribute 12
inside front 16
month attribute 12
year attribute 13
day attribute
in date element 12
docName attribute
in rfc element 25
E
Elements
abstract 4, 16
address 4, 9
annotation 5, 23
area 5, 16
artwork 6, 14
author 8, 16
back 10, 25
c 10, 32
<span class="grey">Reschke Informational [Page 69]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-70" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
city 11, 22
code 11, 22
country 11, 22
cref 5, 10-11, 22-23, 31
date 12, 16
email 5, 13
eref 5, 10, 13, 22-23, 31
facsimile 5, 14
figure 14, 28, 31
format 15, 23
front 16, 23, 25
iref 5, 10, 14, 17, 22-23, 28, 31
keyword 16, 18
list 18, 31
middle 20, 25
note 17, 20
organization 9, 21
phone 5, 21
postal 5, 21
postamble 14, 22, 32
preamble 14, 22, 32
reference 23-24
references 10, 24
region 22, 24
rfc 24
section 10, 20, 28
seriesInfo 23, 29
spanx 5, 10, 22-23, 29, 31
street 21, 30
t 4, 18, 20, 28, 31
texttable 28, 31
title 16, 33
ttcol 32, 34
uri 5, 34
vspace 31, 34
workgroup 16, 35
xref 5, 10, 22, 31, 35
email element 13, 50
inside address 5
eref element 13, 50
inside annotation 5
inside c 10
inside postamble 22
inside preamble 23
inside t 31
target attribute 13
<span class="grey">Reschke Informational [Page 70]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-71" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
F
facsimile element 14, 50
inside address 5
figure element 14, 50
align attribute 14
alt attribute 15
anchor attribute 15
height attribute 15
inside section 28
inside t 31
src attribute 15
suppress-title attribute 15
title attribute 15
width attribute 15
format attribute
in xref element 36
format element 15, 50
inside reference 23
octets attribute 16
target attribute 16
type attribute 16
front element 16, 50
inside reference 23
inside rfc 25
fullname attribute
in author element 9
H
hangIndent attribute
in list element 18
hangText attribute
in t element 31
height attribute
in artwork element 7
in figure element 15
I
initials attribute
in author element 9
ipr attribute
"*2026" 48
"*3667" 48
"*3978" 47
"*trust200811" 47
"*trust200902" 46
"noDerivativesTrust200902" 47
"noModificationTrust200902" 46
"pre5378Trust200902" 47
"trust200902" 46
in rfc element 26
<span class="grey">Reschke Informational [Page 71]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-72" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
iprExtract attribute
in rfc element 26
iref element 17, 50
inside annotation 5
inside c 10
inside figure 14
inside postamble 22
inside preamble 23
inside section 28
inside t 31
item attribute 17
primary attribute 17
subitem attribute 17
item attribute
in iref element 17
K
keyword element 18, 50
inside front 16
L
list element 18, 50
counter attribute 18
hangIndent attribute 18
inside t 31
style attribute 19
list styles
empty 19
format ... <a href="#page-20">20</a>
hanging 19
letters 19
numbers 19
symbols 19
M
Media Type
application/rfc+xml 40
middle element 20, 50
inside rfc 25
month attribute
in date element 12
N
name attribute
in artwork element 7
in seriesInfo element 29
note element 20, 50
inside front 17
title attribute 21
number attribute
in rfc element 27
<span class="grey">Reschke Informational [Page 72]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-73" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
O
obsoletes attribute
in rfc element 27
octets attribute
in format element 16
organization element 21, 50
abbrev attribute 21
inside author 9
P
pageno attribute
in xref element 37
phone element 21, 50
inside address 5
postal element 21, 50
inside address 5
postamble element 22, 50
inside figure 14
inside texttable 32
preamble element 22, 50
inside figure 14
inside texttable 32
primary attribute
in iref element 17
R
reference element 23, 50
anchor attribute 23
inside references 24
target attribute 23
references element 24, 50
inside back 10
title attribute 24
region element 24, 50
inside postal 22
rfc element 24, 50
category attribute 25
consensus attribute 25
docName attribute 25
ipr attribute 26
iprExtract attribute 26
number attribute 27
obsoletes attribute 27
seriesNo attribute 27
submissionType attribute 27
updates attribute 27
xml:lang attribute 28
role attribute
in author element 9
<span class="grey">Reschke Informational [Page 73]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-74" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
S
section element 28, 50
anchor attribute 28
inside back 10
inside middle 20
inside section 28
title attribute 28
toc attribute 28
seriesInfo element 29, 50
inside reference 23
name attribute 29
value attribute 29
seriesNo attribute
in rfc element 27
source attribute
in cref element 12
spanx element 29, 50
inside annotation 5
inside c 10
inside postamble 22
inside preamble 23
inside t 31
style attribute 30
xml:space attribute 30
src attribute
in artwork element 7
in figure element 15
street element 30, 50
inside postal 21
style attribute
in list element 19
in spanx element 30
in texttable element 32
subitem attribute
in iref element 17
submissionType attribute
in rfc element 27
suppress-title attribute
in figure element 15
in texttable element 33
surname attribute
in author element 10
<span class="grey">Reschke Informational [Page 74]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-75" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
T
t element 31, 50
anchor attribute 31
hangText attribute 31
inside abstract 4
inside list 18
inside note 20
inside section 28
target attribute
in eref element 13
in format element 16
in reference element 23
in xref element 37
texttable element 31, 50
align attribute 32
anchor attribute 32
inside section 28
style attribute 32
suppress-title attribute 33
title attribute 33
title attribute
in figure element 15
in note element 21
in references element 24
in section element 28
in texttable element 33
title element 33, 50
abbrev attribute 34
inside front 16
toc attribute
in section element 28
ttcol element 34, 50
align attribute 34
inside texttable 32
width attribute 34
type attribute
in artwork element 8
in format element 16
U
updates attribute
in rfc element 27
uri element 34, 50
inside address 5
<span class="grey">Reschke Informational [Page 75]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-76" ></span>
<span class="grey"><a href="./rfc7749">RFC 7749</a> The "xml2rfc" Version 2 Vocabulary February 2016</span>
V
value attribute
in seriesInfo element 29
vspace element 34, 50
blankLines attribute 35
inside t 31
W
width attribute
in artwork element 8
in figure element 15
in ttcol element 34
workgroup element 35, 50
inside front 16
X
xml:lang attribute
in rfc element 28
xml:space attribute
in artwork element 8
in spanx element 30
xref element 35, 50
format attribute 36
inside annotation 5
inside c 10
inside postamble 22
inside preamble 22
inside t 31
pageno attribute 37
target attribute 37
xref formats
counter 36
default 36
none 36
title 36
Y
year attribute
in date element 13
Author's Address
Julian F. Reschke
greenbytes GmbH
Hafenweg 16
Muenster, NW 48155
Germany
Email: julian.reschke@greenbytes.de
URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a>
Reschke Informational [Page 76]
</pre>
|