I'm trying to parse XML from various XML services of the monastery and got bitten by entities in attributes:
<info site="http://perlmonks.org/" sitename="PerlMonks" ticker_id="507 +310" gentimeGMT="2015-02-14 17:40:04" xmlstyle="clean" xmlmaker="XML: +:Fling 1.001" fetch_num="109" delta_since="2015-02-14 17:29:58&nb +sp;GMT" min_poll_seconds="600">Rendered by the Noderep XML Ticker</in +fo>
while entities in attributes seem to be allowed this format of delta_since="2015-02-14 17:29:58&nbsp;GMT" looks broken¹.
(compare also gentimeGMT="2015-02-14 17:40:04")
Could someone enlighten me if and why that's necessary?
Otherwise should it better be changed to delta_since="2015-02-14 17:29:58 GMT"?
Or are there date-time parsers requiring these entities?
¹) (or do I miss something in the XML specification?)
In reply to Date format in attributes of local XML API by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |