This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2279 - [F&O] anchors omitted from BNF for regular expressions
Summary: [F&O] anchors omitted from BNF for regular expressions
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 19:34 UTC by Fred Zemke
Modified: 2005-09-29 13:00 UTC (History)
0 users

See Also:


Attachments

Description Fred Zemke 2005-09-21 19:34:31 UTC
Section 7.6.1 "Regular expression syntax" says that two metacharacters,
'^' and '$' are added, and it alters XML Schema part 2 rule [10] to
list these metacharacters.  However, this serves only to exclude 
'^' and '$' as normal characters (and thereby create escapes for them)
but it does not make them part of the regular expression syntax.
Using the modified rules of XML Schema part 2, there is no way to 
derive that, for example, '^abc' is a regular expression.  I think 
the anchors are supposed to enter the regular expression rules at
the precedence level of rule [9] atom.  Probably a modification of 
this rule is needed.
Comment 1 Ashok Malhotra 2005-09-27 15:22:28 UTC
The joint WGs discussed this on 9/27 and decided that no change was needed as
production [11] handles the two metacharacters that we introduce.