Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe negated shortcut content types #1120

Merged
merged 1 commit into from
Jan 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading