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 3182 - [FS] editorial: 4.1.1 Literals
Summary: [FS] editorial: 4.1.1 Literals
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Jerome Simeon
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 17:52 UTC by Michael Dyck
Modified: 2007-01-16 17:50 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2006-05-03 17:52:49 UTC
4.1.1 Literals

Notation / rule 1
"LiteralExpr has atomic value AtomicValue"
    s/LiteralExpr/Literal/

Norm / rule 2
"[[ DecimalLiteral ]]_PrologDecl"
    s/PrologDecl/Expr/ !

DEv 1 / rule 1
"IntegerLiteral has atomic value Integer"
"IntegerLiteral => Integer"
    There's no such non-terminal as Integer.
    s/Integer/Decimal of type xs:integer/

DEv
(multiple DEv rules)
    Actually, you don't need a separate DEv rule for each kind of literal.
    Just have one rule:
        dynEnv |- Literal has atomic value AtomicValue
        -----------------------------------------------
        dynEnv |- Literal => AtomicValue
Comment 1 Jerome Simeon 2006-05-09 13:16:58 UTC
Comments #1, #2, #4 fixed as suggested. Comment #3 not relevant anymore given #4.
- Jerome