![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Msxml validation error messages [Thread Next] Re: Msxml validation error messagesTo: NULL Date: 6/6/2006 1:16:00 PM Thomas Malia wrote: > the err object returned by the MSXML has a Reason property that gives a text > explaination of the error. The object also has other useful properties that > may or may not be populated with useful information depending on what was > actually validated. For example, errors generated while loading an XML file > will have Line property that tells you which line in the text file the error > occured on. I knew all this. My purpose was to have a list of all possible messages, in order to improve their wording, in order to improve the usability of my software. > Also, you can get the "XPath" of the error if it's a schema > validation error (as apposed to a mal-formed XML) an that would give you the > exact location on the DOM that had the problem. I've stumbled on this on. This is an MSXML6 new feature, isn't it ? > You might also want to investigate the use of: > xmlDocuments.setProperty "MultipleErrorMessages", True That I had never heard of: how long until MsXML6 SDK ? Thanks for the advice, Alexis -- Some domain is free | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
