[Project_owners] Re:   in a RDF datasource file?

Axel Hecht axel at pike.org
Thu Apr 20 17:11:50 EDT 2006

Gerald Vogt wrote:
> Neil wrote:
>> Gerald Vogt wrote:
>>> <p>sample text?more text</p>
>>> i.e. there is a "?" where should be "&nbsp;". I haven't tested all 
>>> entities but át least "&gt;" works fine...
>> Might be because &nbsp; is an XHTML entity, not an XML entity?
> Sorry, but I do not quite understand this. The HTML code is correctly 
> encoded in the rdf file as &amp;nbsp;. If Firefox reads the text is 
> should decode it to &nbsp; and leave it with that as it is a string 
> literal.

Read the XML and HTML specs then. nbsp is part of html not xml, and it's 
not part of RDF either.

Use the numeric entity for nbsp instead.


More information about the Project_owners mailing list