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

Re: Invalid namespace URI

From: Ivan Herman <ivan@w3.org>
Date: Thu, 13 Nov 2008 10:12:42 +0100
Message-ID: <491BEF8A.4000603@w3.org>
To: Peter Mika <pmika@yahoo-inc.com>
CC: public-rdf-in-xhtml-tf@w3.org
Hi Peter,

thanks for the note. I will have a look into it but yes, the tool should
probably warn...

Ivan

Peter Mika wrote:
> 
> Hi All,
> 
> We have found another corner case while looking at all the wonderful
> RDFa on the Web:
> 
> The page at [1] contains:
> 
> 
> This
> work by <a
> xmlns:cc="http://creativecommons.org/ns
> #
> "
> 
> which is probably not intended (the page is broken in some sense). When
> run through either the XSLT or the Distiller this
> becomes:
> 
>      <cc:attributionName xmlns:cc="http://creativecommons.org/ns #">New
> Jersey State Auto
> Auction</cc:attributionName>
> 
> 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?
> 
> Thanks,
> Peter
> 
> [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
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf


Received on Thursday, 13 November 2008 09:13:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 November 2008 09:13:20 GMT