Skip to content

Commit

Permalink
Describe negated shortcut content types
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Dec 14, 2024
1 parent 45de35b commit 7e70e1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xproc/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,12 @@ The following shortcuts <rfc2119>must</rfc2119> be supported by the processor:</
</varlistentry>
</variablelist>
</listitem>
<listitem>
<para>A shortcut form preceded by a minus sign (“-”) indicates that the specified types are forbidden.
When expanding a negated shortcut, any forbidden types in the expansion are ignored. In other
words, <literal>-xml</literal> expands to “<literal>-application/xml -text/xml -*/*+xml</literal>”,
the exclusion on HTML documents is ignored.</para>
</listitem>
</itemizedlist>

<para><error code="D0079">It is a <glossterm>dynamic error</glossterm> if a supplied content-type is not
Expand Down

0 comments on commit 7e70e1a

Please sign in to comment.