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&b/page.php?ab=1&cd=2 Maybe that should be http://host.domain.com/b%26b/page.php?ab=1&cd=2 -- Warning: May contain traces of nuts.