DR 09-0172 ? WML: Filename-to-IRI mapping

Chris Rae Chris.Rae at microsoft.com
Wed May 25 21:13:17 CEST 2011


Murata-san, you're quite right. I had a hard time finding an EBNF specification and so I think I may have taken some of my syntax from examples which used extended EBNF syntax (it seems to be arbitrarily extensible for implementations, which might also explain why there aren't any validators).

I've modified it to define the specific character selectors, and I've used those in the EBNF. I've also fixed the error with "." in the filename separator - that was a good catch; I've been writing some Perl lately so I think I confused it for a concatenate operation...

New changes are attached.

Chris

-----Original Message-----
From: MURATA Makoto (FAMILY Given) [mailto:eb2m-mrt at asahi-net.or.jp] 
Sent: 24 May 2011 22:53
To: e-SC34-WG4 at ecma-international.org
Subject: Re: DR 09-0172 ? WML: Filename-to-IRI mapping

(Since my mail looks corrupted, let me send it again (in UTF-8 this
time))
---------------------------------------------
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.

Cheers,
Makoto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: DR 09-0172 proposed changes.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 22064 bytes
Desc: DR 09-0172 proposed changes.docx
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20110525/28afb452/attachment-0001.bin>


More information about the sc34wg4 mailing list