RE: XSLT20: matching-substring and non-matching-substring vs "optional"

In my view the language of the spec is correct. X is optional and Y is
optional, therefore both X and Y are optional. If anyone is in any doubt
about the meaning, the formal grammar makes it clear (as does the remainder
of the sentence).

Michael Kay

 

> -----Original Message-----
> From: public-qt-comments-request@w3.org 
> [mailto:public-qt-comments-request@w3.org] On Behalf Of 
> Bjoern Hoehrmann
> Sent: 14 January 2006 14:57
> To: public-qt-comments@w3.org
> Subject: XSLT20: matching-substring and 
> non-matching-substring vs "optional"
> 
> 
> Dear XSL Working Group,
> 
>   http://www.w3.org/TR/2005/CR-xslt20-20051103/ has "... may have two
> child elements: xsl:matching-substring and xsl:non-matching-substring.
> Both elements are optional, and neither may appear more than once. At
> least one of them must be present." Please strike "Both elements are
> optional" since one of them is not optional.
> 
> regards,
> -- 
> Björn Höhrmann · mailto:bjoern@hoehrmann.de · 
> http://bjoern.hoehrmann.de
> Weinh. Str. 22 · Telefon: +49(0)621/4309674 · 
> http://www.bjoernsworld.de
> 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · 
> http://www.websitedev.de/ 
> 
> 

Received on Saturday, 14 January 2006 15:13:51 UTC