diff options
Diffstat (limited to 'share/xml/freebsd.sch')
| -rw-r--r-- | share/xml/freebsd.sch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/xml/freebsd.sch b/share/xml/freebsd.sch index d4e203cd93..96280fe675 100644 --- a/share/xml/freebsd.sch +++ b/share/xml/freebsd.sch @@ -4,8 +4,9 @@ <schema xmlns="http://purl.oclc.org/dsdl/schematron"> <pattern name="Check file reference validity"> - <rule context="//*/@fileref"> - <assert test="contains(., '.')">File reference does not have an extension.</assert> + <rule context="//imagedata|//graphic"> + <report test="contains(@fileref, '.')">Image references cannot have an extension; the proper format is inferred by the output type to generate.</report> + <report test="@format">Image format must not be specified; it is inferred by the output type to generate.</report> </rule> </pattern> |
