Skip to content

Commit

Permalink
Attempt to fix #285
Browse files Browse the repository at this point in the history
Defining a text document as a text node wrapped in a document node.
Adding a clarification, that "text/xml" is not a text media type, but an XML media type as specified in section 2.2.1.1
  • Loading branch information
xml-project authored May 4, 2018
1 parent 0d896ac commit 6c8f982
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xproc/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,15 +397,15 @@ in an XProc pipeline is <glossterm>implementation-defined</glossterm>.</impl>
<section xml:id="text-documents">
<title>Text Documents</title>

<para>Text documents are non-XML documents.
<impl>Representations of text documents are are
<glossterm>implementation-dependent</glossterm>.</impl>
</para>
<para>Text documents are non-XML documents. A text document is represented by
a single text node wrapped in a document node as instances of the
<biblioref linkend="xpath-datamodel"/>.</para>

<para>Text documents are identified by a text media type.
<termdef xml:id="dt-text-media-type">Media types of the form
“<literal>text/<replaceable>something</replaceable></literal>”
are <firstterm baseform="text media type">text media types</firstterm>.
are <firstterm baseform="text media type">text media types</firstterm> with the
exception of “<literal>text/xml</literal>” which is an XML media type.
</termdef>
</para>
</section>
Expand Down

0 comments on commit 6c8f982

Please sign in to comment.