Re: Graphics

Michael Kay <mike@saxonica.com> wrote on 06/12/2016 12:55:22:
> I have added support for the attribute
> 
> <graphic role="full-width">
> 
> which translates into
> 
> <image width="100%">

Unfortunately, this upsets the pubrules checker and html5 validator:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.w3.org%2FXML%2FGroup%2Fqtspecs%2Fspecifications%2Fxpath-functions-31%2Fhtml%2F




Error: Bad value 100% for attribute width on element img: Expected a digit 
but saw % instead.
From line 1924, column 23; to line 1924, column 126
</p><img src="XPathTypeHierarchy-1-items-3.1.png" width="100%" alt="Type 
hierarchy graphic, item hierarchy"><p>In 
Syntax of non-negative integer:
One or more digits (0–9). For example: 42 and 0 are valid, but -273 is 
not.

Error: Bad value 100% for attribute width on element img: Expected a digit 
but saw % instead.
From line 2043, column 23; to line 2043, column 132
</p><img src="XPathTypeHierarchy-2-anyTypes-3.1.png" width="100%" 
alt="Type hierarchy graphic, anyType hierarchy"><p>In 
Syntax of non-negative integer:
One or more digits (0–9). For example: 42 and 0 are valid, but -273 is 
not.

Error: Bad value 100% for attribute width on element img: Expected a digit 
but saw % instead.
From line 2146, column 23; to line 2146, column 144
</p><img src="XPathTypeHierarchy-3-anyAtomicTypes-3.1.png" width="100%" 
alt="Type hierarchy graphic, anyAtomicType hierarchy"><p>In 
Syntax of non-negative integer:
One or more digits (0–9). For example: 42 and 0 are valid, but -273 is 
not.


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Received on Wednesday, 7 December 2016 10:38:13 UTC