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 2835 - RQ-121 Clarify behavior for attributes that are both fixed and prohibited (prohibited-and-fixed)
Summary: RQ-121 Clarify behavior for attributes that are both fixed and prohibited (pr...
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: Other All
: P3 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: medium, work
Keywords: needsDrafting
Depends on:
Blocks: 2176
  Show dependency treegraph
 
Reported: 2006-02-11 01:42 UTC by C. M. Sperberg-McQueen
Modified: 2007-04-16 16:17 UTC (History)
0 users

See Also:


Attachments

Description C. M. Sperberg-McQueen 2006-02-11 01:42:06 UTC
This issue was originally reported by Stanley Guan, Ashok Malhotra.

Clarify the expected processor behavior if an attribute has both
use="prohibited", and a fixed value specified.

Should a schema validator:

* silently ignore fixed, or
* flag "attribute fixed and prohibited" as an error

See (member-only link)
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0122.html
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0122.html).

This item was discussed in the meeting of 2003-10-24
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Oct/0085.html)

This item was discussed in the meeting of 2003-11-21
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0050.html).
Let "prohibited" win? Treat as error on component?  Handle
symmetrically with type?  Need to make sure we handle possible
re-introduction of attributes prohibited in the base.  Need a phase-1
proposal.

This item was discussed, and phase-1 agreement was reached, in the
meeting of 2004-03-25
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0133.html).

According to the requirements document, phase-1 agreement has been reached.
Comment 1 Sandy Gao 2006-11-22 05:24:09 UTC
Proposal: to add a new clause to "Attribute Declaration Representation OK"

"If fixed and use are both present, use must not have the ·actual value· prohibited."

Resolution: adopted at 2006-10-17 telecon.