Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Msxml validation error messages

From: Alexis Nikichine <alexis.nikichine@----------.-->
To: 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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent