Dear Scott,

thanks for the hints, I made some adaptions in the snippet and now it
works.

On Feb 12, 4:44 pm, Scott Henninger <[email protected]>
wrote:
> Ah, the dangers of working with source code - particularly XML!  It
> seems that this snippet was created using a DTD with definitions for
> xsd and rdf.  Make the following substitutions:
>   &xsd; --> xsd:
>   &rdf; ==> rdf:
>
> ...and make sure the namespace abbreviations (prefix) for these are
> defined.  That will make the snippet valid.  (The alternative is to
> define the DTD entities, but the namespace prefix definitions are more
> common.)
>
> -- Scott
>
> On Feb 12, 8:45 am, damappi <[email protected]> wrote:
>
> > Dear all,
>
> > I want to define a datatype property with certainvalid literals, for
> > testing purposes I used a code snippet from the W3C OWL spec (chapter
> > 6.2 of the spec). I copied the following into my owl file:
>
> > <owl:DatatypeProperty rdf:ID="tennisGameScore">
> >   <rdfs:range>
> >     <owl:DataRange>
> >       <owl:oneOf>
> >         <rdf:List>
> >            <rdf:first rdf:datatype="&xsd;integer">0</rdf:first>
> >            <rdf:rest>
> >              <rdf:List>
> >                <rdf:first rdf:datatype="&xsd;integer">15</rdf:first>
> >                <rdf:rest>
> >                  <rdf:List>
> >                    <rdf:first rdf:datatype="&xsd;integer">30</
> > rdf:first>
> >                    <rdf:rest>
> >                      <rdf:List>
> >                        <rdf:first rdf:datatype="&xsd;integer">40</
> > rdf:first>
> >                        <rdf:rest rdf:resource="&rdf;nil" />
> >                      </rdf:List>
> >                    </rdf:rest>
> >                  </rdf:List>
> >               </rdf:rest>
> >             </rdf:List>
> >           </rdf:rest>
> >         </rdf:List>
> >       </owl:oneOf>
> >     </owl:DataRange>
> >   </rdfs:range>
> > </owl:DatatypeProperty>
>
> > This snippet does not work... Can anybody Help?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to