Form posted from Microsoft Internet Explorer.

report=Why is it that I am getting a number of Errors of the type: Error:
{W130} Base URI is "", relative URIs left as relative.[Line = 9, Column =
31] where i have declared for example: <daml:DatatypeProperty
rdf:ID="targetMethod">
157:     <rdfs:domain rdf:resource="#TargetObject"/>
158:     <rdfs:range
rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
159:   </daml:DatatypeProperty>

Am I doing something wrong or else its the validator?

RDF=<?xml version="1.0">
<?xml version="1.0"?>
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:daml="http://www.daml.org/2001/03/daml+oil.daml"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd"
	xmlns="http://cicho0.tripod.com/DAML2Java.daml">

  <daml:Ontology rdf:about="">
	<daml:versionInfo>$daml2javaproc.daml  v1.0 18/04/02$</daml:versionInfo>
	<daml:imports rdf:resource="http://www.daml.org/2001/03/daml+oil"/>
	<rdfs:comment>An ontology that describes the mapping of DAML written
process combination and execution into java objects </rdfs:comment>
  </daml:Ontology>

  <daml:Class rdf:ID="Process">
    <rdfs:comment>Describes an agents process in terms of java classes,
methods and input/output parameters</rdfs:comment>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:ObjectProperty rdf:ID="processElements">
    <rdfs:domain rdf:resource="#Process"/>
    <rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List" />
  </daml:ObjectProperty >

  <daml:ObjectProperty rdf:ID="execute">
    <rdfs:domain rdf:resource="#Process"/>
    <rdfs:range rdf:resource="#Process" />
  </daml:ObjectProperty >

  <daml:Class rdf:ID="JClass">
    <rdfs:comment>An Object describes a real life java object such as a
class </rdfs:comment>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:DatatypeProperty rdf:ID="className">
    <rdfs:domain rdf:resource="#JClass"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:DatatypeProperty rdf:ID="priority">
    <rdfs:domain rdf:resource="#Process"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:ObjectProperty  rdf:ID="constructorInputs">
    <rdfs:domain rdf:resource="#JClass"/>
    <rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List" />
  </daml:ObjectProperty >

  <daml:Class rdf:ID="Variable">
    <rdfs:comment>describes mapping to a global variable</rdfs:comment>
    <rdfs:subClassOf rdf:resource="#Parameter"/>
  </daml:Class>

  <daml:uniqueProperty rdf:ID="varName">
    <rdfs:domain rdf:resource="#Variable"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:uniqueProperty>

  <daml:DatatypeProperty rdf:ID="varType">
    <rdfs:domain rdf:resource="#Variable"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:Class rdf:ID="Method">
    <rdfs:comment>describes mapping to java methods</rdfs:comment>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:DatatypeProperty rdf:ID="methodName">
    <rdfs:domain rdf:resource="#Method"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:DatatypeProperty rdf:ID="parentClass">
    <rdfs:domain rdf:resource="#Method"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:Class rdf:ID="Parameter">
    <rdfs:comment>describes input and output parameters</rdfs:comment>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:ObjectProperty  rdf:ID="methodParameters">
    <rdfs:domain rdf:resource="#Method"/>
    <!-- rdfs:range rdf:resource="#Paramter"/-->
    <rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List" />
  </daml:ObjectProperty >

  <daml:DatatypeProperty rdf:ID="inORout">
    <rdfs:domain rdf:resource="#Parameter"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:DatatypeProperty rdf:ID="type">
    <rdfs:domain rdf:resource="#Parameter"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <!--daml:DatatypeProperty rdf:ID="output">
    <rdfs:domain rdf:resource="#Parameter"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty-->

  <daml:Class rdf:ID="Map">
    <rdfs:label>Map</rdfs:label>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <rdf:Property rdf:ID="mapToSource">
    <rdfs:domain rdf:resource="#Map"/>
    <!-- rdfs:range rdf:resource="#SourceObject"/-->
  </rdf:Property>

  <rdf:Property rdf:ID="mapToTarget">
    <rdfs:domain rdf:resource="#Map"/>
    <!--rdfs:range rdf:resource="#TargetObject"/-->
  </rdf:Property>

  <daml:Class rdf:ID="SourceObject">
    <rdfs:label>Source</rdfs:label>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:Class rdf:ID="TargetObject">
    <rdfs:label>Target</rdfs:label>
    <rdfs:subClassOf
rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
  </daml:Class>

  <daml:ObjectProperty  rdf:ID="sourceParameter">
    <rdfs:domain rdf:resource="#SourceObject"/>
    <rdfs:range rdf:resource="#Parameter"/>
  </daml:ObjectProperty >

  <daml:DatatypeProperty rdf:ID="sourceClass">
    <rdfs:domain rdf:resource="#SourceObject"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:DatatypeProperty rdf:ID="sourceMethod">
    <rdfs:domain rdf:resource="#SourceObject"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:ObjectProperty  rdf:ID="targetParameter">
    <rdfs:domain rdf:resource="#TargetObject"/>
    <rdfs:range rdf:resource="#Parameter"/>
  </daml:ObjectProperty >

  <daml:DatatypeProperty rdf:ID="targetClass">
    <rdfs:domain rdf:resource="#TargetObject"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:DatatypeProperty rdf:ID="targetMethod">
    <rdfs:domain rdf:resource="#TargetObject"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema.xsd#string"/>
  </daml:DatatypeProperty>

  <daml:Class rdf:about="#Map">
    <rdfs:subClassOf>
     <daml:Restriction>
        <daml:onProperty rdf:resource="#mapToSource"/>
	<daml:toClass rdf:resource="#SourceObject"/>
     </daml:Restriction>
    </rdfs:subClassOf>
  </daml:Class>

  <daml:Class rdf:about="#Map">
    <rdfs:subClassOf>
     <daml:Restriction>
        <daml:onProperty rdf:resource="#mapToTarget"/>
	<daml:toClass rdf:resource="#TargetObject"/>
     </daml:Restriction>
    </rdfs:subClassOf>
  </daml:Class>

</rdf:RDF>







All email is scanned by Keyworld against known Viruses. This service is offered to all Keyworld subscribers and hosted domains and does not carry any warranty. You are advised to protect your PC with updated antivirus software at all times.

Received on Saturday, 23 August 2003 10:02:02 UTC