Hi, I'm looking for some simple XML/HTML escape functions amongst Virtuoso's built-in functions, but I can't find anything other than http_value (http_url etc.) which are awkward to use for a string result (via string_output_string).
Ideally I was expecting to find something similar to the PHP urlencode and htmlspecialchars functions that simply return the escaped string. Am I just missing something? I basically just wanted this to fix /rdfdesc/description.vsp to produce valid XHTML but it uses sprintf substitutions where some variables need to be escaped first (_url, _label in rdfdesc_http_print_r). I noticed some other syntax breakage in there also (closing " on iframe height attribute, missing alt on img tags.. use of iframe itself even) so I was intending to make a patch. Thanks, -Will ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
