W3C home > Mailing lists > Public > www-ws@w3.org > June 2002

DAML Services Problem

From: Michael Grove <mhgrove@hotmail.com>
Date: Sun, 2 Jun 2002 12:06:54 -0400 (EDT)
To: www-ws@w3.org
Message-ID: <F166H5qRFapNuT1FM1J00006841@hotmail.com>




Hello.

I am working on a program and I was using the DAML Services ontologies to do 
some things with my program.  However, I was getting errors and I could not 
figure out why.  I then noticed that I wasn't getting the correct results 
because my program was throwing an error saying that an unrecognized class 
was being used.  I checked out the situation and what is happening is that 
when parsing the http://www.daml.org/services/daml-s/2001/10/Profile.daml 
file, one of the classes refers to a class (Service) in the 
http://www.daml.org/services/daml-s/2001/10/Service file. But in the service 
file, the file is named with the .daml extension so it thinks the two things 
are different because one has the .daml and the other doesnt.  So according 
to the profile file the name of service is:

http://www.daml.org/services/daml-s/2001/10/Service#Service

but the service file thinks the name of service is:

http://www.daml.org/services/daml-s/2001/10/Service.daml#Service

So the different names, and my program does not know that they are really 
the same thing.  I'm not sure how to reconcile that problem, but it would 
seem the simplest thing is to make the files say the same thing.  Ideas?  
Comments?

Thanks!

Michael Grove

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx
Received on Monday, 3 June 2002 05:30:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:40 GMT