Microsoft KB Archive/318990

= FIX: Reserved Word &quot;IsDataSet&quot; in CURSORTOXML Schema Is Misspelled =

Article ID: 318990

Article Last Modified on 4/10/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 7.0 Professional Edition

-



This article was previously published under Q318990



SYMPTOMS
When you use the cSchemaName parameter of the CURSORTOXML function to convert a Visual FoxPro cursor into XML text and build a schema, the reserved word &quot;IsDataSet&quot; in the schema is misspelled as &quot;lsDataSet&quot;. The first letter of the reserved word is a lower case letter &quot;L&quot; instead of an upper case letter &quot;I&quot;.



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual FoxPro for Windows 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

316964 How to Obtain the Latest Visual FoxPro for Windows 7.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in Microsoft Visual FoxPro for Windows 7.0.

This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.



Steps to Reproduce Behavior
Paste the following code in a program (.prg) file, and then run the program from the Command window: CREATE CURSOR xml_test ( fld1 C(25)) INSERT INTO xml_test VALUES(&quot;IsDataSet is misspelled.&quot;) CURSORTOXML(&quot;xml_test&quot;, &quot;xml_var&quot;, 1, 0, 0, &quot;1&quot;) STRTOFILE(xml_var, &quot;isdataset.xsd&quot;) MODIFY FILE isdataset.xsd NOWAIT KEYBOARD '{CTRL+F10}' After the text file isdataset.xsd opens, note that the reserved word &quot;IsDataSet&quot; is misspelled &quot;lsDataSet&quot; in the fifth line of the file.

Keywords: kbbug kbfix kbvfp700sp1fix kbcodesnippet kbctrl KB318990

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.