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 4832 - static typing: 'attribute' and 'element' need asterisk
Summary: static typing: 'attribute' and 'element' need asterisk
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Working drafts
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 23:19 UTC by Michael Dyck
Modified: 2008-03-05 22:44 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2007-06-29 23:19:44 UTC
As in Bug 3269, occurrences (in the static typing rules) of 'attribute' and 'element' (and, assuming my solution for Bug 3946, 'processing-instruction') as a Type must have an asterisk appended to denote the wildcard name.

(Note that the current occurrences of "attribute*" are not exempt; they must be changed to "attribute**".)
Comment 1 Jerome Simeon 2007-08-13 19:14:33 UTC
Currently the status quo is that element and attribute should get a *, and processing-instructions shouldn't. (Pending resolution of Bug 3946).
I've added the missing wildcard names for element and attribute in the update spec, for consistency with the current grammar of the type system.
- Jerome
Comment 2 Michael Dyck 2008-03-04 18:47:44 UTC
In 4.4.1 / STA / rule 3, "(attribute *)" should presumably have another "*".

The resolution of Bug 3946 means that the type "processing-instruction" should have a "*":
    4.4.1 / STA / rule 1,2,3
    4.4.3 / STA / rule 2,3
    4.4.4 / STA / rule 1
Comment 3 Jerome Simeon 2008-03-05 22:03:36 UTC
Additional fixes in Comment #2 have been implemented.
Regards,
- Jerome
Comment 4 Michael Dyck 2008-03-05 22:44:10 UTC
Yup, looks good. Closing now.