From 6c8f982cd009325e7bd1d7d1f5c1fb5ac8299605 Mon Sep 17 00:00:00 2001 From: Achim Berndzen Date: Fri, 4 May 2018 11:43:23 +0200 Subject: [PATCH] Attempt to fix #285 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 --- xproc/src/main/xml/specification.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xproc/src/main/xml/specification.xml b/xproc/src/main/xml/specification.xml index 5197649b4..dc45b4f6b 100644 --- a/xproc/src/main/xml/specification.xml +++ b/xproc/src/main/xml/specification.xml @@ -397,15 +397,15 @@ in an XProc pipeline is implementation-defined.
Text Documents -Text documents are non-XML documents. -Representations of text documents are are -implementation-dependent. - +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 +. Text documents are identified by a text media type. Media types of the form “text/something” -are text media types. +are text media types with the +exception of “text/xml” which is an XML media type.