Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return error info as xml?
Message
De
15/08/2001 15:35:27
 
 
À
15/08/2001 15:27:05
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00544196
Message ID:
00544289
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>>But you are right, the client app needs to be expecting it, otherwise the user would just go Huh?
>
>And it would be pretty unfair to assume the client can and wants to parse XML. Like I said, trap errors you expect, and return failures in XML, but if an unexpected error occurs (bug, syntax error, ect.) go with the standard stuff.

Well, you can safely assume nowadays that any client can parse XML, it is up to the UI programmer to put the logic for parsing before showing the end user any error message.

Though I see your point that an exception of that kind wouldn't necessarily require special processing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform