Re: Cwm and URIs

Jeremy Lebrett wrote:

> Yossi,
>
> I don’t know if you are the right person to be mailing - apologies if
> you’re not.
>
>
The public-cwm-bugs@w3.org (or public-cwm-talk@w3.org) would be the
right place.

The short answer is that cwm is afraid the colon in runs into is the
first one, denoting the URI scheme, and simply leaving that as the
namespace is not legal. Therefore, it leaves one more character after a
colon. It would not take much effort to change that. However, what it is
doing is legal.

As for the double definition of the namespace, cwm left in the already
defined namespace from the n3 file, then figured out that it was the
most commonly used prefix so it made it the default. Thus, both
declarations remained.


Yosi

> <!-- Processed by Id: cwm.py,v 1.183 2006/01/13 14:48:54 syosi Exp -->
> <!-- using base file:/H-Drive/RDF/cwm/cwm-1.1.0rc2/swap/n3-2.n3
> <file:/H-Drive/RDF/cwm/cwm-1.1.0rc2/swap/n3-2.n3> -->
> <rdf:RDF xmlns=" * urn:iptc:std:newsml:2.0:xmlns:i * "
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>
> <rdf:Description
> rdf:about="urn:newsml:afp.com:20010101:AFP_TX_WASH_20051206_015921_NLV79">
>
> < * temCreated * >2005-12-06T01:59:21Z</temCreated>
> </rdf:Description>
> </rdf:RDF>
>
> So, obviously, my question is "Is this a bug in Cwm that the first
> character of the element name gets stuck onto the end of namespace uri?"
>
> Also, by the way, why does the first example have an default namespace
> declaration?
>
> Many thanks,
> Kol tuv,
> Jeremy.
>

Received on Tuesday, 24 January 2006 16:16:40 UTC