Re: XML escaping problem (>= doesn't become >=)

Dean Ellis <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
On 09:57 Tue 06 Jan     , Thiago Conde Figueir? wrote:
>       I found a little glitch on mysql's XML output.  It turns out
> that the  exit is not properly escaped for some ">=" clauses.  Here
> is an example:
>                     MID(E.userCellphone, 3, 2) <= CAC.endNumber and
>                     MID(E.userCellphone, 3, 2) >= CAC.startNumber
>
>              MID(E.userCellphone, 3, 2) &lt;= CAC.endNumber and
>              MID(E.userCellphone, 3, 2) >= CAC.startNumber

As I read the XML specification, only "<" must be escaped within
attribute values.

Also, I have parsed our XML output with several validators and it only
identifies a literal, unescaped "<" as an error.  It handles a 
literal, unescaped ">" without issue.

If you like, we can handle this as a feature request, but at least so
far as my reading of the specification and my XML processors are 
concerned, it does not seem to be a bug.

Best regards,
--
Dean Ellis, Support Engineer & Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.