> 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?
Badly, and on the console. Locating schemas is a mess, but in general when validating files with precompiled tools you have to use xsi:schemaLocation hints either in the document or as a command line option (when supported, I don't recall if the sample apps support that). Real applications need to prevent schema hijacking and generally have to provide schema mapping functionality inside themselves. XML Catalogs are also a standard for this, and not one Xerces-C supports. > 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. I didn't mean that, I just meant if you weren't writing your own code, you'd have more luck with tools designed for validation. -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
