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 1628 - [FS] technical: 4.7.1 Direct Element Constructors: element-content units
Summary: [FS] technical: 4.7.1 Direct Element Constructors: element-content units
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 normal
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-15 10:11 UTC by Michael Dyck
Modified: 2006-10-20 00:20 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2005-07-15 10:11:50 UTC
4.7.1 Direct Element Constructors

Norm / rule (1|2|3)
    The symbol 'ElementContent' is not defined.

    In rules 1 and 2, change it to 'ElementContentUnit' to agree with the
    prose. In rule 3, change it to 'DirElemContent' to match the grammar.
    But in the RHS of rule 3, instead of
        [[ ElementContent* ]]_ElementContent
    or
        [[ DirElemContent* ]]_ElementContent
    make it
        [[ [[ DirElemContent* ]]_PartitionIntoUnits ]]_ElementContent
    where []_PartitionIntoUnits (or whatever) is responsible for
    restructuring DirElemContent* into ElementContentUnit*.

        [Formal] ElementContentUnit ::= DirectConstructor
                                        | EnclosedExpr
                                        | DirCharsUnit (or whatever)
        [Formal] DirCharsUnit ::= ( [all the possibilities] )+

    You wouldn't need to define []_PartitionIntoUnits formally (you can't,
    really, with only the mapping rule formalism), but it's a bit of
    notation on which you can hang a prose definition.

Norm / rule 5
'(Char | "{{" | "}}" | CharRef | PredefinedEntityRef)+'
    Change this to "DirCharsUnit".
Comment 1 Jerome Simeon 2005-07-21 00:20:55 UTC
Those are all good proposed fixed. This looks mostly editorial though.
- Jerome and Michael
Comment 2 Sharon Adler 2005-07-22 17:08:11 UTC
thank you for your comment - we have accepted it.
Comment 3 Michael Dyck 2006-04-27 07:19:29 UTC
Looking at the CR, you don't appear to have accepted my suggestion re []_PartitionIntoUnits.
Comment 4 Jerome Simeon 2006-05-01 00:21:36 UTC
Reviewing the bug activity, it seems this bug may have been marked as closed before it was implemented. So it just got dropped of the work list.
We will try and fix this issue for the next publication.
- Jerome
Comment 5 Jerome Simeon 2006-05-10 17:16:56 UTC
Most of the comments has already been implemented. Added the missing []_PartitionIntoUnits normalization rule, as suggested.
- Jerome