[Bug 5861] New: Elements with complex types should be allowed to have assertions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5861

           Summary: Elements with complex types should be allowed to have
                    assertions
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: abcoates@londata.com
         QAContact: www-xml-schema-comments@w3.org


I would like to suggest that isn't sufficient for complex types to support
assertions, it should also be possible to have assertions for elements which
have a complex type.  This is because each element with a complex type defines
a contextualised usage of the complex type, and the set of applicable
assertions may vary with that context, the applicable assertions may not be
generic across all uses of the complex type.

Although one might be able to add assertions to a parent complex type, in the
case of a locally defined element, that isn't possible when using a globally
defined element.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 13 July 2008 15:38:21 UTC