Re: <shape> datatype for clip

Oleg Tkachenko <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Organization Multiconn International Ltd
Message-ID <[email protected]>
Éric Bischoff wrote:

> Another one that keeps bugging me :
> 
> -----------------------------------------------------------------------------------
> The BNC production for a function call (section 5.9.4) is :
> 
> 	[3]   FunctionCall   ::=
> 	FunctionName '(' ( Argument ( ',' Argument)*)? ')'
> 
> as you can see, it does not mention any whitespace, neither directly nor 
> indirectly through FunctionName and Argument productions.
> 
> At the same time, in section 5.9.11, it is said that
> 
> 	If the character following an NCName (possibly after intervening 
> 	ExprWhitespace) is "(", then the token must be recognized as FunctionName.
> 
> which explicitly says one could find white space. This is contradictory.
> -----------------------------------------------------------------------------------

It reminds me xpath lexical structure definition, which explicitly 
states that whitespace can be freely used between tokens, and xsl spec 
actually defines the same:

"When processing an expression, white space (ExprWhitespace) may be 
allowed before or after any expression token even though it is not 
explicitly defined as such in the grammar. In some cases, white space is 
necessary to make tokens in the grammar lexically distinct. Essentially, 
white space should be treated as if it does not exist after tokenization 
of the expression has occurred." [1]

[1] http://www.w3.org/TR/xsl/slice5.html#section-N7676-Lexical-Structure
-- 
Oleg Tkachenko
eXperanto team
Multiconn International, Israel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.