Thanks Ali. I really like the facet
concept, both as an organizing principle and as a means of capturing and
retaining separate concerns. I hope it makes it into CML.
Are any other conventions going to go into
CML (that you can talk about)? For instance, XMLSchema
and SML give a model designer the ability to denote identity requirements –
would it be possible to standardize on some additional annotations to decorate
models to distinguish between descriptive attributes and time-sensitive
attributes (for example)?
Cheers,
Joel
-----Original Message-----
From:
cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of Ali Mehregani
Sent: Thursday, May 22, 2008 9:37
PM
To: cosmos-dev@xxxxxxxxxxx
Subject: Re: [cosmos-dev] Status
of Datacenter SML example
Hi Joel,
The
concept of facets is purely COSMOS. There is a possibility for a similar
concept to be incorporated in Common Model Language (CML) but no such thing
exists in SML.
Thanks,
Ali Mehregani
Phone Number: (905) 413-3712
Service Modeling Language - COSMOS
http://www.eclipse.org/cosmos/
Joel,
To get some examples for all the various SML syntactical elements, you should
check out our test suite. Go to testing/org.eclipse.cosmos.rm.validation.tests
and look in the test resources folder.
I'll have to look into your facet question and get back to you. Valentina
and Harm created the data center example, and to be honest, I never understood
the purpose of the facet elements we have in there.
David
---
David Whiteman | Tivoli Autonomic Computing
Eclipse COSMOS project committer | http://www.eclipse.org/cosmos/
david_whiteman@xxxxxxxxxx |
919-254-8224 | T/L 444-8224
Hi David,
Thanks for the reply. I'm
working on an internal project (that has taken me away from COSMOS and appears to
be bringing me back) that involves ontology extraction from things like SML
models – so I figured hey, why not start with our COSMOS example?
A couple of other things
I noticed in there – we're not making use of any of the identity
capabilities in the SML schema (or from XSD, for that matter). Any reason for
that? Can I get a xsd:unique up in here? ;-)
Also, is the facet
concept purely a COSMOS thing? I was under the impression that it was part of
the SML effort, but I don't see it anywhere in the spec. The concept seemed to
align well with WSDM's capability model, and fits well the whole separation of
concerns thing, but it appears to be a best-practices recommendation. Is that
the case?
Thanks,
Joel
-----Original Message-----
From: cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of David Whiteman
Sent: Thursday, May 22, 2008 4:17 PM
To: Cosmos Dev
Subject: Re: [cosmos-dev] Status of Datacenter SML example
Hi Joel,
Yes, they are supposed to validate. The project itself should contain
correct SML code, and should be up to date for the 1.1 level of the SML spec. That
said, it appears our validator has some problems currently with that sample. We
have an open defect targeted for i11 that will hopefully address some or all of
these issues:
http://bugs.eclipse.org/228223
Add yourself to the cc: list if you want to keep informed on progress.
Might I ask what you're looking at SML for? I didn't know you had an
interest in it.
Regards,
David
---
David Whiteman | Tivoli Autonomic Computing
Eclipse COSMOS project committer | http://www.eclipse.org/cosmos/
david_whiteman@xxxxxxxxxx |
919-254-8224 | T/L 444-8224
Howdy y'all.
Can someone tell me what the status of the
org.eclipse.cosmos.rm.example.datacenter project is? I'm (finally) trying to
get back into COSMOS, and I need some sample SML documents to play with. When I
run the datacenter documents through the Resource Modeling validator I get a
number of errors (occasional missing type constraints, doesn't like xml:lang,
can't find it:facetType(!)). Should these documents validate?
Thanks,
Joel
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose it
to anyone else. If you received it in error please notify us immediately and
then destroy it.
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev
--
Ali Mehregani
COSMOS Project
http://www.eclipse.org/cosmos/