flickr.interestingness.getList (and other services,
presumably) may
return illegal characters in the xml. namely, the xml
attribute title
has a value that includes 10 decimal, aka LineFeed (see
below for an
example).
I can't quite parse the authorities on what characters are,
strictly
speaking, illegal in the xml spec.
see: http://www.
w3.org/TR/REC-xml/#NT-AttValue
defines it as [^<&"] ie. everything except
double-quotes, ampersands
and less-than this would appear to suggest that linefeeds
are legal in
attribute values.
Is this a bug or not?
thanks,
charles.
<?xml version="1.0"
encoding="utf-8" ?>
<rsp stat="ok">
<photos page="4" pages="5"
perpage="100" total="500">
...
<photo id="59428950"
owner="44615781 N00" secret="64fec589fb"
server="33" title="لو وصÙ?ت
Ø§Ù„ØØ²Ù† Ù?ينا.. Ø(r)ايÙ?
Ø§ØªØµÙŠØ Ø§Ù„Ø¹ÙŠÙˆÙ†..Ø(r)لو دمع العين
Ù?يها.. دام
Ù?يها ما نشÙ?.." ispublic="1"
isfriend="0" isfamily="0"
license="0" />
------------------------ Yahoo! Groups Sponsor
--------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/IHFolB/TM
------------------------------------------------------------
--------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://grou
ps.yahoo.com/group/yws-flickr/
<*> To unsubscribe from this group, send an email to:
yws-flickr-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|