Skip to content

Commit

Permalink
Merge pull request #1120 from ndw/iss-1115
Browse files Browse the repository at this point in the history
Describe negated shortcut content types
  • Loading branch information
ndw authored Jan 5, 2025
2 parents de271e0 + 7e70e1a commit 17e3f02
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 17e3f02

Please sign in to comment.