On Thu, Oct 22, 2009 at 1:16 PM, Steve Ratcliffe <steve@parabola.me.uk> wrote:
On 22/10/09 10:27, Chris Miller wrote:No, the '>' is a valid character inside the attribute value. Only '&',
> Yep that sounds like a bug all right. I haven't looked at the code yet but
> it's interesting that< is OK but> isn't... Thanks for the report,
> I've put it on my todo list.
'<' and the enclosing quote character need to be escaped.
&
" and "
<
"
respectively. The right angle bracket (>) may be represented using the string "
>
",
and MUST, for compatibility, be escaped
using either "
>
" or a character reference when it
appears in the string "
]]>
" in content, when
that string is not marking the end of a CDATA
section.It would break mkgmap if it was invalid.
..Steve
> IK> <tag k='name' v='Zakynthos<> Kyllini'/>
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev