HI Will,

> 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.

I am already working on a fix for that too specifically for dealing with 
international characters,
but i also saw the problems your reported with some tags when using the w3c 
validator.

Patch should be forthcoming on monday.

Patrick
--
OpenLink Software

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
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
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to