This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Description ----------- A page that contains an image whose URI contains invalid character may crash the checker. In particular, the presence of the characters "[" and "]" (which are not allowed in the path part of a URI as defined in RFC3986) trigger the crash. The crash occurs because the XSLT function resolve-uri expects its parameters to be valid. Example ------- An image that defines: <img src="/test[gen-delim]" alt="test" width="2" height="3" /> (the width and height must be defined otherwise the check is not performed...) raises the following exception: Error on line 112 of file:/home/fdaoust/w3c/DEV/2007/mobileok-ref/build/org/w3c/mwi/mobileok/basic/xslt/functions.xsl: FORG0002: Base URI {http://localhost:8001/mobileok...} is invalid: Illegal character in path at index 5: /test[sub-delim Exception in thread "main" org.w3c.mwi.mobileok.basic.TestException: ImagesSpecifySizeTest
We replaced iri-to-uri function with encode-for-uri since this last one seems to be more complete.