Re: DR 09-0172 — WML: Filename-to-IRI mapping
MURATA Makoto
eb2m-mrt at asahi-net.or.jp
Tue May 17 02:42:44 CEST 2011
2011/5/17 Chris Rae <Chris.Rae at microsoft.com>:
> http://cid-c8ba0861dc5e4adc.office.live.com/view.aspx/Public%20Documents/2009/DR-09-0172.docx
>
> We agreed to resolve this DR some time ago by providing a grammar for "dos file path" when applied to INCLUDEPICTURE fields in WordprocessingML. I provided a grammar which WG4 liked, but we realised in Beijing that I'd written it using ABNF instead of EBNF. I've now converted it to EBNF and the changes are attached - if WG4 are happy with the EBNF then I think we should be good to close this one. No schema changes are required.
Chris,
I believe that we have to use the syntax as defined in ISO/IEC 14977 : 1996,
which appears to be available at:
http://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf
For example, the definition of validchar and drive has to be
reformulated using
lower case letter
= ’a’ | ’b’ | ’c’ | ’d’ | ’e’ | ’f’ | ’g’ | ’h’
| ’i’ | ’j’ | ’k’ | ’l’ | ’m’ | ’n’ | ’o’ | ’p’
| ’q’ | ’r’ | ’s’ | ’t’ | ’u’ | ’v’ | ’w’ | ’x’
| ’y’ | ’z’;
upper case letter
=
| ’A’ | ’B’ | ’C’ | ’D’ | ’E’ | ’F’ | ’G’ | ’H’
| ’I’ | ’J’ | ’K’ | ’L’ | ’M’ | ’N’ | ’O’ | ’P’
| ’Q’ | ’R’ | ’S’ | ’T’ | ’U’ | ’V’ | ’W’ | ’X’
| ’Y’ | ’Z’;
decimal digit
= ’0’ | ’1’ | ’2’ | ’3’ | ’4’ | ’5’ | ’6’ | ’7’
| ’8’ | ’9’;
I also think that full stop in the rule for filename has to be quoted.
Unfortunately, I cannot find any syntax checker for ISO/IEC 14977.
--
Praying for the victims of the Japan Tohoku earthquake
Makoto
More information about the sc34wg4
mailing list