syntax-error expression as example of lexical structure?

Hello there!

WD-xpath20-20011220, A.3 Lexical structure, last bullet:

"A space may be significant after "/" or "//", in order to distinguish, 
for instance "//div" and "// div foo" without lookahead."

I believe "// div foo" is syntax-error expression and should not be used 
as usual example without some special notification, because it may be 
confusing to readers. Isn't "/ div foo" a better example?

-- 
Oleg Tkachenko
Multiconn International, Israel

Received on Sunday, 21 April 2002 04:51:39 UTC