[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Validate **against** a schema OR validate **with** a schem
- From: nico <ndebeiss@g...>
- To: "Costello, Roger L." <costello@m...>
- Date: Thu, 22 Jan 2009 13:41:31 +0100
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.
2009/1/22 Costello, Roger L. <costello@m...>
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?
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...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please