AntennaHouse / focheck

XSL-FO validation using RELAX NG and Schematron.
Apache License 2.0
30 stars 7 forks source link

Better message for image URI without 'url()' #18

Closed tgraham-antenna closed 9 years ago

tgraham-antenna commented 9 years ago

AH Formatter (as with probably all formatters) accepts, e.g., fo:external-graphic/@src values without the url(...) that makes it a <uri-specification>.

The current Schematron error message is:

background-image="cloud.png" enumeration token is 'cloud.png'. Token should be 'none' or 'inherit'.

focheck should accept, but maybe warn about, the 'bare' URIs that every formatter accepts.