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 1781 - [FS] editorial: 8.3.1 Matches
Summary: [FS] editorial: 8.3.1 Matches
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Last Call drafts
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: 2005-07-20 03:49 UTC by Michael Dyck
Modified: 2007-01-16 17:46 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2005-07-20 03:49:33 UTC
8.3.1 Matches

Sem / rule 1
"AtomicTypeName1 derives from AtomicTypeName2"
    An AtomicTypeName isn't actually a TypeName (i.e., TypeName does not
    derive AtomicTypeName), so it doesn't conform to the judgment form
    declaration:
        "statEnv |- TypeName derives from TypeName"

Sem / rule 1 / conclusion
"AtomicValue of type AtomicTypeName"
    This is not valid syntax for a Value.
    Change "AtomicValue" to "AtomicValueContent".
(leftover from last year, comment #238)

Sem / rule 4 / conclusion
"statEnv |- processing-instruction QName { String }"
    s/QName/NCName/

Sem / rule 8 / conclusion
"attribute AttributeName of type TypeName { Value }"
    s/Value/SimpleValue/
(leftover from last year, comment #240)
Comment 1 Jerome Simeon 2006-04-10 14:59:49 UTC
Fixed as suggested. Made AtomicTypeNames derive from TypeName instead
of directly deriving from QNames.

- Jerome
Comment 2 Michael Dyck 2006-04-11 05:44:20 UTC
Given the production
    AtomicTypeName ::= QName
it's probably a bad idea to say/think that AtomicTypeName "directly derives from" QName. In terms of language theory, it's the other way round: AtomicTypeName directly derives QName.

But if you mean that you replaced the above production with
    AtomicTypeName ::= TypeName
then yeah, I think that will work.