Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML Parse error
Message
 
 
À
05/09/2003 13:22:44
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
00826504
Message ID:
00826530
Vues:
24
Th XMLTOCURSOR() function uses MSXML3 but I'm not sure if it's relevant.
Are you using CURSORTOXML() to convert to XML? If you do, try to generate inline schema in CursorToXML().

>I use the VFP function XMLTOCURSOR( myXMLString, MycAlias )
>
>>What do you use to convert XML to cursor?
>>
>>>I get the following error notice when an application tries to parse an XML string.
>>>
>>>XML Parse error: Field width or number of decimal places is invalid. The dialog box then goes on with the xml string.
>>>
>>>It successfully parses the string(s) despite the error. I've upgraded the machine to MSXML4 with SP2. I'm running VFP70 with SP1. The sequence of events is this:
>>>
>>>A dll sends a query to SQL server.
>>>SQL sends the result set to the DLL.
>>>The DLL recieves the data set as a cursor. It then converts the cursor into an XML string and saves it as a property on the DLL.
>>>The string is then read from the DLL by the application and converted into a cursor.
>>>
>>>This happens constantly throughout the application. But in this one instance, I get the error.
>>>
>>>Ideas anyone?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform