W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2004

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

From: Kirmse, Daniel <daniel.kirmse@sap.com>
Date: Thu, 26 Aug 2004 15:44:03 +0200
Message-ID: <9A33D7528D46DF47B0C0630618F3E6847A8618@dewdfe12.wdf.sap.corp>
To: "'public-qt-comments@w3.org'" <public-qt-comments@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 13:44:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:09 GMT