*!* The problem occurs when xmltocursor() function convert a numeric value:
*!* - if the value is 0, the incorrect result is .F.
*!* - if the value is 1, the incorrect result is .T.
*!* Is this a bug?
*!* Thanks,
*!* Marcio Goncalves
*!* Niteroi-Rio de Janeiro-Brasil
create table SAMPLE (name c(10), age i)
insert into SAMPLE (name, age) values ("Marcio", 1)
insert into SAMPLE (name, age) values ("Ghandi", 2)
select * from SAMPLE where name = "Ghandi" into cursor curSAMPLE
cursortoxml("curSAMPLE", "lcXML")
xmltocursor(lcXML, "curSAMPLE_CORRECT")
browse
select *, "See the age!" as Bug from SAMPLE where name = "Marcio" into cursor curSAMPLE2
cursortoxml("curSAMPLE2", "lcXML2")
xmltocursor(lcXML2, "curSAMPLE2_BUG")
browse