W3C home > Mailing lists > Public > public-sml@w3.org > June 2007

[Bug 4682] Attribute based reference schemes

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jun 2007 15:59:31 +0000
To: public-sml@w3.org
Message-Id: <E1I1P4F-00057Q-IM@wiggum.w3.org>


           Summary: Attribute based reference schemes
           Product: SML
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-sml@w3.org

Should SML allow attribute based reference schemes?

SML currently uses xsi:nil="true" as an indication for "this reference has no
value". In XML Schema, xsi:nil only controls whether an element has any child
content, and does *not* control whether the element carries attributes or not.

As a consequence, if a reference schema uses attributes, e.g.

<my:myRefElement sml:ref="true" my:reference="location" xsi:nil="true"/>

then the xsi:nil based approach to determine whether a reference is nil is not
reliable. We need to decide whether we want to support attribute based schemes.
If we do, we can't rely on xsi:nil for nil references.
whether we should require reference pointers be children.
Received on Thursday, 21 June 2007 15:59:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:03 UTC