A new DR in the making: ST_Percentage
MURATA Makoto
eb2m-mrt at asahi-net.or.jp
Thu Aug 17 15:23:01 CEST 2017
Folks,
29500-1 mandates the use of "%". If a non-conformant file is given,
implementations can do anything. I believe that MS Word recovers
from many errors, and the omission of "%" is one of them.
Regards,
Makoto
2017-07-19 23:42 GMT+09:00 Rex Jaeschke <rex at rexjaeschke.com>:
> -----Original Message-----
> From: Charlie Clark [mailto:charlie.clark at clark-consulting.eu]
> Sent: Monday, July 17, 2017 8:03 AM
> To: Rex Jaeschke <rex at rexjaeschke.com>
>
>
> I've recently come across some of the lower level measurements and I'm not
> quite sure how to interpret them. Eg. ST_Percentage. The specification has
> this defined as:
>
> 22.9.2.9 ST_Percentage (Percentage Value with Sign) This simple type
> specifies that its contents will contain a percentage measurement, with a
> trailing percent sign.
>
> And the regex is defined as "[0-9]+(\.[0-9]+)?%"
>
> But the percent sign appears in fact to be optional: how does this affect
> the value? For example, a mitre:
>
> <a:miter lim="800000"
> xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" />
>
> Is this the same as:
>
> <a:miter lim="800000%"
> xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" />
>
> ie. factor 8000?
>
> Should the regex be redefined as "[0-9]+(\.[0-9]+)?%?"
>
> Charlie
>
>
>
>
>
--
Praying for the victims of the Japan Tohoku earthquake
Makoto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20170817/3b3eb9d8/attachment.html>
More information about the sc34wg4
mailing list