> -----Original Message----- > From: J.Pietschmann [mailto:[EMAIL PROTECTED]] > Sent: October 6, 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: Re: <character> > > > Arved Sandstrom wrote: > > And unless _I_ am missing something, "-" precisely matches that > production. > > > > You are looking at > > > > "'" [^']* "'" > > > > but I am looking at > > > > '"' [^"]* '"' > > > > According to the latter I can absolutely do "-". > > Well, in > hyphenation-char="-" > the hyphen is the expression, not "the hyphen surrounded by double > quotes". As I said, unless I'm something missing, the FO property > expression is the value of the XML attribute, which in turn is the > hyphen, because the double quotes are part of the XML syntax and > are stripped by the XML parser. The XSLFO property expression parser > gets the hyphen, without any quotes, double, or single. And without > the quotes, it does not match either of the two productions for literal. > This is the problem here. > > Perhaps I should have written that > hyphenation-char="'-'" > and > hyphenation-char='"-"' > as well as > hyphenation-char='"-"' > are legal, while neiter > hyphenation-char='-' > nor > hyphenation-char="-" > are ok.
Yes, I see your point. I think they screwed up the grammar. As I stated before, I find it ludicrous that character="-" would not be OK. Arved --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]