Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Validate **against** a schema OR validate **with** a schema? [Thread Next] Re: [xml-dev] Validate **against** a schema OR validate **with** a schema?To: "Costello, Roger L." <costello@-----.---> Date: 1/22/2009 12:42:00 PM Sorry for seeing the glass half empty, but I would say validate the XML instance document against the schema. From a developer point of view, I fully understand the purpose of checking the input and have an understandable error message if input is not valid, but when I want to make tests files in order to be able to execute my code, it is always painful to have to enter all the fake data in order to pass that validation step :-). I think any XML designer should allow a "test mode" in its schemas in order not to have to fill all the XML data before being able to execute the code we want to test. It is a kind of checking a XML and let him pass if it is correct, so I think the proper statement is "against the schema", like a protection wall. Regards Nico http://debeissat.nicolas.free.fr/ 2009/1/22 Costello, Roger L. <costello@m...> Hi Folks, Consider these two statements: 1. I validated the XML instance document against the schema. 2. I validated the XML instance document with the schema. Which is the proper statement? Or are they both proper? Or is there some other way that is proper? /Roger _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@l... subscribe: xml-dev-subscribe@l... List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
