Changeset 285 for rfc2629xslt/rfc2629xslt.xml
- Timestamp:
- 18/07/08 10:37:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629xslt.xml
r272 r285 840 840 </section> 841 841 842 <section title="<parse-xml> element" anchor="ext.element.parse-xml"> 843 <iref item="Extension Elements" subitem="parse-xml" primary="true"/> 844 <iref item="parse-xml Extension Element" primary="true"/> 845 <x:anchor-alias value="parse-xml"/> 846 <t> 847 This element instructs the processor to parse the contents as XML and 848 to warn when there's a problem (requires either MSXML or Saxon8 or newer). 849 </t> 850 </section> 851 842 852 <section title="<q> element" anchor="ext.element.q"> 843 853 <iref item="Extension Elements" subitem="q" primary="true"/> … … 1034 1044 as 'PROPOSED', 'DRAFT' or 'STANDARD'. 1035 1045 </t> 1046 <t> 1047 <x:h>Note:</x:h> Downward references should be 1048 annotated using the <annotate> element, containing an <xref> to 1049 <xref target="BCP97"/>. 1050 </t> 1051 <t> 1052 When an XSLT 2.0 processor is used, links in the document can be checked as well 1053 using the <spanx style='verb'>link-check</spanx> paramerer ('yes' or 'no'). 1054 Note that this only works for http links to documents of tytpe text/*. 1055 </t> 1036 1056 <figure> 1037 1057 <preamble> 1038 For instance, as of 200 6-08-06, the script produces for <eref target="http://greenbytes.de/tech/webdav/rfc2518.xml"/>:1058 For instance, as of 2008-07-12, the script produces for <eref target="http://greenbytes.de/tech/webdav/rfc2518.xml"/>: 1039 1059 </preamble> 1040 1060 <artwork type="example"> 1041 > saxon rfc2518.xml check-references.xslt 1061 > saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \ 1062 link-check=yes 1042 1063 1043 1064 Normative References: … … 1046 1067 ISO-8601: not checked 1047 1068 REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006 1048 REC-xml-names-19990114: [REC] obsoleted by PER-xml-names-20060614 1069 REC-xml-names-19990114: [FirstEdition] obsoleted by 1070 REC-xml-names-20060816 1049 1071 RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282 1050 1072 RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616 … … 1062 1084 RFC2291: [INFORMATIONAL] ok 1063 1085 RFC2376: [INFORMATIONAL] obsoleted by RFC3023 1064 RFC2413: [INFORMATIONAL] o k1086 RFC2413: [INFORMATIONAL] obsoleted by RFC5013 1065 1087 USMARC: not checked 1066 1088 WF: not checked 1089 1090 Link Targets 1091 <http://www.w3.org/TR/1998/REC-xml-19980210>: ok 1092 <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok 1093 <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok 1094 <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok 1067 1095 </artwork></figure> 1068 1096 <t> … … 1502 1530 </reference> 1503 1531 1532 <reference anchor='BCP97'> 1533 <front> 1534 <title>Handling Normative References to Standards-Track Documents</title> 1535 <author initials='J.' surname='Klensin' fullname='J. Klensin'> 1536 <organization /> 1537 <address> 1538 <email>klensin+ietf@jck.com</email> 1539 </address> 1540 </author> 1541 <author initials='S.' surname='Hartman' fullname='S. Hartman'> 1542 <organization>MIT</organization> 1543 <address> 1544 <email>hartmans-ietf@mit.edu</email> 1545 </address> 1546 </author> 1547 <date year='2007' month='June' /> 1548 </front> 1549 <seriesInfo name='BCP' value='97' /> 1550 <seriesInfo name='RFC' value='4897' /> 1551 </reference> 1504 1552 </references> 1505 1553 … … 1525 1573 <spanx># Define GRDDL namespace</spanx> 1526 1574 namespace grddl = "http://www.w3.org/2003/g/data-view#" 1575 1576 <spanx># Define RDF namespace</spanx> 1577 namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1527 1578 1528 1579 <spanx># Include rfc2629bis RNC grammar</spanx> … … 1543 1594 <spanx style="strong">| <x:ref>x_bt</x:ref></spanx> 1544 1595 <spanx style="strong">| <x:ref>x_length-of</x:ref></spanx> 1596 <spanx style="strong">| <x:ref>x_parse-xml</x:ref></spanx> 1545 1597 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx> 1546 1598 <spanx style="strong">| <x:ref>x_span</x:ref></spanx> … … 1634 1686 | section 1635 1687 <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx> 1636 <spanx style="strong">| <x:ref>x_blockquote</x:ref></spanx>)* 1688 <spanx style="strong">| <x:ref>x_blockquote</x:ref></spanx> 1689 <spanx style="strong">| <x:ref>rdf_Description</x:ref></spanx>)* 1637 1690 } 1638 1691 … … 1795 1848 <x:ref>x_dfn</x:ref> = 1796 1849 element x:dfn { 1850 attribute anchor { xsd:ID }?, 1797 1851 (TEXT 1798 1852 | iref)* … … 1834 1888 } 1835 1889 1890 <spanx anchor="x_parse-xml"><iref item="parse-xml Extension Element"/><iref item="Extension Elements" subitem="parse-xml" 1891 /># Signal XML content (see <xref target="ext.element.parse-xml"/>)</spanx> 1892 <x:ref>x_parse-xml</x:ref> = 1893 element x:parse-xml { 1894 TEXT 1895 } 1896 1836 1897 <spanx anchor="x_q"><iref item="q Extension Element"/><iref item="Extension Elements" subitem="q" 1837 1898 /># Inline quote (see <xref target="ext.element.q"/>)</spanx> … … 1869 1930 element x:span { 1870 1931 attribute anchor { xsd:ID }?, 1871 TEXT 1932 (TEXT 1933 | <x:ref>x_parse-xml</x:ref>)* 1872 1934 } 1873 1935 … … 1878 1940 empty 1879 1941 } 1942 1943 <spanx anchor="rdf_Description"><iref item="rdf:Description Extension Element"/><iref item="Extension Elements" subitem="rdf:Description" 1944 /># Nop (for alignment in source)</spanx> 1945 <x:ref>rdf_Description</x:ref> = 1946 element rdf:Description { 1947 rdf_content 1948 } 1949 1950 rdf_content = 1951 ( TEXT | element * { rdf_content })* 1880 1952 </artwork></figure> 1881 1953 </section> … … 1940 2012 Add XSLT test cases. 1941 2013 </t> 2014 <t hangText="2008-07-18"> 2015 Experimental support for inlined rdf:Description elements (ignored 2016 by the formatter, extracted by rfc2629grddl). 2017 </t> 1942 2018 </list></t> 1943 2019 </section> … … 1989 2065 <t hangText="2008-06-14"> 1990 2066 Enhance output when draft was updated, and then published as RFC. 2067 </t> 2068 <t hangText="2008-07-12"> 2069 Add XSLT2-based link target checking. 1991 2070 </t> 1992 2071 </list></t>
Note: See TracChangeset
for help on using the changeset viewer.