W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

[Bug 3958] Restrict "empty" to "empty-only"?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 07 Nov 2006 22:07:36 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1GhZ6W-00069u-38@wiggum.w3.org>


           Summary: Restrict "empty" to "empty-only"?
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

In section 3.4.6, constraint "Derivation Valid (Restriction, Complex)", there
is note:

"Note: Attempts to derive complex type definitions whose {content type} is
element-only by restricting a {base type definition} whose {content type} is
empty are not ruled out by this clause."

Why isn't this ruled out? The derived type allows whitespaces as the content,
but the base type doesn't allow it.
Received on Tuesday, 7 November 2006 22:07:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:05 UTC