[Project_owners] in a RDF datasource file?
vogt at spamcop.net
Thu Apr 20 20:24:01 EDT 2006
I want to save some data in a rdf datasource that is written to a local
file. Everything seems to work fine except for one little problem: one
literal contains HTML code. It appears correctly encoded in the file, e.g.:
<p>sample text more text</p>
... NS1:html="<p>sample text&nbsp;more text</p>" ...
However, when I retrieve the literal from the datasource like this:
var target = gMojiDS.GetTarget(resource,
RDFService.GetResource(MOJI_NS + 'html'), true);
html = target.Value;
My sample text from above looks like this:
<p>sample text?more text</p>
i.e. there is a "?" where should be " ". I haven't tested all
entities but át least ">" works fine...
Do I miss something or is this a bug?
More information about the Project_owners