Freek Dijkstra wrote:
> Roland Hedberg wrote:
> 
>> A typical property uri in this ontology will look like this:
>>
>> http://www.ldap.com/1/schema/ldapv3.owl#0.9.2342.19200300
> 
> I just remembered.
> 
> This is a valid "URI reference" (that's what it is), however, you are
> not allowed to use it in a schema, since if you use XML namespaces,
> you'll get something like this:
> 
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>          xmlns:eg="http://example.org/";
>          xmlns:ldap="http://www.ldap.com/1/schema/ldapv3.owl";
> 
> <rdf:Resource rdf:about="#foo">
>    <ldap:0.9.2342.19200300 rdf:resource="#bar" />
> </rdf:Resource>
> 
> </rdf:RDF>
> 
> Now, the "ldap:0.9.2342.19200300" part is NOT allowed in XML. Therefor,
> while the URI reference is valid, you still can't use #0.9.2342.19200300
> as the fragement/identifier in a RDF schema (or XML schema for that matter).

Thanks Freek,

Really good catch ! Not that obvious what was going on here.

-- Roland
_______________________________________________
Dev mailing list
Dev@rdflib.net
http://rdflib.net/mailman/listinfo/dev

Reply via email to