Fabio,
Interesting... I'll have to look into that and see what's going on. I'll let you know what I find out.
>Hi Travis,
>
>Exactly! Try to hack the schema or even the document generated by CURSORTOXML() and after that try to generate a new cursor from that XML/XML Schema. According to my tests the cursor is generated anyway. I am not saying this is a bad thing, but I am wondering how far this function uses MSXML parser to validate the document against the schema. Add here the fact that XMLTOCURSOR() is based on MSXML 3.0 which doesn't support XSD schema validation. This feature was incorporated only in MSXML 4.0. So, how is this schema validated in VFP? By the way, XMLTOCURSOR() seems to obey the
data types specified by the schema...
Travis Vandersypen