From: Norman Walsh Date: Thu, 15 Mar 2007 14:27:13 +0000 (+0000) Subject: Make an RFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7512280222798555f3255619bdc1a8d8eed3f30b;p=docbook-dsssl Make an RFC --- diff --git a/docbook/relaxng/docbook/spec/Makefile b/docbook/relaxng/docbook/spec/Makefile index 587be566f..580aebe80 100644 --- a/docbook/relaxng/docbook/spec/Makefile +++ b/docbook/relaxng/docbook/spec/Makefile @@ -4,6 +4,7 @@ SAXON=$(CVSTOOLSROOT)/saxon XSLT=$(SAXON) HTMLSTYLE=html.xsl FOSTYLE=fo.xsl +XML2RFC=/share/doctypes/ietf/xml2rfc/xml2rfc.tcl XSLPARAM= @@ -32,5 +33,11 @@ showdiff.html: showdiff.xml elemdiff.xml cmdiff.xml $(SAXON) ,$< /sourceforge/docbook/xsl/html/docbook.xsl $@ rm -f ,$< +rfc.html: rfc.xml + $(XML2RFC) $< $@ + +rfc.txt: rfc.xml + $(XML2RFC) $< $@ + clean: $(RM) *.html diff --git a/docbook/relaxng/docbook/spec/rfc.xml b/docbook/relaxng/docbook/spec/rfc.xml new file mode 100644 index 000000000..67a21cf74 --- /dev/null +++ b/docbook/relaxng/docbook/spec/rfc.xml @@ -0,0 +1,151 @@ + + + +The 'application/docbook+xml' Media Type + +Sun Microsystems + + +General +RFC +Request for Comments +I-D +Internet-Draft +XML +Extensible Markup Language + +This document defines the 'application/docbook+xml' MIME media type for +DocBook-based markup languages. + + + + +
+The DocBook specification has for many years included an appendix which +defines a MIME media type for DocBook. This document makes that media type +official. +
+ +
+ + +application +docbook+xml +None +charset +This parameter has identical semantics to the 'charset' +parameter of the 'application/xml' media type as +specified in RFC 3023 or its successors. + + +By virtue of DocBook XML +content being XML, it has the same considerations when sent as +'application/docbook+xml' as does XML. See RFC 3023, +Section 3.2. + +Several DocBook elements may +refer to arbitrary URIs. In this case, the security issues of RFC +3986, section 7, should be considered. + +None. + +This media type registration is +for DocBook documents as described by DocBook: The Definitive +Guide or its successors. + +There is no +experimental, vendor specific, or personal tree predecessor to +'application/docbook+xml', reflecting the +fact that no applications currently recognize it. This new type is +being registered in order to allow for the deployment of DocBook on +the World Wide Web, as a first class XML application. + + + + +There is no single initial octet sequence that is always present in +DocBook documents. + +DocBook documents are most often identified with the extension +'.xml'. + +TEXT + + + +Norman Walsh, ndw@nwalsh.com + +COMMON + +DocBook is a work product of the DocBook Technical Committee at +OASIS. + + + +
+
+ +For documents labeled as 'application/docbook+xml', the fragment +identifier notation is exactly that for 'application/xml', as +specified in or its successors. +
+ +
+An XML Resource Identifier does not in itself pose a security +threat. However, XML Resource Identifers are often converted to IRIs +or URIs and subsequently used to provide a compact set of instructions +for access to network resources, care must be taken to properly +interpret the data within an XML Resource Identifier, to prevent that +data from causing unintended access, and to avoid including data that +should not be revealed in plain text. +
+
+ + + + + + XML Media Types + + IBM Tokyo Research Laboratory + + + simonstl.com + + + Skymoon Ventures + + + + + + + + + Uniform Resource Identifier (URI): Generic Syntax + + World Wide Web Consortium + + + Day Software + + + Adobe Systems + + + + + + + + + DocBook: The Definitive Guide + + + + + + + + +