W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2006

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

From: Michael Kay <mhk@mhk.me.uk>
Date: Sat, 14 Jan 2006 15:13:34 -0000
To: "'Bjoern Hoehrmann'" <derhoermi@gmx.net>, <public-qt-comments@w3.org>
Message-ID: <E1Exn6C-0003il-Sa@maggie.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:27 UTC