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 1663 - [FS] editorial: 4.7.3.5 Computed Processing Instruction Constructors
Summary: [FS] editorial: 4.7.3.5 Computed Processing Instruction Constructors
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-16 08:05 UTC by Michael Dyck
Modified: 2007-01-16 17:32 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2005-07-16 08:05:26 UTC
4.7.3.5 Computed Processing Instruction Constructors

Norm / rule (2|3)
fs:item-sequence-to-untypedAtomic-PI( [[ Expr ]]_Expr )
    This function takes a single argument (of type item*), but
    [[ Expr ]]_Expr could result in a sequence of comma-separated
    ExprSingles, which would then constitute multiple args.
    Put [[ Expr ]]_Expr in parentheses to ensure a single arg.

Norm / rule (2|3)
fn:data( [[ Expr1 ]]_Expr )
    Ditto the above. Add parentheses to ensure a single arg.

DEv / rule 3 / premise 3
"xs:NCName(Value1); =>"
    Delete semicolon.

DEv / rule (2|3|4) / premise 3
"dynEnv |- xs:NCName(Value1) => NCName1"
    I don't think you need dynEnv for this.  Change to:
        NCName1 = xs:NCName(Value1)

DEv / rule (2|3|4)
    These three rules differ only in premise 2. Couldn't you combine them
    into one rule, with:
        statEnv |- Value1 matches (xs:NCName|xs:string|xdt:untypedAtomic)
    as its premise 2?
Comment 1 Jerome Simeon 2006-04-16 23:53:12 UTC
Fixed as suggested.
- Jerome
Comment 2 Michael Dyck 2006-09-18 08:21:32 UTC
In the fourth comment, I suggested removing "dynEnv |-" and changing "=>" to "=". The 2006-06 CR has the first change but not the second, which doesn't really make sense.   
Comment 3 Jerome Simeon 2006-11-09 22:45:31 UTC
Fixed.
- Jerome