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

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

From: <scott_boag@us.ibm.com>
Date: Mon, 30 Aug 2004 11:49:32 -0400
To: "Kirmse, Daniel" <daniel.kirmse@sap.com>
Cc: "'public-qt-comments@w3.org'" <public-qt-comments@w3.org>
Message-ID: <OFF263B162.49FD7124-ON85256F00.0055BC6D-85256F00.0056EE78@lotus.com>

Hi Daniel.  Thank you for pointing this out.  The second set of characters 
was a production bug and does not have any special magical meaning.  The 
bug has been fixed.

-scott




"Kirmse, Daniel" <daniel.kirmse@sap.com> 
Sent by: public-qt-comments-request@w3.org
08/26/2004 09:44 AM

To
"'public-qt-comments@w3.org'" <public-qt-comments@w3.org>
cc

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






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 Monday, 30 August 2004 15:50:09 GMT

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