- From: Perry A. Caro <caro@Adobe.COM>
- Date: Fri, 28 Jul 2000 11:41:13 -0700
- To: RDF-list <www-rdf-interest@w3.org>
Gerard Maas wrote: > > I have seen '/' as well. If I'm not mistaken, the rdf-api assumes either > > a "#" or a "/" separating the namespace from the local name. Ouch. What about the class of schema URIs that use ":" as a separator? URNs, for example? For any RDF processor that uses concatanation for expanded names, I would recommend the following best practice: When an expanded name needs to be decomposed into its namespace and local parts, take the URI and do a reverse scan, character by character, from the end of the string, until a character is found that is not legal as an XML name, OR until a colon ":" is found. The last clause is necessary because ":" is legal in XML names. This practice broadens the field of well-formed RDF that processors will accept. Why rule out "+" or "?" or "="? It would also be nice if the RDF Schema spec made a VERY STRONG recommendation that namespace URIs for RDF end in either "#" or "/". That, with the addition of ":", is what our internal namespace guidelines recommend. Perry
Received on Friday, 28 July 2000 14:39:53 UTC