W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2004

[XQuery] Pecularities in rules [143][144][145]

From: Kirmse, Daniel <daniel.kirmse@sap.com>
Date: Thu, 26 Aug 2004 08:38:08 +0200
Message-ID: <9A33D7528D46DF47B0C0630618F3E6847A8615@dewdfe12.wdf.sap.corp>
To: "'www-ql@w3.org'" <www-ql@w3.org>
Hi,

another peculiarity strikes me. Have a look at these rules:

[143]    ElementContentChar    ::=    Char - [{}<&] - [{}<&] 
[144]    QuotAttrContentChar    ::=    Char - ["{}<&] - ["{}<&] 
[145]    AposAttrContentChar    ::=    Char - ['{}<&] - ['{}<&] 

According to section A.1 of XQuery 1.0 (23.07.2004)

A - B has the meaning of:
matches any string that matches A but does not match B

A look at [143] says that a character is an ElementContentChar, if it is a member of character class Char an it is not equal to any of the characters '{','}','<','&' and (a second time!!!) is not equal to any of the characters '{','}','<','&'

Is there a hidden meaning I do not catch? Or is it a typo? Or is the second set of characters plain redundant?

Cheers,
Daniel Kirmse
Received on Thursday, 26 August 2004 06:38:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC