OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Validate **against** a schema OR validate **with** a schema?

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@mitre.org>

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?


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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS