On 3/9/10 4:06 PM, "Scott Cantor" <[email protected]> wrote:

>> I have a local .xsd file on my machine and wish to test several .xml files
>> to see if they adhere to the specs of the .xsd file.  I cannot see how to
>> make any of the sample apps do this.
> 
> They aren't really geared for that, but most of them have an option to
> control validation options in the course of doing whatever they explicitly
> set out to do (e.g. count nodes).
> 
> Using a library to do validation isn't really a good use of your time if
> your goal is to actually validate XML files, vs. writing code to do that
> inside your own applications.
> 
> -- Scott
> 

Hi

Thanks for the input.

I tried to turn on the functionality in the sample apps to control
validation as you mentioned but could not find an argument to specify my
.xsd file?  Only whether or not to do schema validation.  How do I plug my
file into the validator, and where would I look for the errors?

I am trying to write an XML validator that I can hand out to other people,
so I cannot write the code to do it in the actual app that creates the XML.

thanks
tim



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to