- Change screenco to screen + co since the former is not supported
properly with xsltproc and the latter is simpler - Add a constraint to prevent using screenco, programlistingco and graphicco in the future - Note that mediaobjectco is used in the documentation to properly compose a figure element but the callout bugs are already there in the source image and not placed there by the stylesheets
This commit is contained in:
parent
be2bbeeff4
commit
f6c79f1bc8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=41215
20 changed files with 49 additions and 171 deletions
|
@ -8,4 +8,15 @@
|
|||
<assert test="contains(., '.')">File reference does not have an extension.</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="Check callout validity">
|
||||
<rule context="/">
|
||||
<assert test="//screenco">Callouts with screenco are not supported;
|
||||
use screen and co instead.</assert>
|
||||
<assert test="//programlistingco">Callouts with programlistingco
|
||||
are not supported; use programlisting and co instead.</assert>
|
||||
<assert test="//graphicco">Callouts on
|
||||
graphics are not supported.</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue