W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > November 2008

Invalid namespace URI

From: Peter Mika <pmika@yahoo-inc.com>
Date: Thu, 06 Nov 2008 16:09:46 +0100
Message-ID: <491308BA.3070007@yahoo-inc.com>
To: public-rdf-in-xhtml-tf@w3.org

Hi All,

We have found another corner case while looking at all the wonderful 
RDFa on the Web:

The page at [1] contains:

work by <a

which is probably not intended (the page is broken in some sense). When run through either the XSLT or the Distiller this

      <cc:attributionName xmlns:cc="http://creativecommons.org/ns #">New Jersey State Auto

which is normalized [1] as 

xmlns:cc="http://creativecommons.org/ns&#x20 <http://creativecommons.org/ns&#x20>;#">

It seems to me that what you get is XML well-formed but not namespace-well-formed [2] because the attribute value is not a valid URI.

Not sure really what to do about this but the output is not very 
useful... should the tools raise some warning?


[1] http://www.w3.org/TR/REC-xml/#AVNormalize
[2] http://www.w3.org/TR/REC-xml-names/#Conformance

[1] http://www.njstateauto.com/preowned/index.cfm?make=Mercedes-Benz
Received on Thursday, 6 November 2008 15:11:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:29 UTC