On 14/06/2011 22:48, Stephan Hennig wrote:
>> In the case case you mention, I'm not sure why you have used
>>
>>   \DeclareExpandableDocumentCommand{\foob}{m}{FooB}
>>
>> rather than
>>
>>   \DeclareExpandableDocumentCommand{\foob}{}{FooB}
>>
>> which works fine.
> 
> Well, because of this item from xparse documentation (sec. 1.7):
> 
>> * The function must have at least one mandatory argument, and in 
>> particular the last argument must be one of the mandatory types (l, m
>> or u).
> 
> Do I miss something?

This is a documentation error, which I'll sort out for the next CTAN
snapshot.
-- 
Joseph Wright