W3C home > Mailing lists > Public > www-mobile@w3.org > March 2001

Value subClassOf Set/Text/...: backwards, no?

From: Dan Connolly <connolly@w3.org>
Date: Thu, 22 Mar 2001 15:53:25 -0600
Message-ID: <3ABA7455.9A8B3F5E@w3.org>
To: www-mobile@w3.org
I took the cc/pp schema
  http://www.w3.org/2000/07/04-ccpp.rdf
and converted it to Notation3
  http://www.w3.org/DesignIssues/Notation3
since looking at things from a different
angle often uncovers things...

I see:

    <#Value>
         :subClassOf ccpp:Integer,
                ccpp:Rational,
                ccpp:Set,
                ccpp:Text,
                ccpp:URI.

This is backwards, no?

x subClassOf y means that every X is a Y, right?

So every ccpp:Value is a ccpp:Rational
and a ccpp:Set and a ccpp:Text at the same time?

I think you mean the subClassOf relationships
to be the other way around; otherwise, I think
there are no ccpp values, since Text and Set
are disjoint (aren't they?).

Also, for Integer, URI, etc. please
use the names from XML Schema datatypes part 2
rather than making up new class names:

  http://www.w3.org/2001/XMLSchema#int
  http://www.w3.org/2001/XMLSchema#anyURI
  ..

(see appendix A
http://www.w3.org/TR/2001/PR-xmlschema-2-20010316/#schema)



p.s. here's the draft I'm looking at:

Composite Capability/Preference Profiles
        (CC/PP): Structure and Vocabularies

        W3C Working Draft 15 March 2001

        This version: 
             http://www.w3.org/TR/2001/WD-CCPP-struct-vocab-20010315/
        Latest version: 
             http://www.w3.org/TR/CCPP-struct-vocab/ 

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 22 March 2001 16:53:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:02 UTC