gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz] PEG urn5s_as_properties--benja


From: Benja Fallenstein
Subject: [Gzz] PEG urn5s_as_properties--benja
Date: Fri, 25 Apr 2003 11:31:06 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030327 Debian/1.3-4

==============================
``urn5s_as_properties--benja``
==============================

:Author:   Benja Fallenstein
:Last-Modified: $Date: 2003/04/09 20:02:32 $
:Revision: $Revision: 1.4 $
:Status:   Current

In the RDF/XML serialization of RDF, all properties are
turned into XML tags by separating them into an XML
namespace and a local part. For example,
``http://example.org/foo`` could become::

    <ex:foo xmlns:ex="http://example.org/"/>

When properties cannot be split like this, RDF graphs
using these properties cannot be serialized in RDF/XML.
Unfortunately, this apparently includes urn-5s:
The colon can't occur in an XML tag in a namespace,
and a tag's name cannot start with a digit.

Even if we decide not to use RDF/XML, it would still
be *very* bad for interoperability if our graphs couldn't
be converted to RDF/XML. And we do want user-created
nodes to be usable as properties.

Therefore, add an additional underscore
before the index in urn-5s, like this::

    urn:urn-5:cf7O9Un3XBIVdh3rYqH0us169zo-:_12

Then we can serialize these as properties::

    <ex:_12 xmlns:ex="urn:urn-5:cf7O9Un3XBIVdh3rYqH0us169zo-:"/>

The urn-5 registration allows for this.

\- Benja





reply via email to

[Prev in Thread] Current Thread [Next in Thread]