index.html 107 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head profile="http://www.w3.org/2003/g/data-view">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
    <title>GRDDL Test Cases</title>
    <link href="http://www.w3.org/2001/sw/grddl-wg/td/aboutTests.xsl"
          rel="transformation" />
    <meta name="RCS-Id" content="$Id: Overview.html,v 1.10 2007/09/11 14:26:07 jules Exp $"/>
    <style type="text/css" xml:space="preserve">
a.grddlCoverage:link {
  color: black;  
  border-bottom: 1px black thin;
  font-size: x-small;
  font-style: italic;
  font-weight: bold;
}
a.grddlCoverage:visited {
  color: black;  
  font-size: x-small;
  font-style: italic;
  font-weight: bold;
}
a.grddlCoverage:hover {
  background: gray;
  text-decoration: none;
  color: black;  
  font-size: x-small;
  font-style: italic;
  font-weight: bold;
}
a.grddlCoverage:active {
  color: black;  
  font-size: x-small;
}

.example {
  margin-left:auto;
  margin-right:auto;
  padding-top:0.5em;
  padding-bottom:0.5em;
  width:85%;
  border-top:thin dashed black;
  border-bottom:thin dashed black;
}
.approved-test {
  /*background-color: #FFE3BF;*/
  font-style:italic;
}
pre
{
  margin: auto;
  background-color: #FFC;
  padding: 1em;
  border-color: #FC3;
  border-width: 1px;
  border-style: solid;
  white-space: pre;
  overflow:auto;
  text-align: left;
  /*font-size: 10px;*/
}
pre strong {
  color: #F00;
  font-weight: bold;
}
li.NetworkedTest {
	list-style-type: circle;
}

.maximal-result p {
	font-style:italic;
	/*border-left: thin dotted black*/

}
  </style>

    <link href="http://www.w3.org/StyleSheets/TR/base" rel="stylesheet"
          type="text/css" />
    <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-REC"/>
  </head>

  <body>
    <div class="head"><a href="http://www.w3.org/" shape="rect"><img alt="W3C"
    height="48" src="http://www.w3.org/Icons/w3c_home" width="72" /> </a>
    <h1 id="title">GRDDL Test Cases</h1>
    <h2>W3C Recommendation 11 September 2007</h2>
        <dl>
        <dt>This version:</dt>
        <dd><a href="http://www.w3.org/TR/2007/REC-grddl-tests-20070911/">http://www.w3.org/TR/2007/REC-grddl-tests-20070911/</a></dd>

        <dt>Latest version:</dt>

        <dd><a href="http://www.w3.org/TR/grddl-tests/"
        shape="rect">http://www.w3.org/TR/grddl-tests/</a></dd>

        <dt>Previous versions</dt>
        <dd><a href="http://www.w3.org/TR/2007/PR-grddl-tests-20070716/">http://www.w3.org/TR/2007/PR-grddl-tests-20070716/</a></dd>

        <dt>Editor:</dt>

        <dd>Chimezie Ogbuji, Cleveland Clinic Foundation, &lt;<a
        href="mailto:ogbujic@ccf.org"
        shape="rect">ogbujic@ccf.org</a>&gt;</dd>

        <dt>Authors:</dt>

        <dd>see <a href="#acknowledgements"
        shape="rect">Acknowledgments</a></dd>
      </dl>

<p>Please refer to the <a
href="http://www.w3.org/2001/sw/grddl-wg/grddl-errata"><strong>errata</strong></a>
for this document, which may include some normative corrections.</p>

<p>See also <a href=
"http://www.w3.org/2003/03/Translations/byTechnology?technology=grddl-tests"
><strong>translations</strong></a>.</p>


 <p class="copyright"><a
    href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    shape="rect">Copyright</a> © 2006-2007 <a href="http://www.w3.org/"
    shape="rect"><acronym
    title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a
    href="http://www.csail.mit.edu/" shape="rect"><acronym
    title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
    href="http://www.ercim.org/" shape="rect"><acronym
    title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
    <a href="http://www.keio.ac.jp/" shape="rect">Keio</a>), All Rights
    Reserved. W3C <a
    href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer"
    shape="rect">liability</a>, <a
    href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"
    shape="rect">trademark</a> and <a
    href="http://www.w3.org/Consortium/Legal/copyright-documents"
    shape="rect">document use</a> rules apply.</p></div>

    <hr />

    <div><h2 id="abstract">Abstract</h2> <p>This document describes and
    includes test cases for software agents that extract RDF from XML source
    documents by following the set of mechanisms outlined in the Gleaning
    Resource Description from Dialects of Language <a
    href="#ref-GRDDL">[GRDDL]</a> specification. They demonstrate the expected
    behavior of a <a href="http://www.w3.org/TR/grddl/#sec_agt"
    shape="rect">GRDDL-aware agent</a> by specifying one (or more) RDF graph
    serializations which are the GRDDL results associated with a single source
    document.</p></div>

    <h2 id="sotd">Status of This Document</h2>

    <!--- NOTE to self: add an extra dash '-' for the resolution link below: _-_6_ -->
    <p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a>  at http://www.w3.org/TR/.</em></p>
<p>This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.</p>
<p>This September 11th 2007 release of the GRDDL Test Cases is a W3C Recommendation by the <a href="http://www.w3.org/2001/sw/grddl-wg/">W3C
GRDDL Working Group</a> (part of the <a
href="http://www.w3.org/2001/sw/">Semantic Web Activity</a>).  It has been widely reviewed and contributes to the requirements documented in <a href="http://www.w3.org/2006/07/grddl-charter.html">GRDDL Charter</a>; The tests within have been well implemented by a variety of software.</p>
<p>Please send comments about this document to <a href="mailto:public-grddl-comments@w3.org">public-grddl-comments@w3.org</a> (with <a href="http://lists.w3.org/Archives/Public/public-grddl-comments/">public archive</a>). A <a href="#changelog">log of changes</a> is maintained for the convenience of editors and reviewers.</p>
<p>A <a href="#xinclude">pair</a> of tests within <a href="#multiple-infosets">contribute</a> to addressing Web Architecture issue: <a href="http://www.w3.org/2001/tag/issues.html?type=1#xmlFunctions-34">xmlFunctions-34</a> and the notion of an <a href="http://www.w3.org/2001/tag/doc/elabInfoset.html">elaborated infoset</a></p>
<p>In June 6th, 2007 the Working Group <a href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Jun/att-0046/SV_MEETING_TITLE_--_6_Jun_2007.htm#item04">resolved</a> to postpone <a href="http://www.w3.org/2001/sw/grddl-wg/issues#issue-faithful-infoset">issue-faithful-infoset</a> in anticipation of ongoing dialog about the issue and the XML Processing Model Working Groups work to answer questions about <em>transformation signaling</em> and a default processing model.</p>
<p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/39407/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>

    <div><!-- ____________________________________________ CONTENTS _________________________________________________ --><div>
    <h2 id="toc">Table of Contents</h2> <ul>
        <li><a href="#introduction" shape="rect">Introduction</a></li>

        <li><a href="#deliverables" shape="rect">Deliverables</a></li>

        <li><a href="#test-format" shape="rect">Test Manifest Format</a></li>

        <li><a href="#doc-test-format" shape="rect">Documenting Test
        Coverage</a></li>

        <li><a href="#testft" shape="rect">Using the Test Driver</a></li>

        <li><a href="#earl-reporting" shape="rect">EARL Reporting</a></li>

        <li><a href="#protocol-tracing" shape="rect">Protocol Tracing</a></li>

        <li><a href="#grddl-library" shape="rect">GRDDL Transform
        Library</a></li>

        <li><a href="#policy" shape="rect">Local Policies, Faithful Rendition,
        and Conformance</a></li>

        <li><a href="#multiple-output" shape="rect">Tests with Multiple GRDDL
        Results</a> <ul>
            <li><a href="#multiple-infosets" shape="rect">Testing Faithful
            Infosets</a></li>

            <li><a href="#multiple-representations" shape="rect">Testing for
            Multiple Representations</a></li>

            <li><a href="#maximal-result" shape="rect">Testing for Maximal
            Result</a></li>
          </ul></li>

        <li><a href="#naming-scheme" shape="rect">Test Naming
        Convention</a></li>

        <li><a href="#normative" shape="rect">Normative Tests</a> <ul>
            <li><a href="#localized-tests" shape="rect">Localized
            Tests</a></li>

            <li><a href="#ns-absolute-loc-tests" shape="rect">Namespace
            Documents and Absolute Locations</a></li>

            <li><a href="#library-tests" shape="rect">Library Tests</a></li>

            <li><a href="#ambiguous-infoset" shape="rect">Ambiguous Infosets,
            Representations, and Traversals</a></li>
          </ul></li>

        <li><a href="#primer-tests" shape="rect">Primer Material</a></li>

        <li><a href="#informative" shape="rect">Informative Tests</a> <ul>
            <li><a href="#security-tests" shape="rect">Security Tests</a></li>
          </ul></li>
      </ul> </div><h2 id="appendix-ref"><a href="#appendices">Appendices</a></h2><ul>
        <li><a href="#test_coverage" shape="rect">A. Test Coverage</a></li>

        <li><a href="#references" shape="rect">B. References</a></li>

        <li><a href="#acknowledgements" shape="rect">C.
        Acknowledgements</a></li>

        <li><a href="#changelog" shape="rect">D. Change Log</a></li>
      </ul><p></p><h2 id="introduction">Introduction</h2> <p>A set of test
    cases is provided as part of the definition of <a href="#ref-GRDDL"
    shape="rect">[GRDDL]</a>. This document presents those test cases. They
    are intended to provide examples for, and clarification of, the normative
    behavior of a GRDDL-aware agent. They should be used for testing the
    conformance of GRDDL-aware agents. The <a href="#normative">normative</a> tests <a href="#test_coverage">cover</a> behavior
    expected of a GRDDL-aware agent.&nbsp; The <a href="#informative">informative</a> tests demonstrate
    other permitted behavior with respect to the issues resolved by the
    Working Group. This document itself has (as a GRDDL result) a manifest
    describing the test cases in RDF. For convenience, serializations of the
    GRDDL result are available as <a href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests.rdf"
    shape="rect">RDF/XML</a> and <a href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests.n3"
    shape="rect">Turtle</a>.</p>
    <p>This document and its files serve as a framework to <a href="http://www.w3.org/2001/sw/grddl-wg/td/test_results">test</a> implementations of the GRDDL <a href="http://www.w3.org/TR/grddl/">specification</a>.  It contains <a href="#doc-test-format">assertions</a> demonstrating which of the GRDDL rules are relevant for each test contained within.  In this way, it formally exercises (via <a href="#earl-reporting">EARL</a>) the mechanisms exhibited by <em>GRDDL-aware Agents</em> within a <em>Semantic Web</em> of XML Documents.</p>

    </div>

    <div><h2 id="deliverables">Deliverables</h2> The deliverables included as
    part of the test case collection are: <ul>
        <li>A recommendation track document which normatively includes the
        tests</li>

        <li>A manifest RDF/XML document describing the collection of
        tests</li>

        <li>An example driver for use with testing a particular
        implementation</li>

        <li>A zip <a href="grddl-tests.zip" shape="rect">archive</a>
        including: <ul>
            <li>The input and output(s) for local test</li>

            <li>The manifest file</li>

            <li>The test driver</li>
          </ul></li>
      </ul></div>
    <p>Note: the zip archive does not include tests which require network
    connectivity in order to properly calculate their GRDDL results.  In addition and for convenience, two manifest files are included which only
    contain the normative tests: <a href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests-normative.n3">grddl-tests-normative.n3</a> (expressed in <a href="#ref-TURTLE">Turtle</a>) and <a href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests-normative.rdf">grddl-tests-normative.rdf</a> (expressed in <a href="#ref-RDF_Syntax">RDF/XML</a>)</p>

    <div><h2 id="test-format">Test Manifest Format</h2> <p>This test
    collection uses an RDF vocabulary for manifests developed for the <a
    href="http://www.w3.org/TR/rdf-testcases/" shape="rect">RDF Test Cases</a>
    Recommendation. A GRDDL-aware agent can extract the test collection and
    automatically test compliance by attempting to reproduce the expected
    GRDDL result(s) associated with each test case. Some input documents have
    multiple output documents, see <a href="#multiple-output"
    shape="rect">below</a></p></div>

    <h2 id="doc-test-format">Documenting Test Coverage</h2>

    <p>Each test starts with: a title (in <b>bold</b>), links to the input and
    output documents, and a list of terms which indicate which GRDDL <a
    href="http://www.w3.org/TR/grddl/spec_rules">rules</a> are exercised by
    the test. Each term links to a section in the <em>Test Coverage</em> <a
    href="#test_coverage">appendix</a> which has additional information about
    the rule definition and the other tests which exercise that particular
    rule. </p>
    <p>The test manifest includes statements which identify the rules exercised by each test.  For every test, there will be a
    assertion between the test and a URI associated with the rule, using the following property URI:</p>
    <b>http://www.w3.org/2001/sw/grddl-wg/td/grddl-test-vocabulary#exercisesRule</b>
    <p>The rule URIs correpond with anchors within the GRDDL specification document and are of the form:</p>
    <p>http://www.w3.org/TR/grddl/#rule_<strong>RULE_IDENTIFIER</strong></p>
    <div><h2 id="testft">Using the Test Driver</h2> <p>We provide <a
    href="http://www.w3.org/2001/sw/grddl-wg/td/testft.py" shape="rect">testft.py</a>, a test driver, written in <a
    href="http://www.python.org" shape="rect">Python</a> and based on <a
    href="http://rdflib.net/2006/10/15/rdflib-2.3.3.tar.gz"
    shape="rect">rdflib 2.3.3</a>. Run it a la:</p> <pre xml:space="preserve">$ python testft.py --run your_grddl_impl testlist1.rdf &gt;earl_out.rdf
All tests were passed!</pre> <p></p> <p>It has options for --debug and such;
    invoke it with no arguments (or with --help) for details:</p> <pre
    xml:space="preserve">
Options:
  -r, --run              path to a GRDDL implementation to use to process the
                         source document (checking results)
  -u, --update           path to a GRDDL Implementation to use to process the
                         source document
      --tester           The URI of an agent associated with the EARL test assertions.
                         A BNode is used if none is given
      --project          The URI of the EARL 'subject' (the implementation being tested).
                         A BNode is used if none is given
      --local            A boolean flag (false by default) which indicates whether to run only the local tests
</pre> <p>The tests do not require the use of this driver</p></div>

    <div><h2 id="earl-reporting">EARL Reporting</h2> <p>In addition to writing
    various diagnostic messages to <em>STDERR</em>, the test harness writes
    additional RDF data to <em>STDOUT</em>: an <a href="#ref-EARL"
    shape="rect">[EARL]</a> test assertion about each test it runs.</p> <p>To
    tell it about the person running the tests and the software project being
    tested, point it to a tester (a URI in a <a href="#ref-FOAF"
    shape="rect">[FOAF]</a> RDF graph) and a test subject (a URI in a <a
    href="#ref-DOAP" shape="rect">[DOAP]</a> RDF graph).</p></div>

    <div><h2 id="protocol-tracing">Protocol Tracing</h2> <p>We find <a
    href="http://hathawaymix.org/Software/TCPWatch" shape="rect">TCPWatch</a>
    useful for debugging <a href="#ref-RFC2616" shape="rect">[HTTP]</a>
    protocol interactions. If you start TCPWatch like so:</p> <pre
    xml:space="preserve">$ python tcpwatch.py -p 6543 &amp;</pre> <p>then you
    can use it as a proxy:</p> <pre xml:space="preserve">$ http_proxy=http://127.0.0.1:6543 python testft.py
--run your_grddl_impl testharness.rdf</pre></div>

    <h2 id="grddl-library">GRDDL Transform Library</h2>

    <p>A <a href="http://www.w3.org/2001/sw/grddl-wg/library"
    shape="rect">library</a> of standard transforms is available for
    widespread use by authors</p>

    <h2 id="policy">Local Policies, Faithful Rendition, and Conformance</h2>

    <p>GRDDL explains that an author of a source XML document
    with references to GRDDL <a href="http://www.w3.org/TR/grddl/#txforms">transformations</a> states
    that these transformations will provide a <a href="http://www.w3.org/TR/grddl/#sec_rend" shape="rect">Faithful
    Rendition</a> of the information expressed in the document. The
    specification also grants a GRDDL-aware agent the <a
    href="http://www.w3.org/TR/2007/WD-grddl-20070302/#sec_agt">license</a> to
    make a determination of whether or not to apply a particular
    transformation guided by user interaction, a local security policy, or the
    agent's capabilities.  For example, a GRDDL-aware agent may have a
    security policy that prevents it from accessing GRDDL transformations
    located in untrusted domain names or it may be unable to apply
    transformations given in a language it does not support, and so it may
    be unable to produce the faithful rendition.</p>
    <p>Furthermore, in addition to being GRDDL-aware, an agent may feature optional capabilities such as
    the ability to locate a schema via mechanisms defined in the W3C XML Schema specification
    <a href="#ref-XMLSchema">[XMLSCHEMA]</a>.  Schemas identified this way
    can become proxies for namespace documents that would normally be identified
    by <a href="#testing_nstx">GRDDL</a>, although it is possible
    that the result of applying the transformations identified in these schemas will not be a faithful rendition.</p>
    <p><a id="test-policy">However</a>, in defining these
    tests it was assumed that the GRDDL-aware agent being tested is using a
    security policy which does <b>not</b> prevent it from applying
    transformations identified in each test, supports XSLT 1.0, and does
    not rely on any capabilities outside those defined in the GRDDL Specification.
    Such an agent should produce the GRDDL result associated with each normative test,
    except as specified immediately below.</p>

    <h2 id="multiple-output">Tests with Multiple GRDDL Results</h2>

    <div><img alt="multiple GRDDL results" src="multiple-grddl-results.png"
    title="Multiple GRDDL results" /></div>

    <p>Certain tests have multiple GRDDL results as a direct consequence of <a
    href="http://www.w3.org/TR/grddl/#issue-faithful-infoset"
    shape="rect">Faithful Infoset</a> considerations, information resources
    with <a href="http://www.w3.org/TR/webarch/#pr-describe-resource"
    shape="rect">multiple representations</a>, and seperate GRDDL mechanisms
    which produce distinct GRDDL results.</p>

    <p>Tests of these kind can be considered as groups of <b>N</b> where
    <b>N</b> is the number of valid GRDDL results for the common input
    document.</p>

    <h3 id="multiple-infosets">Testing Faithful Infosets</h3>

    <p>In section <a
    href="http://www.w3.org/TR/grddl/#txforms">6. GRDDL
    Transformations</a> of <a href="#ref-GRDDL">[GRDDL]</a>, the question is
    raised about how a Faithful Rendition of an XML Document's infoset (a <a
    href="http://www.w3.org/TR/grddl/#issue-faithful-infoset"
    shape="rect">Faithful Infoset</a>) can be assured. GRDDL is silent about
    whether or not any XInclude <a href="#ref-XInclude">[XINCLUDE]</a>
    processing occurs before an XPath data model is created for use with GRDDL
    and any nominated transformations. GRDDL suggests the use of XProc <a
    href="#ref-XProc">[XPROC]</a> where more complex or sophisticated
    transformation are required. XProc's XInclude component (see: <a
    href="http://www.w3.org/TR/xproc/#c.xinclude">1.6 XInclude</a>) can be
    used in an XML pipeline to explicitly specify the application of XInclude
    semantics against an XML infoset <a href="#ref-XMLInfoset">[XML
    INFOSET]</a>.</p>

    <p>In the absence of an explicit XProc test, <a
    href="#xinclude">Testing GRDDL when XInclude processing is enabled</a> and
    <a href="#noxinclude">Testing GRDDL when XInclude processing is
    disabled</a> are examples of tests which share the same source document,
    but have different XPath data models depending on whether any XInclude
    processing occurs. For such tests, a GRDDL-aware agent should output at
    least one of the GRDDL results associated with the single source
    document.</p>

    <p>The tests manifest includes a symmetric property <a
    href="#ref-OWL">[OWL]</a>
    (<b>http://www.w3.org/2001/sw/grddl-wg/td/grddl-test-vocabulary#alternative</b>)
    asserted between them. A GRDDL-aware agent running the tests can take this
    into consideration.</p>

    <h3 id="multiple-representations">Testing for Multiple
    Representations</h3>

    <p>Information resources can also have <a
    href="http://www.w3.org/TR/webarch/#pr-describe-resource"
    shape="rect">multiple representations</a> in response to <a
    href="http://www.w3.org/TR/webarch/#def-coneg">content negotiation</a>. In
    addition to the GRDDL results associated with each representation a test
    for the <em>maximal result</em> is included: the GRDDL result which
    consists of the <a
    href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/#defmerge">merge</a>
    of all possible GRDDL results.</p>

    <p id="voc-subsumes">Note, however, that the maximal result is not
    isomorphic with the other results. To aid a test harness in determining
    compliance for scenarios such as these, the tests have a property
    (<b>http://www.w3.org/2001/sw/grddl-wg/td/grddl-test-vocabulary#subsumes</b>)
    asserted from the test for the maximal result to the other tests in the
    group. A GRDDL-aware agent running the tests can take this into
    consideration.</p>

    <h3 id="maximal-result">Testing for Maximal Result</h3>

    <p>The remaining set of tests with multiple results are those where there
    is no ambiguity with the XPath data model associated with the source
    document, there is a single representation, and multiple GRDDL mechanisms
    apply. In the <a href="#test-policy">absence</a> of a policy which
    prevents each GRDDL result from being computed, a GRDDL-aware agent should
    produce the maximal result.</p>

    <div><h2 id="naming-scheme">Test Naming Convention</h2> <p>Every test has
    a URI of the form:</p>
    <p>http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#<b>LOCALNAME</b></p>
    <p>The test collection can either be run locally (see <a
    href="#localized-tests">"Localized Tests"</a>) or over a network. Certain
    tests are marked as <em>requiring</em> a network connection with an open
    circle as their list item marker. These tests are asserted as members of
    the
    <b>http://www.w3.org/2001/sw/grddl-wg/td/grddl-test-vocabulary#NetworkedTest</b>
    class in the test manifest. A GRDDL-aware agent running the tests can take
    this into consideration.</p> <p>The tests which require a network
    connection use absolute URIs (in the test manifest) to refer to their test
    material (input and output)</p>
    <p>Tests which do not require a network connection use relative URIs (in
    the test manifest) instead.</p></div>

    <div><h2 id="normative">Normative Tests</h2> <p>Each test has an input
    document and an output document. the output document is an RDF/XML
    document and represents a GRDDL result of the input document.</p></div>

    <h3 id="localized-tests">Localized Tests</h3>

    <p>For the sake of convenience, this first set of normative tests cover
    simple scenarios where neither <a
    href="http://www.w3.org/TR/grddl/#ns-bind" shape="rect">namespace
    documents</a> nor absolute URIs are used. Such tests can run offline
    rather easily.</p>

    <ul class="TestList">
      <li id="xmlWithGrddlAttribute"><span><b>P3P work-alike</b></span>:
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithGrddlAttribute.xml">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithGrddlAttribute-output.rdf">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div><p>This test case
      exercises a single GRDDL transformation that is identified using the
      general XML markup from within the source document.</p> <p
      class="approved-test">approval: <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#action06">2007-04-11</a></p></li>

      <li id="projectsSpreadsheet"><b>Get RDF from a spreadsheet</b><!--,
a la <a href="http://www.advogato.org/person/connolly/diary.html?start=22">connolly 12 May 2005</a>, <a href="http://www.mnot.net/blog/2005/08/13/excel_microformats">mnot August 13 2005</a-->:
      <div> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/projects.xml">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/projects.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div></div> <p>This test
      case exercises a single GRDDL transformation that is identified using
      the general XML markup from within a relatively complex source
      document.</p> <p class="approved-test">approval: <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#action06">2007-04-11</a></p></li>

      <li id="rdfa1"><b>RDFa example</b><!-- from
<a href="http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/rdfaprimer/PrimerRDFaSection.html">GRDDL RDFa Example</a> by Fabien Sep 14, 2006-->:
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/rdf_sem.html">input</a>, <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/rdf_sem-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div> <p>This test case
      exercises a single GRDDL transformation that is identified using XHTML
      markup within the source document. Note that this test case uses a
      transformation for <a
      href="http://www.w3.org/TR/xhtml-rdfa-primer/">RDFa</a> that reflects
      the status of RDFa markup as of the development of the test case.</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#item03">2007-04-11</a></p></li>

      <li id="inline"><b>Inline transformation reference</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline.html">input</a>, <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div> <p>This test case
      uses an inline GRDDL transformation reference (i.e. within an
      <code>a</code> element) instead of one within a <code>link</code>
      element. It also exercises the fact that the <code>rel</code> attribute
      can take multiple space-separated values, and only one of them needs to
      be equal to <code>transformation</code> to indicate that the resource is
      in fact a GRDDL transformation.</p> <p class="approved-test">Approval:
      <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#item03">2007-04-11</a></p></li>

      <li id="base-param"><b>Base URI: Same document reference</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/baseURI.html">input</a>, <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/baseURI.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div></div> <p>The base URI
      for the result document is the URI of the source document.</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#item03">2007-04-11</a></p></li>

      <li id="title_author"><b>Title / Author (from specification)</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/titleauthor.html">input</a>,
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/titleauthor-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div></div> <p>See the
      faithful <a href="http://www.w3.org/TR/grddl/#intro_rdf">rendition</a>
      of the input document.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#item03">2007-04-11</a></p></li>

      <li id="rdfXMLDoc"><b>RDF/XML document</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/projects.rdf">input</a>, <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/projects.rdf">output</a>.</div><div><a
      class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a></div><p>If
      an information resource is represented by a conforming RDF/XML document,
      then the RDF graph represented by that document is a GRDDL result of
      IR.</p><p class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li id="xhtmlWithGrddlProfile"><b>One transform linked from the head of
      a document with only the GRDDL profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlProfile.html">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlProfile-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div> <p>an XHTML file
      with the GRDDL profile is interpreted by applying the transformations
      included in links annotated with rel='transformation'</p> <p
      class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li id="xhtmlWithGrddlTransformationInBody"><b>One transform linked from
      the body of a document with only the GRDDL profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlTransformationInBody.html">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlTransformationInBody-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div><p>an XHTML file with
      the GRDDL profile is interpreted by applying the transformations
      included in links annotated with rel='transformation', including links
      in the body of the document</p> <p class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li id="xhtmlWithMoreThanOneProfile"><b>One transform linked from the
      head of a document with several profiles, including the GRDDL
      profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithMoreThanOneProfile.html">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithTwoTransformations-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div> <p>An XHTML file
      with the GRDDL profile present among other non GRDDL-profiles is
      interpreted by applying the transformations included in links annotated
      with rel='transformation'</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li id="xhtmlWithMoreThanOneGrddlTransformation"><b>Two transformations
      linked from the body of a document with the GRDDL profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithMoreThanOneGrddlTransformation.html">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithTwoTransformations-output.rdf">output</a><div><a
      class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div></div> <p>An XHTML file
      with the GRDDL profile present is interpreted by applying the
      transformations included in all the links annotated with
      rel='transformation' and merging the resulting RDF/XML graphs.</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li id="xmlWithGrddlAttributeAndNonXMLNamespaceDocument"><b>XML document
      linking to its transformer through the GRDDL attribute</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithGrddlAttributeAndNonXMLNamespaceDocument.xml">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithGrddlAttributeAndNonXMLNamespaceDocument-output.rdf">output</a><div><a
      class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div></div> <p>An XML file
      - in this case, an SVG document - with the GRDDL attribute on the root
      element; SVG's namespace document is not in an XML format, which makes
      fail some implementations of GRDDL</p> <p
      class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>
    </ul>

    <h3 id="ns-absolute-loc-tests">Namespace Documents and Absolute
    Locations</h3>

    <p>These tests include the use of namespace documents and absolute URIs
    and are more difficult to run offline.</p>

    <ul class="TestList">
      <li class="NetworkedTest" id="hcard1"><b>An hcard profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card.html">input</a>, <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card-output.rdf">output</a><div><a
      class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div></div> <p>This test
      case exercises identifying GRDDL transformations using
      <code>profileTransformation</code> assertions. In this case, an XHTML
      document notes a profile URI to which it belongs. The profile document,
      retrieved from the URI, identifies a GRDDL transformation for the
      original document with a <code>profileTransformation</code> assertion in
      its own GRDDL result.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="multiprofile"><b>2 profiles: eRDF and
      hCard</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/multiprofile.html">input</a>,
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/multiprofile-output.rdf">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div> <p>This test case
      exercises identifying GRDDL transformations using
      <code>profileTransformation</code> assertions from the GRDDL results of
      multiple XHTML profile documents.</p> <p class="approved-test">Approval:
      <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0224.html">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="sq1"><b>Namespace documents and media
      types 1</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/sq1.xml">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/sq1-output.rdf">output</a><div><a
      class="grddlCoverage" href="#testing_nstx">ns</a>,<a
      class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a></div></div>
      <p>The namespace document is an RDF document served as mimetype
      application/xml</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="sq2"><b>Namespace documents and media
      types 2</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/sq2.xml">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/sq2-output.rdf">output</a><div><a
      class="grddlCoverage" href="#testing_nstx">ns</a>,<a
      class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a></div></div>
      <p>This test case exercises identifying GRDDL transformations using
      <code>namespaceTransformation</code> assertions. In this case, an XML
      document has a root element with a namespace URI. The namespace
      document, retrieved from the URI, is an RDF/XML document (and so
      contributes to its own GRDDL results) and identifies a GRDDL
      transformation for the original document with a
      <code>namespaceTransformation</code> assertion.</p> <p
      class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li class="NetworkedTest" id="card5na"><b>A variant of the <a
      href="#card5n">card5n</a> test</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card5na">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card5n-output">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div> <p></p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="card5n"><b>hcard from a 1998 review
      comment on P3P</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card5n">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/card5n-output">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div> <p></p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="hcard"><b>A copy of the hcard profile</b>
      <div><a href="http://www.w3.org/2001/sw/grddl-wg/td/hcard">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/hcard-output">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage" href="#testing_tlrel">grddl-profile</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="two-transforms"><b>An XML document with
      two namespace transformations</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/two-transforms">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/two-transforms-output">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage" href="#testing_nstx">ns</a></div> <p>This also has
      an in-body transformation, which has not been added to the root
      element.</p> <p class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li class="NetworkedTest" id="three-transforms"><b>An XML document with
      two namespace transformations and a transform on the root element</b>
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/three-transforms">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/three-transforms-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
      href="#testing_merge">merge</a>,<a class="grddlCoverage"
      href="#testing_nstx">ns</a></div> <p>This also has an in-body
      transformation on the root element.</p> <p
      class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0224.html">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="four-transforms"><b>An XML document with
      two namespace transformations and two transforms on the root
      element</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/four-transforms">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/four-transforms-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
      href="#testing_merge">merge</a>,<a class="grddlCoverage"
      href="#testing_nstx">ns</a></div> <p>This also has two in-body
      transformations on the root element.</p> <p
      class="approved-test">Approval: <a
      href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

      <li class="NetworkedTest" id="hcarda"><b>A variant of the hcard
      profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/hcarda">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/hcard-output">output</a>
      </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="xhtmlWithGrddlEnabledProfile"><b>Document
      linking to its transformer through a GRDDL-enabled profile</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfile.html">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfile-output.rdf">output</a><div><a
      class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
      class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div></div> <p>An XHTML
      file with a profile whose interpretation through GRDDL gives a
      transformation for the said XHTML file.</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>
    </ul>

    <h3 id="library-tests">Library Tests</h3>

    <p>The following tests are tests primarily of the <a
    href="http://www.w3.org/2001/sw/grddl-wg/library">library</a> code.</p>

    <ul class="TestList">
      <li class="NetworkedTest" id="inline-rdf1"><b>Embedded RDF1</b>
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf1">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf1-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p>a simple test for
      embedded RDF.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf2"><b>Embedded RDF2</b>
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf2">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf2-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p>a test for
      embedded RDF, with two blocks of RDF</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf3"><b>Embedded RDF3</b>
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf3">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf3-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
      href="#testing_rdfxbase">rdfx-base</a></div> <p>a test for embedded RDF.
      A corner case: an RDF document.</p> <p class="approved-test">Approval:
      <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="glean-profile"><b>Glean Profile</b>
      <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/profile-with-spaces-in-rel">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/profile-with-spaces-in-rel-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div> <p>a test for glean
      profile, checking the treatment of spaces in the rel attribute.</p> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="inline-rdf4"><b>Embedded RDF using a
      relative xml:base</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf4">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf5"><b>Embedded RDF using an
      absolute xml:base</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf5">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf5-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf6"><b>Embedded RDF using two
      nested absolute xml:base</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf6">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf6-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf8"><b>Embedded RDF using two
      different xml:base on two different blocks of RDF</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf8">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf8-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="inline-rdf9"><b>Embedded RDF using two
      different xml:lang on two different blocks of RDF</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf9">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf9-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="inline-rdf10"><b>Embedded RDF using two
      different inherited xml:lang on two different blocks of RDF</b>: <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/inline-rdf10">input</a> <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf10-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_GRDDL_transformation">xml</a></div> <p
      class="approved-test">Approval: <a
      href="http://www.w3.org/2007/06/27-grddl-wg-minutes.html#item02">2007-06-27</a></p></li>

      <li class="NetworkedTest" id="grddlProfileBase1"><b>An XHTML profile
      using a base element</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/base/grddlProfileWithBaseElement">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/grddlProfileWithBaseElement-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div> <p>This is from the final
      URI.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="grddlProfileBase2"><b>An XHTML profile
      using a base element</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/grddlProfileWithBaseElement">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/grddlProfileWithBaseElement-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a></div> <p>This is from a
      redirected URI.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

      <li class="NetworkedTest" id="grddlProfileBase3"><b>XHTML with an XHTML
      profile using a base element</b> <div><a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlProfileBase1">input</a>
      <a
      href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlProfileBase1-output">output</a>
      </div><div><a class="grddlCoverage"
      href="#testing_tlrel">grddl-profile</a>,<a class="grddlCoverage"
      href="#testing_profiletrans">other-profile</a></div> <p>This shows
      intended use of the profile.</p> <p class="approved-test">Approval: <a
      href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>
    </ul>

    <div><div> <h3 id="ambiguous-infoset">Ambiguous Infosets, Representations,
    and Traversals</h3> <p>These tests help check for robustness of
    implementations in the face of various odd cases.</p> <ul class="TestList">
        <li class="NetworkedTest" id="loop"><b>Namepace Loop</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loop">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loop-output.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_GRDDL_transformation">xml</a>,<a
        class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage" href="#testing_nstx">ns</a></div></div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li id="xinclude"><b>Testing GRDDL when XInclude processing is
        enabled</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_GRDDL_transformation">xml</a>,<a
        class="grddlCoverage" href="#testing_merge">merge</a></div></div>
        <p>In this test case, the input file uses <a
        href="http://www.w3.org/TR/xinclude/">XInclude</a> to reference <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xinclude2.xml">xinclude2.xml</a>,
        and the output has only one triple unless the XML Processor of
        the GRDDL implementation supports XInclude. The output for this case
        assumes that the processor <em>does</em> resolve XIncludes. This test
        case (and the one that follows) exercises the Working Group's <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Feb/att-0017/31-grddl-wg-minutes-edited.html#item02">resolution</a>
        regarding <em>faithful infosets</em>. In particular, the output illustrates a situation where the XML processor employed
        invokes XInclude processing at a low-level and presents the expanded
        <a href="http://www.w3.org/TR/xinclude/#processing">result infoset</a>
        <a href="#ref-XInclude">[XINCLUDE]</a> to the higher-level application
        (the GRDDL-aware agent. See: <a
        href="http://www.w3.org/TR/xinclude/#rel-xlink">1.1 Relationship to
        XLink</a> <a href="#ref-XInclude">[XINCLUDE]</a>).</p> <img
        alt="XInclusion and GRDDL" src="xinclusion.jpg"
        title="XInclusion and GRDDL" /><p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Jun/att-0046/SV_MEETING_TITLE_--_6_Jun_2007.htm#item04">2007-04-11</a></p>
        <p>This pair of tests anticipate that the resolution of TAG issue <a href="http://www.w3.org/2001/tag/issues.html?type=1#xmlFunctions-34">xmlFunctions-34</a> will provide further guidance concerning them.</p></li>
        <li id="noxinclude"><b>Testing GRDDL when XInclude processing is
        disabled</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/noxinclude1.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_GRDDL_transformation">xml</a>,<a
        class="grddlCoverage" href="#testing_merge">merge</a></div></div>
        <p>This test case is an alternative to <a href="#xinclude">the
        XInclude enabled test case</a>. The output for this case assumes that
        the processor <em>does not</em> resolve XIncludes, which may lead to a
        different GRDDL result. Note that the unexpanded infoset and its
        corresponding XPath Data Model (See: <a
        href="http://www.w3.org/TR/xpath#infoset">B XML Information Set
        Mapping</a> <a href="#ref-XPath">[XPATH]</a>) could instead have been
        presented to an XProc pipeline with an explicit XInclude component.</p>
        <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Jun/att-0046/SV_MEETING_TITLE_--_6_Jun_2007.htm#item04">2007-04-11</a></p></li>

        <li id="grddlonrdf"><b>Testing GRDDL attributes on RDF documents</b>
        <div class="maximal-result"> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf.rdf">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-output3.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_GRDDL_transformation">xml</a>,<a
        class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage"
        href="#testing_rdfxbase">rdfx-base</a></div></div> <p> Note that the
        input is an RDF document with a GRDDL transformation, and that
        according to the rules given by the <a
        href="http://www.w3.org/TR/grddl/">GRDDL Specification</a>, there are
        <i>three distinct and equally valid output graphs for this test</i>
        for this document. This <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-output1.rdf">
        output</a> is a graph that is merge of the graph given by the source
        document with the graph given by the result of the GRDDL
        transformation.</p> </div> <p class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="spaces-in-rel"><b>Spaces in rel
        attribute</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/spaces-in-rel.html">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/spaces-in-rel-output.rdf">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p>The rel attribute can
        take multiple values.</p> <p class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="pf-pf-pf-ns"><b>Recursion 1</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/pf-pf-pf-ns-fnd">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/fnd-pf-pf-pf-ns-output">output</a>
        </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage" href="#testing_nstx">ns</a>,<a
        class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a>,<a
        class="grddlCoverage"
        href="#testing_profiletrans">other-profile</a></div> <p id="layering">
        The layering tests, permit arbitrary nesting (up to depth 9) of HTML
        profiles and XML namespaces. The general pattern is: </p> <ul>
            <li>Take a string <code>$V</code> matching
            <code>((ns|pf)-){0-8}</code>.</li>

            <li>The document <code>ns-$Vfnd</code> is an xml document with
            namespace <code>$Vfnd</code>.</li>

            <li>The document <code>pf-$Vfnd</code> is an xhtml document with
            profile <code>$Vfnd</code>.</li>

            <li>The RDF/XML document <code>fnd</code> specifies appropriate
            transformations, so that every possible stack have GRDDL results.
            These are all different.</li>

            <li>The output document <code>fnd-$Voutput.srdf</code> is the
            correct answer.</li>
          </ul> <p>An HTML document which has a profile being an HTML
        document, which has a profile being an HTML document, which has a
        profile being an XML document, which has an RDF namespace
        document.</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

        <li class="NetworkedTest" id="ns-ns-pf-pf"><b>Recursion 2</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/ns-ns-pf-pf-fnd">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/fnd-ns-ns-pf-pf-output">output</a>
        </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage" href="#testing_nstx">ns</a>,<a
        class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a>,<a
        class="grddlCoverage"
        href="#testing_profiletrans">other-profile</a></div> <p>An XML
        document which has an XML namespace document, which has an HTML
        namespace document, which has a profile being an HTML document, which
        has a profile being an RDF document./</p> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

        <li class="NetworkedTest" id="ns-pf-ns-pf-ns"><b>Recursion 3</b>
        <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/ns-pf-ns-pf-ns-fnd">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/fnd-ns-pf-ns-pf-ns-output">output</a>
        </div><div><a class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage" href="#testing_nstx">ns</a>,<a
        class="grddlCoverage" href="#testing_rdfxbase">rdfx-base</a>,<a
        class="grddlCoverage"
        href="#testing_profiletrans">other-profile</a></div> <p>An XML
        document which has an HTML namespace document, which has a profile
        being an XML document, which has an HTML namespace document, which has
        a profile being an XML document, which has an RDF namespace
        document.</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

        <li class="NetworkedTest" id="loopx1"><b>Namespace loop</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx-output1">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_merge">merge</a>,<a class="grddlCoverage"
        href="#testing_nstx">ns</a></div> <p> The following four tests
        demonstrate GRDDL results for a self-referencing input document.
        Unlike other tests of this <a href="#maximal-result">kind</a>, the
        last of these - the maximal result - is not exlusive. This reflects an
        interpretation of <em>SHOULD</em> as used in section <a
        href="http://www.w3.org/TR/2007/WD-grddl-20070302/#sec_agt">7.
        GRDDL-Aware Agents</a> of <a href="#ref-GRDDL">[GRDDL]</a> with
        regards to the computation of GRDDL results. In particular, this
        interpretation and the text in the section that follows (<a
        href="http://www.w3.org/TR/2007/WD-grddl-20070302/#sec">8. Security
        considerations</a>) permits an implementation to only pass the first
        test due to security restrictions against computing recursive GRDDL
        results.</p> <p>For this particular test, an XML document is its own
        namespace document, with a GRDDL transformation, specifying a
        <code>namespaceTransformation</code>, which specifies a further
        <code>namespaceTransformation</code>. This result is the first
        possible GRDDL result. Implementations that make no allowance for such
        cases may produce this result. Documents authors are advised against
        having information resources whose GRDDL results depend on other GRDDL
        results for the same resource.</p> <p class="approved-test">Approval:
        <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0220.html">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="loopx2"><b>Namespace loop</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx-output2">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_merge">merge</a>,<a class="grddlCoverage"
        href="#testing_nstx">ns</a></div> <p>An XML document is its own
        namespace document, with grddl transformation, specifying a
        <code>namespaceTransformation</code>, which specifies a further
        <code>namespaceTransformation</code>. This result is the merge of the
        first two possible GRDDL results. Implementations that make no special
        allowance for or prohibition of such cases may produce this result.
        Documents authors are advised against having information resources
        whose GRDDL results depend on other GRDDL results for the same
        resource.</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0220.html">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="loopx3"><b>Namespace loop</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx-output3">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_merge">merge</a>,<a class="grddlCoverage"
        href="#testing_nstx">ns</a></div> <p>An XML document is its own
        namespace document, with grddl transformation, specifying a
        <code>namespaceTransformation</code>, which specifies a further
        <code>namespaceTransformation</code>. This result is the merge of the
        first three possible GRDDL results. Implementations that make no
        special allowance for or prohibition of such cases may produce this
        result. Documents authors are advised against having information
        resources whose GRDDL results depend on other GRDDL results for the
        same resource.</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0220.html">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="loopx"><b>Namespace loop</b> <div
        class="maximal-result"><div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/loopx-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_nstx">ns</a>,<a class="grddlCoverage"
        href="#testing_rdfxbase">rdfx-base</a></div> <p>An XML document is its
        own namespace document, with a GRDDL transformation, specifying a
        <code>namespaceTransformation</code>, which specifies a further
        <code>namespaceTransformation</code>. This result is the merge of all
        possible GRDDL results. Documents authors are advised against having
        information resources whose GRDDL results depend on other GRDDL
        results for the same resource.</p> </div> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0220.html">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="html-and-transformation-attr"><b>HTML
        document with transformation attribute on root</b> <div> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/html-and-grddl-xform-attr">input</a>,
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/two-transforms-output">output</a>.
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p>Two transforms apply
        to this document, following rules in both sections 2 and 4 of the
        specification.</p> <p class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li id="xhtmlWithGrddlEnabledProfileAndInBodyTransform"><b>Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</b> <div> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfileAndInBodyTransform.html">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfileAndInBodyTransform-output.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
        class="grddlCoverage"
        href="#testing_profiletrans">other-profile</a></div></div> <p>An XHTML
        file with a profile whose interpretation through GRDDL gives a
        transformation for the said XHTML file; the document also specifies
        the GRDDL profile, and a transformation.</p> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li
        id="xhtmlWithGrddlEnabledProfileAndADisabledInBodyTransform"><b>Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</b> <div> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfileAndADisabledInBodyTransform.html">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithGrddlEnabledProfileAndADisabledInBodyTransform-output.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_tlrel">grddl-profile</a>,<a
        class="grddlCoverage"
        href="#testing_profiletrans">other-profile</a></div></div> <p>An XHTML
        file with a profile whose interpretation through GRDDL gives a
        transformation for the said XHTML file; the document also specifies a
        transformation, but omits to specify the GRDDL profile.</p> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li id="grddlonrdf-xmlmediatype"><b>Testing GRDDL attributes on RDF
        documents with XML media type</b> <div class="maximal-result"><div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-xmlmediatype.rdf">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-xmlmediatype-output3.rdf">output</a><div><a
        class="grddlCoverage" href="#testing_GRDDL_transformation">xml</a>,<a
        class="grddlCoverage" href="#testing_merge">merge</a>,<a
        class="grddlCoverage"
        href="#testing_rdfxbase">rdfx-base</a></div></div> <p>This test
        differs from the <a href="#grddlonrdf">previous</a> example of
        applying GRDDL to an RDF/XML document in that the RDF file is served
        (not best practice, but rather common) as media-type
        "application/xml". The <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddlonrdf-xmlmediatype-output3.rdf">
        output</a> is a graph that is merge of the graph given by the source
        document with the graph given by the result of the GRDDL
        transformation.</p> </div> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

        <li class="NetworkedTest" id="langconneg1"><b>Content Negotiation with
        GRDDL (1 of 2)</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg.html">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg-en.rdf">output</a><div><a
        class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div></div> <p>This test
        exists to bring attention to developers to issues of <i>content
        negotiation</i>, in particular, content negotiation over language as
        <a
        href="http://www.w3.org/QA/2006/02/content_negotiation.html">described</a>
        and implemented by W3C QA. There <i>are two valid resulting GRDDL
        results</i> of running this GRDDL transformation depending on what
        language the GRDDL-aware agent uses, and an implementation of a
        GRDDL-aware agent only needs to retrieve the one that is appropriate
        for its HTTP header request. This result follows from retrieving a
        English version of the HTML representation and thus having the GRDDL
        result produce a result with English-language content. </p> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="langconneg2"><b>Content Negotiation with
        GRDDL (2 of 2)</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg.html">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg-de.rdf">output</a><div><a
        class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div></div> <p>This
        result follows from retrieving a German version of the HTML
        representation and thus having the GRDDL result produce a result with
        German-language content. </p> <p class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="langconneg3"><b>Content Negotation with
        GRDDL (3 of 3)</b>: <div class="maximal-result"><div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg.html">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/conneg-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_merge">merge</a></div> <p>A GRDDL aware agent may
        retrieve both representations, for example, by using transparent
        content negotiation. This GRDDL result is the merge of the previous
        two.</p> </div> <p class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="multipleRepresentations"><b>Multiple
        Representations (HTML)</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentations">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentationsHtml-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p>This test gives the
        GRDDL result of the HTML representation.</p> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="multipleRepresentations2"><b>Multiple
        Representations (SVG)</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentations">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentationsSvg-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>This test gives
        the GRDDL result of the SVG representation.</p> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="multipleRepresentations3"><b>Multiple
        Representations (both)</b>: <div class="maximal-result"><div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentations">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentationsBoth-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a>,<a class="grddlCoverage"
        href="#testing_merge">merge</a>,<a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p>This GRDDL result is
        the merge of the previous two.</p> </div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="htmlbase1"><b>An html document with a
        base element</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithBaseElement">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithBaseElement-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="htmlbase2"><b>A similar html document
        without a base element</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithoutBaseElement-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="htmlbase3"><b>A redirected html document
        with a base element</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithBaseElement">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithBaseElement-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="htmlbase4"><b>A similar redirected html
        document without a base element</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithoutBaseElement">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithoutBaseElement-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p
        class="approved-test">Approval: <a
        href="http://www.w3.org/2007/04/25-grddl-wg-minutes.html#item08">2007-04-25</a></p></li>

        <li class="NetworkedTest" id="xmlbase1"><b>An xml document with an
        xml:base attribute</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithBase-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>This test case
        exercises resolution of relative references found in the GRDDL results
        for a general XML document. In this case, according to <a
        href="http://gbiv.com/protocols/uri/rfc/rfc3986.html#base-uri">RFC
        3986, section 5.1</a>, a base URI for the relative reference is
        recursively discovered on the encapsulating entity for the GRDDL
        results, which is the root element of <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase">the
        input document</a>, in order to maintain fidelity to <a
        href="http://www.w3.org/TR/grddl/#sec_rend">the faithful rendition
        requirement</a>. The root element assigns the base URI using the
        mechanism described in <a href="http://www.w3.org/TR/xmlbase/">XML
        Base</a>.</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0248.html">2007-04-27</a></p></li>

        <li class="NetworkedTest" id="xmlbase2"><b>A similar xml document
        without an xml:base attribute</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithoutBase-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>This test case
        exercises resolution of relative references found in the GRDDL results
        for a general XML document. In this case, according to <a
        href="http://gbiv.com/protocols/uri/rfc/rfc3986.html#base-uri">RFC
        3986, section 5.1</a>, a base URI for the relative reference is
        recursively discovered to be the URI used to retrieve <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase">the
        input document</a>, since no base URI is assigned in the content of
        the encapsulating entity (that is, the root element of the input
        document).</p> <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0248.html">2007-04-27</a></p></li>

        <li class="NetworkedTest" id="xmlbase3"><b>A redirected xml document
        with an xml:base attribute</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithBase">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithBase-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>This test case
        exercises resolution of relative references found in the GRDDL results
        for a general XML document when that document is resolved through a
        protocol redirection mechanism. The base URI for these relative
        references is established by the xml:base attribute on the root
        element, as for <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#xmlbase1">"An
        xml document with an xml:base attribute"</a>.</p> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0248.html">2007-04-27</a></p></li>

        <li class="NetworkedTest" id="xmlbase4"><b>A similar redirected xml
        document without an xml:base attribute</b>: <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithoutBase">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithoutBase-output">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>This test case
        exercises resolution of relative references found in the GRDDL results
        for a general XML document when that document is resolved through a
        protocol redirection mechanism. The base URI of the document is the
        target URI of the last redirection step; after establishing this fact,
        this test case follows the same behavior as <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#xmlbase2">"A
        similar xml document without an xml:base attribute"</a>.</p> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/0248.html">2007-04-27</a></p></li>
      </ul> </div> <h2 id="primer-tests">Primer Material</h2> <p>This section
    includes material from the <a href="#ref-Primer">[Primer]</a>.</p> <ul
        class="TestList">
        <li id="hl7-to-owl"><b>XML Documents in Health Care (HL7 3.0)</b>
        <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/hl7-sample.xml">input</a>
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/hl7-rim-pomr.rdf">output</a><div><a
        class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div></div> <p>This test
        demonstrate the ability to use GRDDL to transform from <a
        href="http://www.hl7.org/">HL7 CDA</a> to a medical record <a
        href="http://purl.org/cpr/0.5">ontology</a>. Derived from <a
        href="http://www.w3.org/TR/grddl-scenarios/#health_care_use_case">usecase</a>
        and primer <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Feb/0199.html">material</a></p>
        <p class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>
      </ul> <h2 id="informative">Informative Tests</h2> <p>This section
    includes tests not covered explicitly by the normative text of the GRDDL
    but demonstrate additional behavior that a GRDDL-aware agent may exhibit.
    They reflect behavior suggested by the Working Group as a <a
    href="http://www.w3.org/TR/grddl/#issues" shape="rect">result</a> of
    resolving certain issues.</p> <ul class="InformativeTestList">
        <li id="atomttl1"><b>Transformations may produce serializations other
        than RDF/XML</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/atom-grddl.xml">input</a>,
        <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/atom-grddl-output.rdf">output</a><div><a
        class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div></div> <p>This test
        demonstrates an informative resolution to the <a
        href="http://www.w3.org/tr/grddl#issue-output-formats">issue-output-formats</a>
        issue with an XSLT GRDDL transformation which outputs a <a
        href="#ref-TURTLE">[TURTLE]</a> RDF graph serialization associated
        with an appropriate media-type (<tt>text/rdf+n3</tt>) via XSLT's <a
        href="http://www.w3.org/TR/xslt#output">output</a> element.</p> <p
        class="approved-test">approval: <a
        href="http://www.w3.org/2007/04/11-grddl-wg-minutes.html#item03">11
        April telecon</a></p></li>

        <li id="unknown-media-type"><b>Unknown media type</b> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/unknown-media-type.xml">input</a>
        <a href="http://www.w3.org/2001/sw/grddl-wg/td/empty.rdf">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_GRDDL_transformation">xml</a></div> <p>an XSL transform
        may have output in an unknown media type. In this test, it is assumed
        that the GRDDL aware agent being tested does not know how to parse
        <code>x-no-such-type/x-no-such-subtype</code> documents.</p> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007Apr/att-0091/18-grddl-wg-minutes.html#item09">2007-04-18</a></p></li>

        <li id="error1" class="NetworkedTest"><b>An HTML document with both good and bad
        transforms:</b><div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/withErrors">input</a> <a
        href="http://www.w3.org/2001/sw/grddl-wg/td/one.rdf">output</a>
        </div><div><a class="grddlCoverage"
        href="#testing_tlrel">grddl-profile</a></div> <p
        class="approved-test">Approval: <a
        href="http://lists.w3.org/Archives/Public/public-grddl-wg/2007May/att-0104/2007-05-30-grddl-wg-minutes.html#item02">2007-05-30</a></p></li>
      </ul> <h3 id="security-tests">Security Tests</h3> <p> The following
    security tests are provided for implementers to adapt and use for their
    implementation. Security issues are usually system specific, and it may be
    possible for a malicious party to access XSLT version and vendor
    information concerning a specific GRDDL agent instance.</p> <p>We do not
    provide instructions as to how to test your system against these tests,
    since they are likely to be not directly applicable. Developers of GRDDL
    aware agents are encouraged to understand these tests, and consider how
    their own systems may have potential security weaknesses. </p> <ul>
        <li class="SecurityTest" id="security1"><b>Reading local file</b>
        Using <code>document('file:///temp/local.txt')</code>. <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/security.html">input</a>
        </div> <p></p></li>

        <li class="SecurityTest" id="security2"><b>Reading remote file</b>
        Using <code>document('http://www.w3.org/')</code>. <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/security2.html">input</a>
        </div> <p></p></li>

        <li class="SecurityTest" id="security3"><b>Writing local file</b>
        Using <code>&lt;xsl:result-document
        href="file:///temp/a.txt"&gt;</code>. <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/security3.html">input</a>
        </div> <p></p></li>

        <li class="SecurityTest" id="security4"><b>Sending local file to
        remote server</b> Using <code>&lt;xsl:value-of select="document(
        concat( 'http://www.w3.org/?', encode-for-uri(
        unparsed-text('file:///temp/local.txt') ) ) )" /&gt;</code> <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/security4.html">input</a>
        </div> <p></p></li>

        <li class="SecurityTest" id="security6"><b>Sending user information to
        remote server</b> The suspect code occurs in the transform for the
        profile document, and is
        <code>rdf:resource="security6.sxsl?{system-property('user.home')}"</code>.
        This uses a Saxon extension to the XSLT <code>system-property</code>
        function. <div><a
        href="http://www.w3.org/2001/sw/grddl-wg/td/security6.html">input</a>
        </div> <p></p></li>
      </ul>
    <h1 id="appendices">Appendices</h1>
    <h2 id="test_coverage">A Test Coverage</h2> <p>This section groups
    the tests according to the GRDDL rules they exercise as described in the
    specification. Each group leads with a link into the specification where
    the formal semantics of the corresponding rule is defined.</p><h3 id="testing_GRDDL_transformation">A.1
    Nominating GRDDL Transformations in well-formed XML - xml</h3><p>See <a
    href="http://www.w3.org/TR/grddl#rule_GRDDL_transformation">rule</a> (<em>#rule_GRDDL_transformation</em>).</p><ul>
        <li><a href="#xmlWithGrddlAttribute">P3P work-alike</a></li>

        <li><a href="#projectsSpreadsheet">Get RDF from a spreadsheet</a></li>

        <li><a href="#base-param">Base URI: Same document reference</a></li>

        <li><a href="#title_author">Title / Author (from
        specification)</a></li>

        <li><a href="#xmlWithGrddlAttributeAndNonXMLNamespaceDocument">XML
        document linking to its transformer through the GRDDL
        attribute</a></li>

        <li><a href="#three-transforms">An XML document with two namespace
        transformations and a transform on the root element</a></li>

        <li><a href="#four-transforms">An XML document with two namespace
        transformations and two transforms on the root element</a></li>

        <li><a href="#inline-rdf1">Embedded RDF1</a></li>

        <li><a href="#inline-rdf2">Embedded RDF2</a></li>

        <li><a href="#inline-rdf3">Embedded RDF3</a></li>

        <li><a href="#inline-rdf4">Embedded RDF using a relative
        xml:base</a></li>

        <li><a href="#inline-rdf5">Embedded RDF using an absolute
        xml:base</a></li>

        <li><a href="#inline-rdf6">Embedded RDF using two nested absolute
        xml:base</a></li>

        <li><a href="#inline-rdf8">Embedded RDF using two different xml:base
        on two different blocks of RDF</a></li>

        <li><a href="#inline-rdf9">Embedded RDF using two different xml:lang
        on two different blocks of RDF</a></li>

        <li><a href="#inline-rdf10">Embedded RDF using two different
        inherited xml:lang on two different blocks of RDF</a></li>

        <li><a href="#loop">Namepace Loop</a></li>

        <li><a href="#xinclude">Testing GRDDL when XInclude processing is
        enabled</a></li>

        <li><a href="#grddlonrdf">Testing GRDDL attributes on RDF
        documents</a></li>

        <li><a href="#loopx">Namespace loop</a></li>

        <li><a href="#html-and-transformation-attr">HTML document with
        transformation attribute on root</a></li>

        <li><a href="#grddlonrdf-xmlmediatype">Testing GRDDL attributes on RDF
        documents with XML media type</a></li>

        <li><a href="#langconneg1">Content Negotiation with GRDDL</a></li>

        <li><a href="#multipleRepresentations2">Multiple Representations
        (SVG)</a></li>

        <li><a href="#xmlbase1">An xml document with an xml:base
        attribute</a></li>

        <li><a href="#xmlbase2">A similar xml document without an xml:base
        attribute</a></li>

        <li><a href="#hl7-to-owl">XML Documents in Health Care (HL7
        3.0)</a></li>

        <li><a href="#atomttl1">Transformations may produce serializations
        other than RDF/XML</a></li>

        <li><a href="#unknown-media-type">Unknown media type</a></li>
      </ul><h3 id="testing_merge">A.2 Merging GRDDL Results - merge</h3><p>See
    <a href="http://www.w3.org/TR/grddl#rule_merge">rule</a> (<em>#rule_merge</em>).</p><ul>
        <li><a href="#xhtmlWithMoreThanOneGrddlTransformation">Two
        transformations linked from the body of a document with the GRDDL
        profile</a></li>

        <li><a href="#hcard1">An hcard profile</a></li>

        <li><a href="#multiprofile">2 profiles: eRDF and hCard</a></li>

        <li><a href="#hcarda">A variant of the hcard profile</a></li>

        <li><a href="#card5n">hcard from a 1998 review comment on P3P</a></li>

        <li><a href="#hcard">A copy of the hcard profile</a></li>

        <li><a href="#two-transforms">An XML document with two namespace
        transformations</a></li>

        <li><a href="#three-transforms">An XML document with two namespace
        transformations and a transform on the root element</a></li>

        <li><a href="#four-transforms">An XML document with two namespace
        transformations and two transforms on the root element</a></li>

        <li><a href="#card5na">A variant of the card5n test</a></li>

        <li><a href="#loop">Namepace Loop</a></li>

        <li><a href="#loopx">Namepace Loop</a></li>

        <li><a href="#xinclude">Testing GRDDL when XInclude processing is
        enabled</a></li>

        <li><a href="#grddlonrdf">Testing GRDDL attributes on RDF
        documents</a></li>

        <li><a href="#xhtmlWithGrddlEnabledProfileAndInBodyTransform">Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</a></li>

        <li><a href="#grddlonrdf-xmlmediatype">Testing GRDDL attributes on RDF
        documents with XML media type</a></li>

        <li><a href="#langconneg1">Content Negotiation with GRDDL</a></li>

        <li><a href="#pf-pf-pf-ns">Recursion 1</a></li>

        <li><a href="#ns-ns-pf-pf">Recursion 2</a></li>

        <li><a href="#ns-pf-ns-pf-ns">Recursion 3</a></li>

        <li><a href="#multipleRepresentations3">Multiple Representations
        (both)</a></li>
      </ul><h3 id="testing_nstx">A.3 Nominating Namespace Transformations -
    ns</h3><p>See <a
    href="http://www.w3.org/TR/grddl#rule_nstx">rule</a> (<em>#rule_nstx</em>).</p><ul>
        <li><a href="#sq1">Namespace documents and media types 1</a></li>

        <li><a href="#sq2">Namespace documents and media types 2</a></li>

        <li><a href="#two-transforms">An XML document with two namespace
        transformations</a></li>

        <li><a href="#three-transforms">An XML document with two namespace
        transformations and a transform on the root element</a></li>

        <li><a href="#four-transforms">An XML document with two namespace
        transformations and two transforms on the root element</a></li>

        <li><a href="#loop">Namepace Loop</a></li>

        <li><a href="#loopx">Namepace Loop</a></li>

        <li><a href="#pf-pf-pf-ns">Recursion 1</a></li>

        <li><a href="#ns-ns-pf-pf">Recursion 2</a></li>

        <li><a href="#ns-pf-ns-pf-ns">Recursion 3</a></li>
      </ul><h3 id="testing_rdfxbase">A.4 RDF/XML Base Rule -
    rdfx-base</h3><p>See <a
    href="http://www.w3.org/TR/grddl#rule_rdfxbase">rule</a> (<em>#rule_rdfxbase</em>).</p><ul>
        <li><a href="#rdfXMLDoc">RDF/XML document</a></li>

        <li><a href="#sq1">Namespace documents and media types 1</a></li>

        <li><a href="#sq2">Namespace documents and media types 2</a></li>

        <li><a href="#inline-rdf3">Embedded RDF3</a></li>

        <li><a href="#grddlonrdf">Testing GRDDL attributes on RDF
        documents</a></li>

        <li><a href="#pf-pf-pf-ns">Recursion 1</a></li>

        <li><a href="#ns-ns-pf-pf">Recursion 2</a></li>

        <li><a href="#ns-pf-ns-pf-ns">Recursion 3</a></li>

        <li><a href="#grddlonrdf-xmlmediatype">Testing GRDDL attributes on RDF
        documents with XML media type</a></li>

        <li><a href="#loopx">Namepace Loop</a></li>
      </ul><h3 id="testing_tlrel">A.5 Nominating Transformations via GRDDL
    Metadata Profile - grddl-profile</h3><p>See <a
    href="http://www.w3.org/TR/grddl#rule_tlrel">rule</a> (<em>#rule_tlrel</em>).</p><ul>
        <li><a href="#rdfa1">RDFa example</a></li>

        <li><a href="#inline">Inline transformation reference</a></li>

        <li><a href="#xhtmlWithGrddlProfile">One transform linked from the
        head of a document with only the GRDDL profile</a></li>

        <li><a href="#xhtmlWithGrddlTransformationInBody">One transform linked
        from the body of a document with only the GRDDL profile</a></li>

        <li><a href="#xhtmlWithMoreThanOneProfile">One transform linked from
        the head of a document with several profiles, including the GRDDL
        profile</a></li>

        <li><a href="#xhtmlWithMoreThanOneGrddlTransformation">Two
        transformations linked from the body of a document with the GRDDL
        profile</a></li>

        <li><a href="#hcard1">An hcard profile</a></li>

        <li><a href="#multiprofile">2 profiles: eRDF and hCard</a></li>

        <li><a href="#card5n">hcard from a 1998 review comment on P3P</a></li>

        <li><a href="#hcard">A copy of the hcard profile</a></li>

        <li><a href="#xhtmlWithGrddlEnabledProfile">Document linking to its
        transformer through a GRDDL-enabled profile</a></li>

        <li><a href="#glean-profile">Glean Profile</a></li>

        <li><a href="#grddlProfileBase1">An XHTML profile using a base
        element</a></li>

        <li><a href="#grddlProfileBase3">XHTML with an XHTML profile using a
        base element</a></li>

        <li><a href="#spaces-in-rel">Spaces in rel attribute</a></li>

        <li><a href="#html-and-transformation-attr">HTML document with
        transformation attribute on root</a></li>

        <li><a href="#xhtmlWithGrddlEnabledProfileAndInBodyTransform">Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</a></li>

        <li><a
        href="#xhtmlWithGrddlEnabledProfileAndADisabledInBodyTransform">Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</a></li>

        <li><a href="#multipleRepresentations">Multiple Representations
        (HTML)</a></li>

        <li><a href="#htmlbase1">An html document with a base element</a></li>

        <li><a href="#htmlbase2">A similar html document without a base
        element</a></li>
      </ul><h3 id="testing_profiletrans">A.6 Identifying Metadata Profile
    Transformations - other-profile</h3><p>See <a
    href="http://www.w3.org/TR/grddl#rule_profiletrans">rule</a> (<em>#rule_profiletrans</em>).</p><ul>
        <li><a href="#hcard1">An hcard profile</a></li>

        <li><a href="#multiprofile">2 profiles: eRDF and hCard</a></li>

        <li><a href="#hcarda">A variant of the hcard profile</a></li>

        <li><a href="#card5n">hcard from a 1998 review comment on P3P</a></li>

        <li><a href="#card5na">A variant of the card5n test</a></li>

        <li><a href="#xhtmlWithGrddlEnabledProfile">Document linking to its
        transformer through a GRDDL-enabled profile</a></li>

        <li><a href="#grddlProfileBase3">XHTML with an XHTML profile using a
        base element</a></li>

        <li><a href="#pf-pf-pf-ns">Recursion 1</a></li>

        <li><a href="#ns-ns-pf-pf">Recursion 2</a></li>

        <li><a href="#ns-pf-ns-pf-ns">Recursion 3</a></li>

        <li><a href="#xhtmlWithGrddlEnabledProfileAndInBodyTransform">Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</a></li>

        <li><a
        href="#xhtmlWithGrddlEnabledProfileAndADisabledInBodyTransform">Document
        linking to its transformer through a GRDDL-enabled profile, and with
        in-line transformation</a></li>
      </ul><p></p><h2 id="references">B References</h2> <h3
    id="references-normative">B.1 Normative</h3> <dl class="bib">
        <dt><a id="ref-GRDDL" shape="rect"></a>[GRDDL]</dt>

        <dd><em><a href="http://www.w3.org/TR/grddl" shape="rect">Gleaning
        Resource Descriptions from Dialects of Languages (GRDDL)</a></em>, Dan
        Connolly, 2007/03/02</dd>

        <dt><a id="ref-RDF_Concepts" name="ref-RDF_Concepts" shape="rect">[RDF
        Concepts]</a></dt>

        <dd><cite><a
        href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"
        shape="rect"> RDF Concepts and Abstract Syntax</a></cite>, Graham
        Klyne and Jeremy J. Carroll, Editors, W3C Recommendation 10 February
        2004. <a href="http://www.w3.org/TR/rdf-concepts/" shape="rect">Latest
        version</a> available at http://www.w3.org/TR/rdf-concepts/ .</dd>

        <dt><a id="ref-RDF_Syntax" name="ref-RDF_Syntax" shape="rect">[RDF
        Syntax]</a></dt>

        <dd><cite><a
        href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/"
        shape="rect"> RDF/XML Syntax Specification (Revised)</a></cite>. Dave
        Beckett, Editor, W3C Recommendation 10 February 2004. <a
        href="http://www.w3.org/TR/rdf-syntax-grammar/" shape="rect">Latest
        version</a> available at http://www.w3.org/TR/rdf-syntax-grammar/
        .</dd>
      </dl> <h3 id="references-informative">B.2 Informative</h3><dl>
    
        <dt><a id="ref-XMLSchema" name="ref-XMLSchema"
        shape="rect">[XMLSCHEMA]</a></dt>
        <dd><cite><a
        href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/"
        shape="rect">XML Schema Part 1: Structures Second Edition</a> , H. Thompson, D. Beech, M. Maloney, N. Mendelsohn, W3C Recommendation, 28 October 2004,
        http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/ . <a
        href="http://www.w3.org/TR/xmlschema-1/">Latest</a> version available
        at http://www.w3.org/TR/xmlschema-1/ .</cite>.</dd>

    
        <dt><a id="ref-XInclude" name="ref-XInclude"
        shape="rect">[XINCLUDE]</a></dt>
        <dd><cite><a
        href="http://www.w3.org/TR/2006/REC-xinclude-20061115/"
        shape="rect">XML Inclusions (XInclude) Version 1.0 (Second Edition)</a> , J. Marsh, D. Orchard, D. Veillard, W3C Recommendation, 15 November 2006,
        http://www.w3.org/TR/2006/REC-xinclude-20061115/ . <a
        href="http://www.w3.org/TR/xinclude/">Latest</a> version available
        at http://www.w3.org/TR/xinclude/ .</cite>.</dd>

        <dt><a id="ref-XProc" name="ref-XProc"
        shape="rect">[XPROC]</a></dt>
        <dd><cite><a
        href="http://www.w3.org/TR/2007/WD-xproc-20070405/"
        shape="rect">XProc: An XML Pipeline Language</a>, N. Walsh, A. Milowski, W3C Working Draft (work in progress), 5 April 2007,
        http://www.w3.org/TR/2007/WD-xproc-20070405/ . <a
        href="http://www.w3.org/TR/xproc/">Latest</a> version available
        at http://www.w3.org/TR/xproc/ .</cite>.</dd>

        <dt><a id="ref-XPath" name="ref-XPath"
        shape="rect">[XPATH]</a></dt>
        <dd><cite><a
        href="http://www.w3.org/TR/1999/REC-xpath-19991116"
        shape="rect">XML Path Language (XPath) Version 1.0</a></cite>, J. Clark, S. J.
DeRose, Editors, W3C Recommendation, 16 November 1999,
        http://www.w3.org/TR/1999/REC-xpath-19991116 . <a href="http://www.w3.org/TR/xpath">Latest version</a> available at http://www.w3.org/TR/xpath .
	</dd>

        <dt><a id="ref-XMLInfoset" name="ref-XMLInfoset"
        shape="rect">[XML INFOSET]</a></dt>
        <dd><cite><a
        href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/"
        shape="rect">XML Information Set (Second Edition)</a>, J. Cowan, R. Tobin, W3C Recommendation, 4 February 2004,
        http://www.w3.org/TR/2004/REC-xml-infoset-20040204/ . <a
        href="http://www.w3.org/TR/xml-infoset/">Latest</a> version available
        at http://www.w3.org/TR/xml-infoset/ .</cite>.</dd>

        <dt><a id="ref-TURTLE" name="ref-TURTLE"
        shape="rect">[TURTLE]</a></dt>

        <dd><cite><a href="http://www.dajobe.org/2004/01/turtle/"
        shape="rect">Turtle - Terse RDF Triple Language</a></cite>. Dave
        Beckett, Editor, 04 December 2006.</dd>

        <dt><a id="ref-Primer" name="ref-Primer"
        shape="rect">[PRIMER]</a></dt>

        <dd><cite><a
        href="http://www.w3.org/TR/2006/WD-grddl-primer-20061002/"
        shape="rect">GRDDL Primer</a> , I. Davis, Editor, W3C Working Draft
        (work in progress), 2 October 2006,
        http://www.w3.org/TR/2006/WD-grddl-primer-20061002/ . <a
        href="http://www.w3.org/TR/grddl-primer/">Latest</a> version available
        at http://www.w3.org/TR/grddl-primer/ .</cite>.</dd>

        <dt><a id="ref-EARL" name="ref-EARL" shape="rect">[EARL]</a></dt>

        <dd><cite><a href="http://www.w3.org/TR/EARL10-Schema/" shape="rect">
        Evaluation and Report Language (EARL) 1.0 Schema</a></cite>. Shadi
        Abou-Zahra and Charles McCathieNevile, Editors, W3C Working Draft 27
        September 2006, http://www.w3.org/TR/EARL10-Schema/ .</dd>

        <dt><a id="ref-WEBARCH" name="ref-WEBARCH"
        shape="rect">[WEBARCH]</a></dt>

        <dd><cite> <a href="http://www.w3.org/TR/2004/REC-webarch-20041215/"
        shape="rect">Architecture of the World Wide Web, Volume One</a>
        </cite>, N. Walsh, I. Jacobs, Editors, W3C Recommendation, 15 December
        2004. <a href="http://www.w3.org/TR/webarch/" shape="rect">Latest
        version</a> available at http://www.w3.org/TR/webarch/ .</dd>

        <dt><a id="ref-OWL" name="ref-OWL" shape="rect">[OWL]</a></dt>

        <dd><cite> <a href="http://www.w3.org/TR/2004/REC-owl-ref-20040210/"
        shape="rect">OWL Web Ontology Language Reference</a> </cite>, S.
        Bechhofer, F. van Harmelen, J. Hendler, I. Horrocks, D. L. McGuinness,
        P. F. Patel-Schneider, L. Andrea Stein, W3C Recommendation, 10
        February 2004. <a href="http://www.w3.org/TR/owl-ref/"
        shape="rect">Latest version</a> available at
        http://www.w3.org/TR/owl-ref/ .</dd>

        <dt><a id="ref-RFC2616" name="ref-RFC2616"
        shape="rect">[RFC2616]</a></dt>

        <dd>IETF <cite><a href="http://www.ietf.org/rfc/rfc2616.txt"
        shape="rect">RFC 2616: Hypertext Transfer Protocol -
        HTTP/1.1</a></cite>, J. Gettys, J. Mogul, H. Frystyk, L. Masinter, P.
        Leach, T. Berners-Lee, June 1999. Available at
        http://www.ietf.org/rfc/rfc2616.txt.</dd>

        <dt><a id="ref-FOAF" name="ref-FOAF" shape="rect">[FOAF]</a></dt>

        <dd><cite> <a href="http://xmlns.com/foaf/0.1/" shape="rect">FOAF
        Vocabulary Specification </a> </cite>, Dan Brickley, Libby Miller, 27
        July 2005.</dd>

        <dt><a id="ref-DOAP" name="ref-DOAP" shape="rect">[DOAP]</a></dt>

        <dd><cite> <a href="http://usefulinc.com/doap/" shape="rect">DOAP:
        Description of a Project</a> </cite>, Edd Dumbill.</dd>
      </dl></div>

    <h2 id="acknowledgements">C Acknowledgements</h2>

    <p>The editor thankfully acknowledges the contributions of the following
    Working Group members and personel:</p>

    <ul>
      <li><a href="http://www.w3.org/People/Connolly/" shape="rect">Dan
      Connolly</a>, W3C</li>

      <li><a href="http://dannyayers.com/" shape="rect">Danny Ayers</a>,
      Independent</li>

      <li><a href="http://www-uk.hpl.hp.com/people/jjc/" shape="rect">Jeremy
      J. Carroll</a>, Hewlett Packard</li>

      <li><a href="http://www-uk.hpl.hp.com/people/bwm/" shape="rect">Brian
      McBride</a> Hewlett Packard</li>

      <li><a href="http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/"
      shape="rect">Fabien Gandon</a>, INRIA</li>

      <li><a href="http://infinitesque.net/" shape="rect">John Clark</a>,
      Cleveland Clinic Foundation</li>

      <li><a href="http://www.w3.org/People/Dom/" shape="rect">Dominique
      Hazaël-Massieux</a>, W3C</li>
      
      <li><a href="http://www.ibiblio.org/hhalpin" shape="rect">Harry Halpin</a>, University of Edinburgh</li>
      
    </ul>

    <p>The security tests were created during the development of the <a
    href="http://jena.sourceforge.net/grddl">Jena GRDDL Reader</a> which uses
    the <a href="http://saxon.sourceforge.net/">Saxon8.8 XSLT processor</a>.
    They hence illustrate how a malicious party may try to abuse features of
    such an implementation.</p>

    <h2 id="changelog">D Change Log</h2>

    <p>The only change since the July Proposed Recommendation
    was:</p>
    <ul>
      <li>reworked the policy statement in section <a
      href="#policy">Local Policies, Faithful Rendition, and
      Conformance</a> to better match XQuery/XST/GRDDL WGs request WRT
      faithful renditions, XML schemas, and may not language</li>
    </ul>

  </body>
</html>