Re: XML Entities in assertions

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Benjamin D. Smedberg wrote:

> Neil Stansbury wrote:
>
>> I just wondered if anyone could clarify how best to handle the following:
>>
>> <rdf:li rdf:resource="http://host.domain.com/b&b/page.php?ab=1&cd=2"/>
>>
>> There are two entities in that URI one that must be escaped and one 
>> that mustn't, and they both have to be escaped when in an RDF statement.
>
> I don't understand. Both ampersands should be escaped, because they 
> are in XML:
>
> http://host.domain.com/b&amp;b/page.php?ab=1&amp;cd=2

Maybe that should be http://host.domain.com/b%26b/page.php?ab=1&amp;cd=2

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.